You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Olivier Bazoud (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 12:01:00 UTC

[jira] [Commented] (MTOMCAT-100) support war overlay to add war external dependencies in tomcat run

    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143911#comment-13143911 ] 

Olivier Bazoud commented on MTOMCAT-100:
----------------------------------------

I experienced some problems with war overlay with tomcat6:run goal, tomcat does not found any resource present in overlays.
IMOHO, all the tmpDirs should *not* be deleted immediately, but only when tomcat stops.
IMOHO, if directories does not exists, classloaders should skip them.
If I comment the following line (http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java?revision=1187271&view=markup line 158), Tomcat finds again my ressources files.
                
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat6, tomcat7
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>
>  /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run to do as war overlays does.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org