You can use the Ant build file examples to drive RAS functionality using Apache Ant.
Apache Ant is an open-source, Java-based build tool. The Eclipse support for Ant allows you to create and run Ant build files from the Workbench. The Ant build files can operate on resources in the file system as well as resources in the workspace.
For more information about the Ant build tool, see the Apache Ant Web site and the Workbench overview topics.