Follow this procedure to import an Ant buildfile into Dimensions CM. After the buildfile is successfully imported, the Ant targets are added to the build configuration.
To import an Ant buildfile into a build configuration:
In Dimensions Build, select Build Management.
Create a new build configuration to receive the imported Ant buildfile.
In the content pane, in the Build Targets section, click Launch Import Wizard.
The Import Wizard appears. On the left side of the wizard there are links to four pages:
Select Import Type
Choose File
Parameters
Confirm
By default, the Select Import Type page is displayed.
On the Select Import Type page, select Ant build configuration (build.xml) file.
NOTE An Ant build configuration file need not be named build.xml, of course, but for the sake of convenience, the prompt uses the name build.xml.
Click Next. The Choose File wizard page appears.
On the Choose File page, in the Select Ant build configuration file field, do one of the following:
Type the full path to the Ant buildfile that you want to import.
Click Browse to navigate to the Ant buildfile that you want to import.
Click Next. The Parameters page appears.
The Parameters page displays the following information:
The name of each target found in the Ant buildfile.
The description given in the Ant buildfile. If no descriptions are entered in the buildfile, none will appear in the wizard page.
Select the targets that you want to import. Use the triple check mark to select all targets.
Click Next. The Confirm page appears.
On the Confirm page review the details of the targets that you are going to create.
NOTE If there are details you wish to edit, you will be able to do that from within Dimensions CM.
Click Finish. The dialog box displays a brief confirmation, and then the imported targets appear in the content pane.
Check in the build configuration to preserve the imported targets.