Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-232

Create new property for Cactus classes destination

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 1.8
    • Maven Integration
    • 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

      Attachments

        Activity

          People

            paranoiabla Petar Tahchiev
            felipeal Felipe Leme
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: