You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by "Hopman, Nick" <NH...@geico.com> on 2005/03/29 22:11:19 UTC

cactus.properties problem

I am new to Cactus, but I think I have everything ready to go. I try to run
my ant task that runs my tests and am having problems. Cactus keeps trying
to connect to my localhost even though I am providing a server in my
cactus.properties file, cactus also doesn't seem to load my batchtest
correctly either:

 

cactus.contextURL = http://servername:9180/app

cactus.servletRedirectorName = ServletRedirector 

cactus.enableLogging = true

 

  <target name="test" 

      description="Run the tests on the defined containers">

    

    <mkdir dir="${app.test.reports.dir}"/>

    

    <!-- Run the tests -->

    <cactus earfile="${releases.dir}/APP.ear" 

        fork="yes" failureproperty="tests.failed">

      <cactusproperty server="false"

            propertiesFile="C:\dev\APP\scripts\cactus.properties"/>

 

      <classpath>

        <path refid="project.classpath"/>

        <pathelement location="${target.classes.java.dir}"/>

        <pathelement location="${target.classes.cactus.dir}"/>

      </classpath>

      <containerset timeout="10000">

        <generic name="Websphere" port="9180"

            startuptarget="start-app"

            shutdowntarget="stop-app"/>

      </containerset>

      <formatter type="brief" usefile="false"/>

      <formatter type="xml"/>

      <batchtest>

        <fileset dir="${app.test.src.dir}">

          <include name="**/test*.java"/>

        </fileset>

      </batchtest>

    </cactus>

 

Any ideas?

 

Nick

==================== 
This email/fax message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information.  Any unauthorized
review, use, disclosure or distribution of this email/fax is prohibited.  If
you are not the intended recipient, please destroy all paper and electronic
copies of the original message.