[
https://issues.apache.org/jira/browse/MTOMCAT-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190295#comment-14190295
]
Dennis Lundberg commented on MTOMCAT-112:
-----------------------------------------
There is an IT for this in tomcat7-maven-plugin, that checks that such paths
are preserved.
By the way, this parameter is only available in tomcat7-mavne-plugin as far as
I can tell.
> file path inside ${basedir}/src/main/tomcatconf is not preserved
> ----------------------------------------------------------------
>
> Key: MTOMCAT-112
> URL: https://issues.apache.org/jira/browse/MTOMCAT-112
> Project: Apache Tomcat Maven Plugin
> Issue Type: Bug
> Components: tomcat6
> Affects Versions: 2.0-beta-1
> Environment: $ uname --all
> Linux 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
> i686 i386 GNU/Linux
> $ mvn -version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 14:31:09-0300)
> Maven home: /home/veronez/install/java/apache-maven-3.0.3
> Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.0.0-14-generic-pae", arch: "i386", family:
> "unix"
> Reporter: Fabio Cechinel Veronez
> Assignee: Olivier Lamy (*$^¨%`£)
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]