How to include a Java command in ANT to run the project. I have searched the net and all examples creates a jar and then run it. I don'nt want to use a jar. I tried using below code, it is giving error that Java tag is not complete. My project is using TestNG so i need to give this command to run it - java -cp "/home/admin/A/":"/home/admin/A/lib/*" org.testng.TestNG testng.xmlHow to include a Java command in ANT to run the