Hi, I'm trying running cactus Ant task in order to
test Struts action deployed in JBoss 3.2.3.

I can cactify my war and deply it in JBoss but when I
try to use <cactus> task I recive the following error:

BUILD FAILED: D:\Progetti\titan\build.xml:194: The
container 'jboss2x' is not supported

Task is configured like this:

<target name="test">
   <cactus
warfile="${dist.dir}/${project.name.file}.war"
fork="yes" failureproperty="tests.failed">
      <classpath>
         <path refid="${prj.compile.classpath"/>
         <pathelement location="${build.classes.prj.dir}"/>
         <pathelement location="${build.classes.test.dir}"/>
         <pathelement location="${cactus.nekohtml.jar}"/>
         <pathelement location="${cactus.httpunit.jar}"/>
      </classpath>
      <containerset timeout="180000">
         <jboss2x dir="${jboss.home}" config="default"
todir="D:/augusto"/>
      </containerset>
      <formatter type="xml"/>
      <batchtest>
         <fileset dir="$src.test.dir}">
            <include name="**/Test*.java"/>
         </fileset>
      </batchtest>
   </cactus>
</target>

Can anyone help me?

Thank you in advance for any help?

ciao, Augusto

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

Reply via email to