The following comment has been added to this issue:

     Author: 
    Created: Mon, 18 Aug 2003 1:37 PM
       Body:
I changed the following:

from:

    <!-- Consolidate the reports into a single -->
    <ant:junitreport todir="${maven.build.dir}"
        tofile="TESTS-TestSuites-Cactus.xml">

to:

    <!-- Consolidate the reports into a single -->
    <ant:junitreport todir="${cactus.reports.dir}
        tofile="TESTS-TestSuites-Cactus.xml">

from:

  <goal name="cactus:report"
    description="Generate a report from the test results">

    <doc:jsl
      input="${maven.build.dir}/TESTS-TestSuites-Cactus.xml"
      output="cactus-report.xml"
      stylesheet="${plugin.resources}/cactus.jsl"
      outputMode="xml"
      prettyPrint="true"/>

  </goal>

to:

  <goal name="cactus:report"
    description="Generate a report from the test results">

    <doc:jsl
      input="${cactus.reports.dir}/TESTS-TestSuites-Cactus.xml"
      output="cactus-report.xml"
      stylesheet="${plugin.resources}/cactus.jsl"
      outputMode="xml"
      prettyPrint="true"/>

  </goal>

Also, since the cactus-ant integration allows you to specify the temp directory to 
start-up the container, I added the tmpdir property to all of the containers.  For 
example,


from:

        <orion2x if="cactus.home.orion2x"
            dir="${cactus.home.orion2x}" port="${cactus.port}"
            output="${cactus.reports.dir}/orion2x.out"
            todir="${cactus.reports.dir}/orion2x"/>

        <resin2x if="cactus.home.resin2x"
            dir="${cactus.home.resin2x}" port="${cactus.port}"
            output="${cactus.reports.dir}/resin2x.out"
            todir="${cactus.reports.dir}/resin2x">
          <j:if test="${context.getVariable('cactus.resin2x.config') != null}">
            <ant:setProperty name="resinconf" value="${cactus.resin2x.config}"/>
          </j:if>        
        </resin2x>

to:

        <orion2x if="cactus.home.orion2x"
            dir="${cactus.home.orion2x}" port="${cactus.port}"
            tmpdir="${cactus.tmp.dir}"
            output="${cactus.reports.dir}/orion2x.out"
            todir="${cactus.reports.dir}/orion2x"/>

        <resin2x if="cactus.home.resin2x"
            dir="${cactus.home.resin2x}" port="${cactus.port}"
            tmpdir="${cactus.tmp.dir}"
            output="${cactus.reports.dir}/resin2x.out"
            todir="${cactus.reports.dir}/resin2x">
          <j:if test="${context.getVariable('cactus.resin2x.config') != null}">
            <ant:setProperty name="resinconf" value="${cactus.resin2x.config}"/>
          </j:if>        
        </resin2x>
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-669


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-669
    Summary: Plugin doesn't create/specify war directory correctly for resin
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-cactus
   Fix Fors:
             1.1
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: Jason Chaffee

    Created: Mon, 11 Aug 2003 3:08 PM
    Updated: Fri, 15 Aug 2003 4:59 AM

Description:
Plugin doesn't create/specify war directory correctly for resin causing it to fail 
because it can't start-up resin correctly becasue resin can't find any war.  Should 
create a root directory for resin which contains a webapp directory.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to