First (so far only ) response from the Ant Mailing List
A quick note of clarification
Eclipse is an IDE (Integrated Development Environment) NOT a build environment
you will need to export your eclipse project tasks and targets to your ant build.xml
the CNFEs (Class Not Found Exception)s produced by missing eclipse-plugins will need to be replaced with production quality jars in your classpath assuming you created the main ant build.xml just follow the Eclipse instructions for adding tasks and ant types
Adding new Ant tasks and typesAdding new Ant tasks and types
Add new Ant tasks and types through the Ant preferences page. These tasks and
types will be available for buildfiles running in the Workbench without, having
to use taskdef or typedef in the script declaration (For more on taskdef or
typedef see the Ant documentation in http://ant.apache.org).
To add a new task or type:
Open the Ant >
Runtime preference page.
Click the Tasks tab or the Types tab.
Click Add Task or Add Type.
Provide a name and class for the task or type.
Select the library where the task or type is declared. If the library is not present on the list, you must add it to the Ant classpath (see the Related task link below).
Ant Support
Builds
External tools
Running external tools
Modifying the Ant classpath
Using a different version of Ant
once all of your build.xml tasks and targets are created you can compile, package, deploy ant targets from command line
ant -f NameofBuild.xml
Martin Gainty
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment