wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes javac task and dependancies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "javac task and dependancies" Watch "javac task and dependancies" New topic
Author

javac task and dependancies

Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
Howdy Y'all,
I am new to using ant. I am using it to build applet jar files. The way I'm doing this is by creating a temp directory and using the <javac> task to compile the main applet class to a destination of the temp directory. When I first did this <javac> would conveniently compile all of the dependancies to the temp directory and then I would use <jar> to zip it up.
When I first did this I was using ant 1.4.1 which came with WSAD 5.0. Now I am using ant 1.5.3 which comes with WSAD 5.1.0. Now <javac> does not compile the dependancies. Can one of you ant / java compiler gurus please explain to me why this does not work any more?
Is it related to the upgrade of WSAD? I pass in an argument of:
-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
Is there another argument I can pass in which would make it compile the dependancies again?
Do you have some other slick way of compiling applet jars?
Please help!
Thanks in advance,
Mark
 
wood burning stoves
 
subject: javac task and dependancies
 
Similar Threads
Ant and WSAD
ant javac task not copying directory with no java files
Depends
Ant and WSAD
javac question