The RAS Ant examples are written as targets in the build.xml Ant
build files, in the Ant and AntPluginProject folders in the imported sample.
For more information about Ant support, see the Workbench overview
topics.
To run the RAS Ant examples:
- Click to open the Java™ perspective.
- Click to
open the Package Explorer view.
- In the Package Explorer view, expand the Ant folder,
right-click the build.xml file, and then click . The
External Tools window opens.
- In left pane, click Ant Build and
click New.
- On the Main page, select the Capture output check
box.
- Click the Targets tab and check the targets
to execute.
- Click the JRE tab.
- Click Run in the same JRE as the workspace.
- Click Run.
The Ant build file runs on the selected targets. The Console view
displays any applicable execution results as the build file runs. The targets
within the build file document the expected results.