Hi Harrison,

the class you are looking for is (was) situated in the Apache Avalon project,
which has been closed. You can download the framework source
(http://apache.imsam.info/avalon/avalon-framework/source/Avalon-4.0-src.zip)
where you will find the testlet.jar file with the necessary file(s).

Regards,

Mark


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Samstag, 2. Juli 2005 02:11
To: [email protected]
Subject: Trying to run ANT's JUnit under M(1.0.2)


I'm trying to run a Ant Junit task in my plugin.  When it executes I get:

        [ERROR] Could not find org.apache.testlet.engine.TextTestEngine

I realize I do not have the class in my dependancy list.  What I do not know
is where to get the jar so I can run the JUnit in the plugin.

The jelly code I'm running is below.  Any suggestions would be very
appreciated.

        <ant:junit printsummary="${junit.print.summary}"
                   haltonfailure="${junit.halt.onfailure}"
                   showoutput="${junit.show.output}"
                   failureproperty="junit.failed"
                   fork="${junit.fork.run}"
                   maxmemory="${junit.max.memory}"
        >
                <ant:classpath refid="rulesTestPath"/>
        <util:tokenize var="listOfProperties" delim="
">${junit.system.properties}</util:tokenize>
        <j:forEach var="someProperty" items="${listOfProperties}">
                        <sysproperty key="${someProperty}"
value="${context.getVariable(someProperty)}"/>
        </j:forEach>
                <j:if test="${!empty(junit.formater.class)}" >
                        <ant:formatter classname="${junit.formater.class}"
extension=".xml"/>
                </j:if>
                <test name="${testUnit}" todir="${junit.reporting.dir}"
outfile="${junit.test.prefix}-${testUnit}-${reportDate}"/>
        </ant:junit>

Bud Curtis
JDIMS Project
L-3 Communications
(719) 637-5633

---------------------------------------------------------------------
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]

Reply via email to