Hi Everyone,
  I have a problem trying to automate my cactus in
container tests with the cactus ant integration. In order
to use the ant cactus tags i included the following taskdef
in my build file.
<taskdef resource="cactus.tasks" 
         classpathref="cactus.classpath"/>

I get a warning/error saying: a class needed by
org.apache.cactus.integration.ant.CactusTask cannot be
found: junit/framework/Test. I actually have junit.jar in
my cactus classpath as shown below

<path id="cactus.classpath">
  <path refid="classpath.base"/>
  <pathelement location="${aspectjrt.jar}"/>
  <pathelement location="${cactus.jar}"/>
  <pathelement location="${cactus.ant.jar}"/>
  <pathelement location="${httpclient.jar}"/>
  <pathelement location="${junit.jar}"/>
  <pathelement location="${httpunit.jar}"/>
  <pathelement location="${commons.logging.jar}"/>
  <pathelement location="${nekohtml.jar}"/>
</path>

my cactify war looks as follows

<target name="cactifywartask" depends="war,cactus.compile">
   <cactifywar  srcfile="${dest}/kita.war}"                                 
   destfile="${dest}/kitatest.war}">
        <classes dir="${dest.classes.cactus.dir}"/>     
   </cactifywar>
</target>

Thanks for any help.

PS. Is there anyone who has used cactus with OC4J?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to