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 Lamy (Created) (JIRA)" <ji...@apache.org> on 2011/10/11 22:07:11 UTC

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

support war overlay to add war external dependencies in tomcat run 
-------------------------------------------------------------------

                 Key: MTOMCAT-100
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
             Project: Maven 2.x Tomcat Plugin
          Issue Type: Improvement
            Reporter: Olivier Lamy
            Assignee: Olivier Lamy
             Fix For: 2.0


if activated /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run

--
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


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

Posted by "Olivier Bazoud (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149091#comment-13149091 ] 

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

It seems to me that the resources(css, js, jsp, ...) available in the war overlayt are not served by the plugin.
For tomcat 6 plugin, this can help you : http://blog.bazoud.com/post/2009/05/12/Multiples-docbases-avec-tomcat
For tomcat 7 plugin, you can use alias resources.
                
> 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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125354#comment-13125354 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin-mvn2.x #8 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn2.x/8/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run: tomcat6 support too.
[MTOMCAT-100] support war overlay to add war external dependencies in tomcat run.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1182064
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1182063
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/pom.xml
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

                
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat Plugin
>          Issue Type: Improvement
>          Components: tomcat6, tomcat7
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>
> if activated /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run

--
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


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

Posted by "Olivier Lamy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MTOMCAT-100:
---------------------------------

    Component/s: tomcat7
                 tomcat6
    
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat Plugin
>          Issue Type: Improvement
>          Components: tomcat6, tomcat7
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>
> if activated /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run

--
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


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

Posted by "Olivier Bazoud (Commented) (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145512#comment-13145512 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin #62 (See [https://builds.apache.org/job/TomcatMavenPlugin/62/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run
avoid duplicate jars in the webappclassloader: can cause issues with struts2

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1198740
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java

                
> 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


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

Posted by "Olivier Lamy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MTOMCAT-100:
---------------------------------

    Description:  /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run to do as war overlays does.  (was: if activated /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run)
    
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat 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


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

Posted by "Robert Hollencamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287591#comment-13287591 ] 

Robert Hollencamp commented on MTOMCAT-100:
-------------------------------------------

I incorporated the functionality Olivier Bazoud linked to into the tomcat6 plugin. Can somebody from the project review the diff and let me know what they think? It should be pretty trivial to add this to the tomcat7 plugin

http://pastebin.com/tU0daHZA
                
> 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-beta-1
>
>
>  /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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125381#comment-13125381 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin #27 (See [https://builds.apache.org/job/TomcatMavenPlugin/27/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run: this option must be on by default to mimic what the maven war plugin does with overlays.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1182081
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

                
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat 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


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

Posted by "Leo Przybylski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232199#comment-13232199 ] 

Leo Przybylski commented on MTOMCAT-100:
----------------------------------------

When I run tomcat7:run, it is not overlaying for me. For example, my jsp complains it cannot find tags in /WEB-INF/tags/portal. Normally, when war:war is run, the dependency overlay is extracted into the war directory. tomcat7:run doesn't depend on a war directory, but it also doesn't seem to being picking up tags and other webapp files from my dependency war. How do I get around this?
                
> 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-beta-1
>
>
>  /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


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

Posted by "Olivier Lamy (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MTOMCAT-100.
--------------------------------

    Resolution: Fixed

please test with last snapshot.
reopen if you still have the issue.
                
> 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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144861#comment-13144861 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin #58 (See [https://builds.apache.org/job/TomcatMavenPlugin/58/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run
delete temporary directories used for extract after plugin shutdown.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1198103
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorResult.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

                
> 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


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

Posted by "Olivier Lamy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145153#comment-13145153 ] 

Olivier Lamy commented on MTOMCAT-100:
--------------------------------------

http://svn.apache.org/viewvc?view=revision&revision=1198376 do that 
                
> 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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145011#comment-13145011 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin #60 (See [https://builds.apache.org/job/TomcatMavenPlugin/60/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run
fix extraction of war overlay content files was extracted in .

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1198376
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java

                
> 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


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

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125353#comment-13125353 ] 

Hudson commented on MTOMCAT-100:
--------------------------------

Integrated in TomcatMavenPlugin #25 (See [https://builds.apache.org/job/TomcatMavenPlugin/25/])
    [MTOMCAT-100] support war overlay to add war external dependencies in tomcat run: tomcat6 support too.
[MTOMCAT-100] support war overlay to add war external dependencies in tomcat run.

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1182064
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

olamy : http://svn.apache.org/viewvc/?view=rev&rev=1182063
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java
* /tomcat/maven-plugin/trunk/pom.xml
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

                
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat Plugin
>          Issue Type: Improvement
>          Components: tomcat6, tomcat7
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>
> if activated /WEB-INF/lib/*.jar and /WEB-INF/classes will added to web app classloader when using tomcat*:run

--
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


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

Posted by "Olivier Lamy (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reopened MTOMCAT-100:
----------------------------------


reopen due to user comment
                
> 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


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

Posted by "Olivier Bazoud (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145096#comment-13145096 ] 

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

a small fix in response to previous commits: target/apache-tomcat-maven-plugin/[mywar] should be exist, otherwise UnArchiver extracts it in root project.
https://github.com/obazoud/tomcat-maven-plugin/commit/60bd62c83b54f48779adecab8b37053e69e22f58
                
> 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


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

Posted by "Olivier Lamy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149150#comment-13149150 ] 

Olivier Lamy commented on MTOMCAT-100:
--------------------------------------

The issue I have here is to have a different behavior with the maven-war-plugin.
This one doesn't handle resources from war dependencies.
So usually folks use maven-dependency-plugin to unpack war dependencies to have those resources packaged with the war artifacts.
                
> 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


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

Posted by "Olivier Lamy (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MTOMCAT-100.
--------------------------------

    Resolution: Fixed

implemented
                
> support war overlay to add war external dependencies in tomcat run 
> -------------------------------------------------------------------
>
>                 Key: MTOMCAT-100
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-100
>             Project: Maven 2.x Tomcat 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


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

Posted by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287640#comment-13287640 ] 

Olivier Lamy (*$^¨%`£) commented on MTOMCAT-100:
------------------------------------------------

@Robert this issue is closed. So please an other one and attach your patch.
Thanks.
                
> 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-beta-1
>
>
>  /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