ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: Usage/projecthelp failing
Date Sat, 20 Jul 2002 02:13:27 GMT

--- Mike Cepek <mcepek@smsi.com> wrote:
> Nope.  NetBeans, Win2K and Linux all do this with fork=true added:
> 
> projecthelp:
> java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
> Exception in thread "main" 
> Java Result: 1
> BUILD SUCCESSFUL
> 
> Pretty odd.

Add:
     <classpath path="${java.class.path}"/>
to your <java> task.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message