Running applications from ANT files

 

Before starting

Befor an application can be run from an ANT file, the application in question must have been compiled.  The Jar file must also have been built.

 

The {JavaMainClass(<FullClassPath>)} tagged value is used to specify the main class of the application. This class will be used when the application is launched from Objecteering.

 

 

Running an application from an ANT file

To run an application from an ANT file, simply carry out the steps shown in Figure 90 below.

 

Figure 90. Running the "HelloJava" application

 

Steps:

1.      Select the Jar file artifact (in our example, the "HelloJava" jar file).

2.      In the "Java" tab of the auxiliary window, click on the  icon in the "Java" tab of the auxiliary window.  The application is then run.