This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread 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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant classpath issues" Watch "Ant classpath issues" New topic

Ant classpath issues

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436

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

Joined: Jun 24, 2003
Posts: 3275

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.
Don't get me started about those stupid light bulbs.
subject: Ant classpath issues
It's not a secret anymore!