From: will w. <we...@qu...> - 2004-02-01 22:04:26
|
i should clarify that this is ant 1.6.0, which comes with the optional junit task included but not the needed junit.jar file. -- w On Sunday, February 1, 2004, at 01:59 PM, will welch wrote: > hi, > when running "ant test" with the 20040120 distro, i get the following > build problem: > ------ > test: > > BUILD FAILED > /Users/welch/Work/Biotech/cdk-source-20040120/build.xml:775: Could not > create task or type of type: junit. > > Ant could not find the task or a class this task relies upon. > ...long message about jar files and ANT_HOME/lib deleted... > ------ > > as i understand it, the ant junit task can't actually see the > junit.jar in cdk-source-20040120/jar/junit.jar, and the solution is to > place junit.jar into one's ANT_HOME/lib directory (this solved the > problem). it would be nice for the "test" target to check for > junit.jar and give instructions to those of us who didn't already have > it installed (the ant-generated message does say this, indirectly, but > it's buried among several other things that might be the problem but > aren't). > > -- w > Will Welch > 650 Second Street #203 > San Francisco, CA 94107 > ph: 415-546-9172 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Cdk-user mailing list > Cdk...@li... > https://lists.sourceforge.net/lists/listinfo/cdk-user > > Will Welch 650 Second Street #203 San Francisco, CA 94107 ph: 415-546-9172 |