Cactus
  1. Cactus
  2. CACTUS-232

Create new property for Cactus classes destination

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      I had to customize the Eclipse plugin to create a special folder for the classes generated by Cactus, but the plugin does not supply that information, while the JUnit/Test plugin does. More specifically, the Eclipse plugin has the following entry:

      <j:if test="$

      {empty testOutputDir}

      ">
      <maven:get var="testOutputDir" plugin='maven-test-plugin' property='maven.test.dest'/>
      </j:if>

      Looking on the maven-test-plugin, we get:

      maven.test.dest = $

      {maven.build.dir}/test-classes

      But the Cactus plugin does not supply such properyl; instead, it defines it on plugin.jelly:

      <ant:property name="cactus.target.classes.dir"
      value="${maven.build.dir}

      /test-cactus-classes"/>

      So, in order to be consistent, I propose we create the cactus.test.dest property (which in turn would receive the $

      {maven.build.dir}

      /test-cactus-classes. value).

      – Felipe

        Activity

        Hide
        Petar Tahchiev added a comment -

        Ok, I have added the cactus.test.dest property, so I will close this issue now.

        Show
        Petar Tahchiev added a comment - Ok, I have added the cactus.test.dest property, so I will close this issue now.

          People

          • Assignee:
            Petar Tahchiev
            Reporter:
            Felipe Leme
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development