File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Ant classpath issues
It's not a secret anymore!