jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@bitfone.com>
Subject cactusproperty tag question
Date Fri, 16 Apr 2004 18:22:45 GMT
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.properties"/>

      <cactusproperty server="true"

 
propertiesFile="${basedir}/${cactus.dir}/properties/log_server.properties"/>

 

      <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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message