• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

javac task and dependancies

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Put a gun against his head, pulled my trigger, now he's dead, that tiny ad sure bled
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic