On Tue, Jan 15, 2002 at 04:08:29PM +0100, Niklas Mehner wrote: > Hi ! > > I've created an ant buildfile and added it to cvs. > > It's far from perfect but it's a starting point. > > The test target does not work, because the tests do not compile with junit. > And the ant junit task does not work with the junit version in the contrib > module. > > The reason for this is the SimpleTestRunner, which is not included in > junit, but used in the main() method of the tests. > Probably it would be easiest to remove the main() method in the tests. > (the only difference would be typing "./test classname" instead of "java > classname" (for most tests)).
Don't remove the main() method from the tests. That's just a convenience and it's NOT the standard way of running tests. So just run the tests the standard way.. -tc _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
