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;
buildDirectory : the directory into which fetch scripts will be generated and into which features and plug-in projects will be checked out;
directory : the path to a directory file;
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;
fetchTag : optional, overrides the tag provided in directory file by the given value;
configInfo : optional, an ampersand separated list of configuration indicates the targeted configuration. The default is set to be platform independent;
install : deprecated, use buildDirectory instead;
scriptName : deprecated, the name is now always generated to be fetch_{elementId}.xml.
elements : the entry to be fetched from the repository. Entry is expected to be of the form type@id as specified in the directory file format;
buildDirectory : 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;
recursiveGeneration : optional, specified whether the script generation for contained features should be invoked. Default is set to true;
devEntries : optional, a comma separated list of directories to be given to the compile classpath;
buildingOSGi : optional, indicates if the pluginsflag indicating if the target is 3.0 or 2.1;
baseLocation : optional, indicates a folder which contains installed features and folders;
configInfo : optional, an ampersand separated list of configuration indicates the targeted configuration. The default is set to be platform independent;
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;
install : deprecated, use buildDirectory instead.
<eclipse.fetch elements="plugin@org.eclipse.core.boot" buildDirectory="c:\toBuild" directory="directory.txt" configInfo="win32,win32,x86 & linux, motif, x86" /> <eclipse.buildScript elements="plugin@org.eclipse.core.boot" buildDirectory="c:\toBuild"/>
Note that the parameters appearing after the application are the parameters that are passed to Ant.