Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How we can run jar using ant?



How we can run jar using ant?..

Answer / Panne Lal

"To run a JAR using Ant, you first need to create an Ant build file (build.xml) containing the target that executes your JAR. After creating the build file, you can run the JAR by executing the following command: `ant runJar`. This command tells Ant to execute the 'runJar' target in your build file, which typically involves compiling the code, packaging it into a JAR, and then running that JAR."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Ant Interview Questions

How to set classpath in ant script?

1 Answers  


What is different between ant and make?

1 Answers  


What is dependency? How it is used into ant? What is its use?

1 Answers  


How you can compile, jar and run into ant command prompt?

1 Answers  


Why ant is a great build tool?

1 Answers  


Explain using ant and give an small example?

1 Answers  


How we can set the path environment variable of ant?

1 Answers  


What are the capabilities of ant?

1 Answers  


Explain ant functionality?

1 Answers  


What is dependency? How it is used into ant?

1 Answers  


How can I write my own ant task?

1 Answers  


Explain how to use clean in ant script?

1 Answers  


Categories