Jack Kennedy
Rank: Skyway Expert
Posts: 26
Join Date: 2/21/08
Recent Posts
|
RE: Need to use ant to produce build.xml, how?
1/21/09 2:01 PM
as a reply to Ginni Machamer.
Eclipse has a default capability to generate a basic ant build file for a project.
You should be able to right click on the project / export / general/ Ant Build Files.
This likely will not generate everything you need, but it should generate the basic build file.
The other handy thing to know is that you should be able to extend this generated build file by creating your own build file in the same directory and putting a magic "header" in your extended file.
Then re-run the export and the and builder will generate a build.xml that imports your build file.
This makes it so that you can consistently re-export the ant build file without overwriting your own additions.
The magic key at the top of the file is: <?eclipse.ant.import?>
So the top of your extended file should look like:
?eclipse.ant.import?> <project basedir="." default="build"> or similar.
Hope this helps.
JK
|
|
|