sorry. i should have been clearer. it couldn't find the class i was trying to execute (ie the one with main in).
error: [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 /blah/ and /blah/net/sportplan/dbunit/DBUnitUtils.class was the file i wanted to execute. for some reason that only works if i fork though. c On Tuesday 11 November 2003 15:22, Stefan Bodewig wrote: > On Tue, 11 Nov 2003, Caoilte O'Connor <[EMAIL PROTECTED]> wrote: > > 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: > [EMAIL PROTECTED] For additional commands, > e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]