Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: tomcat7
    • Labels:
      None
    • Environment:
      windows tomcat7:run

      Description

      Hi,
      Suddenly a few days ago (unclear exactly when) when i run the code below it returns null. It worked two weeks ago and still works if I step back to version 2.0-beta-1.
      I'm running the goal "tomcat7:run"

      code that returns null:
      getServletContext().getResourcePaths(path);

      pom config:
      <groupId>org.apache.tomcat.maven</groupId>
      <artifactId>tomcat7-maven-plugin</artifactId>
      <!-- <version>2.0-beta-1</version> -->
      <version>2.0-SNAPSHOT</version>

        Activity

        Per Wramdemark created issue -
        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        I need more informations. contextPath of the webapp and getServletContext().getResourcePaths(path) (value of path ??)

        Show
        Olivier Lamy (*$^¨%`£) added a comment - I need more informations. contextPath of the webapp and getServletContext().getResourcePaths(path) (value of path ??)
        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        please provide a sample project to reproduce.

        Show
        Olivier Lamy (*$^¨%`£) added a comment - please provide a sample project to reproduce.
        Olivier Lamy (*$^¨%`£) made changes -
        Field Original Value New Value
        Fix Version/s moreinfo [ 12319451 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Fix Version/s 2.0 [ 12319450 ]
        Fix Version/s moreinfo [ 12319451 ]
        Hide
        Hudson added a comment -

        Integrated in TomcatMavenPlugin-mvn3.x #145 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/145/)
        MTOMCAT-144 resourcePaths returns null (Revision 1332183)

        Result = FAILURE
        olamy : http://svn.apache.org/viewvc/?view=rev&rev=1332183
        Files :

        • /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
        Show
        Hudson added a comment - Integrated in TomcatMavenPlugin-mvn3.x #145 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/145/ ) MTOMCAT-144 resourcePaths returns null (Revision 1332183) Result = FAILURE olamy : http://svn.apache.org/viewvc/?view=rev&rev=1332183 Files : /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        fixed and SNAPSHOT deployed.

        Show
        Olivier Lamy (*$^¨%`£) added a comment - fixed and SNAPSHOT deployed.
        Olivier Lamy (*$^¨%`£) made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Per Wramdemark
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development