Login | Register
My pages Projects Community openCollabNet

Discussions > users > junit task in jedit or other optional tasks

antelope
Discussion topic

Hide all messages in topic

All messages in topic

RE: junit task in jedit or other optional tasks

Author namilc
Full name Dan Climan
Date 2009-05-12 16:49:32 PDT
Message Thanks for the suggestion. They were already in that directory (ie. ANT_HOME/lib).

In fact, when I look at the java.class.path after loading Antelope I can see both
C:\Progra~1\Utilit​ies\apache-ant-1.7.​1\lib\junit-4.3.1.​jar;
C:\Progra~1\Utilit​ies\apache-ant-1.7.​1\lib\ant-junit.ja​r;

RE: junit task in jedit or other optional tasks

Author danson
Full name Dale Anson
Date 2009-05-12 15:51:19 PDT
Message Try moving your ant-junit.jar and junit-4.3.1.jar to your Ant's "lib" directory. The Antelope plugin does not look in jEdit's "jars" directory for Ant libraries, but it does look in the Ant "lib" directory.

junit task in jedit or other optional tasks

Author namilc
Full name Dan Climan
Date 2009-05-12 15:36:16 PDT
Message Can junit tasks be run from Antelope? Is their a procedure for addint optional ant tasks?

I have some build files with junit tasks sush as <junit fork="yes" forkmode="once" haltonfailure="yes" printsummary="on">

I have Antelope 3.5.1 and jedit 4.3pre16 and ant 1.7.1

Antelope works for standard ant commands.
I have both ant-junit.jar and junit-4.3.1.jar in the jedit jars directory

I keep getting this error:
build.xml:165: java.lang.ClassNotFo​undException: org.apache.tools.ant​.taskdefs.optional.j​unit.JUnitTaskMirror​Impl

This class is included in the ant-junit.jar

Are there other setup steps I need to do?
Messages per page: