I got some problem with junit. I have optional.jar under ant\lib directory. I am sure optional.jar is in the classpath.
Thanks in advance. here is the junit task script <target name="junittest" depends="setup"> <junit> <test name="TestSlc" /> </junit> </target> Here is the error message: junittest: [junit] Could not create task of type: junit Common solutions are adding the task to defaults.properties and executing bin/bootstrap BUILD FAILED qatest.xml:96: Could not create task of type: junit. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME). at org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:83) at org.apache.tools.ant.Task.perform(Task.java:216) at org.apache.tools.ant.Target.execute(Target.java:184) at org.apache.tools.ant.Target.performTasks(Target.java:202) at org.apache.tools.ant.Project.executeTarget(Project.java:601) at org.apache.tools.ant.Project.executeTargets(Project.java:560) at org.apache.tools.ant.Main.runBuild(Main.java:454) at org.apache.tools.ant.Main.start(Main.java:153) at org.apache.tools.ant.Main.main(Main.java:176) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>