The tasks are usable within VAJ by running the org.apache.tools.ant.Main class, but this is quite inconvenient. Therefore a small GUI is provided which allows selecting a build file and executing its targets. This Plugin is accessible from the VAJ Tools menu (see Usage).
Installation
At the moment the installation has it's rough edges. If something described below doesn't work for You, it's probably not Your fault but incomplete/wrong instructions. In this case, please contact one of the authors.
We assume C:
IBMVJava as VAJ install
directory. If You have installed it elsewhere, adapt the paths below.
Plugin
Servlets for Remote Tool Access
servlet.vajload.code=org.apache.tools.ant.taskdefs.optional.ide.VAJLoadServlet servlet.vajexport.code=org.apache.tools.ant.taskdefs.optional.ide.VAJExportServlet servlet.vajimport.code=org.apache.tools.ant.taskdefs.optional.ide.VAJImportServletName
BuildException DirectoryScanner FileScanner Location
VAJUtil VAJExportServlet VAJImportServlet VAJLoadServlet VAJLocalUtil VAJProjectDescription VAJToolsServlet VAJWorkspaceScanner
Now you should be able to execute VAJ Tasks from the command line.
Usage
Plugin
When the tool is installed correctly and your Ant build file is configured, it is really easy to use.
Go to your Workbench, select the project you want to deploy and open its context menu. In the submenu Tools you should find the new entry Ant Build. Klick it to start the tool!
After a short time this frame should pop up:
This frame contains the following elements:
After you have set up your buildprocess you might find it useful to save the data you've just entered, so we implemented an option to save it to the repository into your selected project. Make sure that you have an open edition of your project before selecting Save BuildInfo To Repository from the File menu. Now your information is saved to this edition of your project and will be loaded automatically the next time you start Ant Build. If you have closed the log window accidentally, it can be reopened with the Log item in the File menu, and if you want to know who developed this, just select About in the Help menu.
Servlets for Remote Tool Access
With the servlets installed and the remote access running you can use Ant from the command line without any restrictions. Just make sure the remote attribute in your build file is set correctly.