This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Does the build.xml file have a target within that will jar up your project files? If so, assuming you've got Ant installed on your computer, go to the directory where the build.xml file is and type: ant [jartarget] Ant assumes that it's going against a build.xml file.
Joined: Dec 29, 2002
What could be causing the "out of environment space" and "bad file" messages?
You can certainly use ant to build a jar file ( I know from my experience ). There is probably something else going on with your system, what causes errors. Try to set a small project with one or two files and build jar using them. That will give you an idea on how to use ant to build a jar file.
Joined: Mar 09, 2001
When I was running Windows 98, I would receive "out of environment space" every time I tried to use Ant. My solution was to change operating systems.
Actually, in general, an "out of environment space" error usually results from an initial memory setting on the DOS box. For WinME, I changed the initial value from 'Auto' to 4096 this way: (1) Bring up a DOS box (2) Right click on the title bar (3) Select 'Properties' from the drop-down menu(4) Select the 'Memory' tab (5) On the drop-down list for the 'Initial Environment', change that value from 'Auto' to 4096 Now, ever time that you open up a DOS box, your initial memory setting will be 4096. That should take care of any 'Out of environment space' problems. Robert Troshynski