File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javac task and dependancies