This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
Have you checked out Aspose?
 
subject: javac task and dependancies
 
It's not a secret anymore!