ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caoilte O'Connor <>
Subject Re: java task and classpath problem
Date Tue, 11 Nov 2003 14:34:58 GMT
sorry. i should have been clearer.

it couldn't find the class i was trying to execute (ie the 
one with main in).

[java] Could not find net.sportplan.dbunit.DBUnitUtils. Make 
sure you have it in your class path.

(DBUnitUtils is the class with main in.)
debug doesn't help 'caus it doesn't print the classpath by 
default and I'm even sure that's the issue.

anyway i'm probably only being stupid.
i thought adding a directory to your class path added any 
class files in the dirs below that if they obeyed the 
correct package names.

ie i added

was the file i wanted to execute. for some reason that only 
works if i fork though.


On Tuesday 11 November 2003 15:22, Stefan Bodewig wrote:
> On Tue, 11 Nov 2003, Caoilte O'Connor <> 
> > The below fails with a "not found on classpath error"
> Which class is it that Ant cannot find?  Does ant -debug
> give any hints?
> Stefan
> ---------------------------------------------------------
>------------ To unsubscribe, e-mail:
> For additional commands,
> e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message