Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use eclipse classpath in ant tasks

Tags:

java

eclipse

ant

I want to use Ant to deliver a JAR file, how can I use the Eclipse classpath in my Ant task?

Greets, Tobias

like image 269
Tobias Avatar asked Mar 18 '09 14:03

Tobias


People also ask

What is classpath in Ant?

Ant classpath: discussion dir defined before this code is run, and that variable points to your lib directory, which contains all of the jar files needed by your application. This code also creates a variable named class. path which can be referenced later in your Ant script using the variable syntax ${class. path} .

Does Eclipse support Ant?

Clicking on the targets, build / clean / usage will run Ant with the target. Clicking "fax" will execute the default target - usage. The Ant Eclipse plugin also comes with a good editor for editing build.


1 Answers

Try ant4eclipse.

like image 123
Aaron Digulla Avatar answered Sep 28 '22 09:09

Aaron Digulla