This task builds a set of Eclipse projects using an existing Eclipse team Project Set File ("PSF"). The PSF must have been first created using an Eclipse team "Project Set Export" command, and then the task projectSetImport must have been used to import those projects into a workspace.
Parameters
Attribute | Description | Required |
---|---|---|
ProjectSetFileName | The fully quallified path to the Eclipse PSF file to be imported | Yes |
PropertyBuildProjectNames | Property to receive a String[] of the names of the projects which were built | No, default is BuiltProjectNames |
FailOnError | Whether on not the Ant build should fail if there is one or more build errors | No, default is true |
UseBuildXML | Whether or not to use a build.xml (instead of just calling buildProject for each project) | No, default is false |
BuildFileName | Name of an Ant build file | No, default is build.xml (only used if UseBuildXML=true) |
BuildTarget | Build target within an Ant build file | No, default is build (only used if UseBuildXML=true) |
Examples
<projectSetBuild ProjectSetFileName="${myProjectSet.psf}" />
<projectSetBuild ProjectSetFileName="${myProjectSet.psf}" useBuildXML="true" BuildFileName="build.xml" BuildTarget="build" FailOnError="true" propertyBuiltProjectNames="BuiltProjectNames" /> <echo message="successful build of projects="${BuildProjectNames}" />