Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1875

Mavenise cactus tests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Nightly Build
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      25267

      Description

      OK, I have Maven running the cactus tests; several of them fail, but here's a start. Attached are
      three patches, to maven.xml, project.properties, and build.properties.sample. Also, the maven-
      cactus plugin complains if the web.xml descriptor already includes Cactus mappings, so I made a
      copy of the descriptor with out those, and it needs to be placed in conf/test/maven-web.xml

      I found that Cactus has a known problem with Mac OS X in that it fails if it can't find "tools.jar" and
      Apple bundled those classes into its main Java JAR, so while the classes are on the classpath,
      Cactus fails. Since I work on OS X, I'm going to be stuck until that gets resolved (I patched some
      Cactus classes in a way that should work, but since some of the Struts tests that fail for me are
      related to JSPs not being available, I'm not sure that my Cactus fix works.)

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--build.properties.sample_diff.txt
          0.6 kB
          Joseph Lad Germuska
        2. ASF.LICENSE.NOT.GRANTED--maven.xml_diff.txt
          1 kB
          Joseph Lad Germuska
        3. ASF.LICENSE.NOT.GRANTED--maven-web.xml
          2 kB
          Joseph Lad Germuska
        4. ASF.LICENSE.NOT.GRANTED--project.properties_diff.txt
          2 kB
          Joseph Lad Germuska
        5. ASF.LICENSE.NOT.GRANTED--project.xml_diff.txt
          2 kB
          Joseph Lad Germuska

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              germuska Joseph Lad Germuska
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: