This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant classpath issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant classpath issues" Watch "Ant classpath issues" New topic
Author

Ant classpath issues

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using Ant 1.8. Is there a way to get ant to report is paths don't exist or references are non-existent? A class in my classpath ref attribute is not being found ...



even though I have verified through my echo messages that the files do exist in my file system. Yet when I run my task, I get NoClassDefErrors for classes that I have verified are in the JAR files in the classpath ref.

Any help is appreciated, - Dave
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

When you echo your actual selenium-classpath-ref, what do you get?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
Consider Paul's rocket mass heater.
 
subject: Ant classpath issues