ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject regression in handling of <java> failures
Date Tue, 12 Apr 2005 09:58:53 GMT

I have it on reliable authority (chapter 5 of java development with 
ant), that Ant1.5 would fail with a location error when you tried to run 
<java> without a class on the classpath. But now I see a stack trace and 
not a location:

      [echo] running the diary program
      [java] Could not find d1.core.DiaryMain. Make sure you have it in 
your classpath
      [java]     at 
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:178)
      [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:731)
      [java]     at 
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:190)     [java] 
     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:100)
      [java]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.jav

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message