Running Ant on Buildfile Targets (continued)
Running Ant from the Structure Window
From the Structure window, you can run Ant by using either the project configuration or a distinct buildfile configuration. The buildfile configuration is derived initially from the project configuration, and persists with the buildfile from session to session.
You can invoke a target from the Structure window in one of the following ways:
Run Ant using the project configuration.
1. Open an Ant buildfile or give focus to a buildfile that is already open. The Structure window displays the buildfile’s elements.
2. Right-click a target element, and choose Run Target <target>. Ant runs to make the target, and the log window displays the results.
Run Ant using a buildfile-specific configuration.
1. Open an Ant buildfile or give focus to a buildfile that is already open. The Structure window displays the buildfile’s elements.
2. Right-click in the editor window and select Run Ant Target > <target> or select Run Ant Target > Advanced to open the Run Ant Wizard where you can configure advanced options.
3. Ant runs to make (compile) the target, and the log window displays the results.