Ant scripts are typically generated using the Plug-in Development Environment (PDE), but it is also possible to generate
them by hand or from other scripts.
Indeed PDE exposes Ant tasks to generate the various build scripts. Build script generation facilities
reside in the following tasks. Arguments are also listed for each task.
elements : a comma separated list of entries that will be fetched. Entries are expected to be of the form type@id as specified in the directory file format;
install : the directory into which features and plug-in projects will be checked out;
directory : the name of the directory file;
scriptname : the name of the generated script;
children : optional, specifies whether the script generation for contained plug-ins and fragments should be invoked. Default is set to true;
cvspassfile : optional, the name of a CVS password file.
elements : a comma separated list of entries that will be built. Entry are expected to be of the form type@id as specified in the directory file format;
install : the directory where the features and plug-ins to build are located;
children : optional, specifies whether the script generation for contained plug-ins and fragments should be invoked. Default is set to true;
devEntries : optional, a comma separated list of directories to be given to the compile classpath.
pluginPath : optional, a comma separated list of URLs pointing to installed plug-ins. If specified, this list must include the whole list of plug-ins to be compiled.
<eclipse.fetch elements="plugin@org.eclipse.core.boot" install="c:\toBuild" directory="directory.txt" scriptname="fetch.xml"/> <eclipse.buildScript elements="plugin@org.eclipse.core.boot" install="c:\toBuild"/>
Note that the parameters appearing after the application are the parameters that are passed to Ant.