Parameters
Attribute | Description | Required |
---|---|---|
ProjectSetFileName | The fully qualified path to the Eclipse PSF file to be imported | Yes |
PropertyImportedProjectNames | Property to receive a String[] of the names of the projects which were imported | No, default is ImportedProjectNames |
AutoDeleteExistingProjects | Whether or not any existing project (with the same name) will be deleted (replaced) by a new project with the same name | No, default is true |
FailOnError | Whether on not the Ant build should fail if there is an import error | No, default is 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
<projectSetImport ProjectSetFileName="${myProjectSet.psf}" />
<projectSetImport ProjectSetFileName="${myProjectSet.psf}" USERID="${MyCvsUserid}" PASSWORD="${MyCvsPassword}" />
<projectSetImport ProjectSetFileName="${myProjectSet.psf}" AutoDeleteExistingProjects="false" FailOnError="true" />
<?xml version="1.0" encoding="UTF-8"?> <psf version="2.0"> <provider id="antimportProjectSet"> <project reference="1.0,antimportProjectSet,X:/MyPath/MyProjectDirectory1,MyProjectName1"/> <project reference="1.0,antimportProjectSet,X:/MyPath/MyProjectDirectory2,MyProjectName2"/> <project reference="1.0,antimportProjectSet,../MyWorkspaceProjectDir,MyProjectName3"/> <project reference="1.0,antimportProjectSet,../MyWorkspaceProjectDir,MyProjectName4"/> </provider> </psf>