Hi Augusto,

The answer is in the error... :-)

The jboss2x container is not supported. The jboss3x is supported though.
As you're running with JBoss 3.2.3, I'd suggest you use the <jboss3x>
element.

-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 30 April 2004 17:21
> To: [EMAIL PROTECTED]
> Subject: jboss2x ant task error
> 
> 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]




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

Reply via email to