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 not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant classpath not working" Watch "Ant classpath not working" New topic
Author

Ant classpath not working

Roger Rustin
Greenhorn

Joined: Jul 08, 2004
Posts: 19



the error I am getting is



Thanks.
- Roger
Fred Grott
Ranch Hand

Joined: Oct 05, 2002
Posts: 346
I do not see any apparent immediate errors however Imay stil be asleep..

What ANT versin are you using?


MobileBytes blog - Sharing Technology - My Programming Knols
Roger Rustin
Greenhorn

Joined: Jul 08, 2004
Posts: 19
Ant version is 1.5.1
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
imho,

classpath element can be used within a java /javac task. But not independently as you have used here. Its usual to supply classpath while running java application / while compoiling one.
Yeah you can declare a path under the root build element(project) and later refer it from within any target.
am not sure , but it does make sense for wlcompile to accomodate a nested classpath element. But you need to check the docs though.
 
jQuery in Action, 2nd edition
 
subject: Ant classpath not working
 
Threads others viewed
execution of python scripts through script tag
Mod_jk NEED HELP!!!
Problem with Ant using JUnit
JUNIT testing working but strangly or biasing with dos window
problem in web services
developer file tools