Importing Ant Buildfiles into a Build Configuration

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:

1. In Dimensions Build, select Build Management.

2. Create a new build configuration to receive the imported Ant buildfile.

3. 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 the following pages:

- Select Import Type

- Choose File

- Parameters

- Confirm

By default, the Select Import Type page is displayed.

4. 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.

5. 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.

6. 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 are displayed in the wizard page.

7. Select the targets that you want to import. Use the triple check mark to select all targets.

8. Click Next. The Confirm page appears.

9. On the Confirm page review the details of the targets that you are going to create.

NOTE If there are details you need to edit, you can change them in Dimensions CM.

10. Click Finish. The dialog box displays a brief confirmation, and then the imported targets appear in the content pane.

11. Check in the build configuration to preserve the imported targets.