Hi Bret,

The problem is probably not with <cactusproperty> which is only used to
pass properties to the different JVMs. The problem is likely to be in
your log_client.properties and log_server.properties files.

Can you show us your config files?

Thanks
-Vincent

> -----Original Message-----
> From: Bret Kumler [mailto:[EMAIL PROTECTED]
> Sent: 16 April 2004 20:23
> To: [EMAIL PROTECTED]
> Subject: cactusproperty tag question
> 
> I have the following cactus task defined.
> 
> For some reason the <cactusproperty> isn't working.
> 
> 
> 
> I can not see the log files.
> 
> 
> 
> <cactus warfile="${test.home}/${app.name}.war"
> 
>         fork="yes" failureproperty="tests.failed" haltonerror="true">
> 
> 
> 
>       <classpath>
> 
>         <path refid="tests.classpath"/>
> 
>             <pathelement path="${build.home}/testsrc/properties"/>
> 
>             <pathelement location="${build.home}/WEB-INF/classes"/>
> 
>         <pathelement location="${build.home}/testsrc.jar"/>
> 
>         <pathelement location="${lib.dir}/log4j"/>
> 
>       </classpath>
> 
> 
> 
>       <!-- Configure the cactus task for logging -->
> 
>       <cactusproperty server="false"
> 
> 
>
propertiesFile="${basedir}/${cactus.dir}/properties/log_client.propertie
s"
> />
> 
>       <cactusproperty server="true"
> 
> 
>
propertiesFile="${basedir}/${cactus.dir}/properties/log_server.propertie
s"
> />
> 
> 
> 
>       <containerset>
> 
>         <tomcat5x if="cactus.home.tomcat5x"
> 
>             dir="${catalina.home}"
serverxml="${basedir}/conf/server.xml"
> port="${cactus.port}"
> 
>             output="${test.home}/cactusreports/tomcat5x.out"
> 
>             todir="${test.home}/cactusreports"/>
> 
>       </containerset>
> 
>       <formatter type="brief" usefile="false"/>
> 
>       <formatter type="xml"/>
> 
>       <batchtest>
> 
>         <fileset dir="${testsrc}">
> 
>           <include name="**/*Test.java"/>
> 
>           <exclude name="**/*TestAll.java"/>
> 
>         </fileset>
> 
>       </batchtest>
> 
>     </cactus>
> 
> 
> 
> 
> 
> On a side not I notice CactusStrutsTestCase doesn't log messages when
I
> try
> to log them with log4j.  When I use System.out.println I see them in
the
> "tomcat5x.out" log file.
> 
> 
> 
> Am I doing something wrong?
> 
> 
> 
> 
> 
> Thanks



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

Reply via email to