projectSetBuild
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) USERID If a CVS PSF is used, and if it contains the string USERID, then this value is substituted No PASSWORD If a CVS PSF is used, and if it contains the string PASSWORD, then this value is substituted No Examples
- Build using an Eclipse Project Set, and use the Ant task projectBuild to build each project:
<projectSetBuild ProjectSetFileName="{myProjectSet.psf}" />- Build using an Eclipse ProjectSet, but use a build.xml file within each project to do the project builds:
<projectSetBuild ProjectSetFileName="{myProjectSet.psf}" useBuildXML="true" BuildFileName="build.xml" BuildTarget="build" FailOnError="true" propertyBuiltProjectNames="BuiltProjectNames" /> <echo message="successful build of projects="${BuildProjectNames}" />
Parent topic
Working with Ant
Related tasks
captureBuildMessages
compileWorkspace
getJavacErrorCount
getProjectData
projectBuild
projectGetErrors
projectImport
projectSetImport
setDebugInfo
workspaceBuild
workspaceGetErrors
workspacePreferenceFile
workspacePreferenceGet
workspacePreferenceSet