File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Ant classpath issues
 
Similar Threads
Can't get JIBX to run in ANT
start/stop Sun Application server from ant build.xml
Problem in Maven2 pom for converting ejb2.1 project into sources.
ant junitreport - producing html file with no test results
Need help in build applications using ant : getting exception