Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javac task and dependancies

 
Mark Binau
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic