Running the sample application to verify the Ant build
Now that you have completed the Ant build, we recommend that you verify the build by running the sample application as follows:
| Open a Windows command window.
|
| Navigate to the output directory of the Ant build (for example, c:\temp\RAD75Ant\lib).
|
| Set the Java path by entering the following command:
|
Enter the location of the installation directory (for example, our installation directory is found in c:\IBM\SDP75).
set PATH=c:\IBM\SDP75\jdk\bin;%PATH%
| Run the following command:
|
java -jar helloant-20081008.jar
Note that the timestamp in the JAR filename is dependent on when it is built.
| You should see the following output:
|
Hello from Turkey!