Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-112

file path inside ${basedir}/src/main/tomcatconf is not preserved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.3
    • tomcat6
    • None

    Description

      Hello

      I have created a file under ${basedir}/src/main/tomcatconf using the folder structure /Catalina/localhost/context#subcontext.xml

      I expected to have this files copied to /target/tomcat/conf/Catalina/localhost/context#subcontext.xml but instead it is copied to /target/tomcat/conf/context#subcontext.xml.

      My intention is to create subcontext to map resources to an folder located outside of my application. As explained at http://harkiran-howtos.blogspot.com/2009/08/map-external-directory-into-your.html.

      Ps.: I'm not sure if it is a bug or expected behavior, i would sent this question to a mail list but i couldn't find it... sorry if i miss posted it here.

      Attachments

        Activity

          People

            olamy Olivier Lamy
            fabio.veronez Fabio Cechinel Veronez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: