You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Mitch Kyle (JIRA)" <ji...@apache.org> on 2012/12/04 15:08:58 UTC

[jira] [Created] (MTOMCAT-188) Allow for the creation of a war that is both executable and deployable

Mitch Kyle created MTOMCAT-188:
----------------------------------

             Summary: Allow for the creation of a war that is both executable and deployable
                 Key: MTOMCAT-188
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-188
             Project: Apache Tomcat Maven Plugin
          Issue Type: Improvement
          Components: tomcat7
    Affects Versions: 2.0-beta-1
            Reporter: Mitch Kyle
            Assignee: Olivier Lamy (*$^¨%`£)
            Priority: Minor


Currently with the exec-war/-only goals, a jar or war is created that is executable but not deployable to an existing tomcat meaning two release artifacts would be required to take this approach.

Ideally, a new goal would be added for creating war files that can be deployed to an existing tomcat or excuted directly.

Steps 
a. Allow tomcat7-war-runner to copy the running war to the webapps folder if some property is set

b. Add a goal to build some war with tomcat7-war-runner overlayed and add a manifest with main-class set.  

If this sounds interesting, I can have a patch available soon and any feedback would be great. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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-188) Allow for the creation of a war that is both executable and deployable

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

Olivier Lamy (*$^¨%`£) updated MTOMCAT-188:
-------------------------------------------

    Fix Version/s: 2.1
    
> Allow for the creation of a war that is both executable and deployable
> ----------------------------------------------------------------------
>
>                 Key: MTOMCAT-188
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-188
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>            Reporter: Mitch Kyle
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.1
>
>
> Currently with the exec-war/-only goals, a jar or war is created that is executable but not deployable to an existing tomcat meaning two release artifacts would be required to take this approach.
> Ideally, a new goal would be added for creating war files that can be deployed to an existing tomcat or excuted directly.
> Steps 
> a. Allow tomcat7-war-runner to copy the running war to the webapps folder if some property is set
> b. Add a goal to build some war with tomcat7-war-runner overlayed and add a manifest with main-class set.  
> If this sounds interesting, I can have a patch available soon and any feedback would be great. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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-188) Allow for the creation of a war that is both executable and deployable

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

Mitch Kyle updated MTOMCAT-188:
-------------------------------

    Attachment: tomcat-maven-plugin_standalone-war-goal_05122012.patch

Here's a patch. You may want to change the name of the goal which I called standalone-war because I couldn't think of anything better. 
                
> Allow for the creation of a war that is both executable and deployable
> ----------------------------------------------------------------------
>
>                 Key: MTOMCAT-188
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-188
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>            Reporter: Mitch Kyle
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: tomcat-maven-plugin_standalone-war-goal_05122012.patch
>
>
> Currently with the exec-war/-only goals, a jar or war is created that is executable but not deployable to an existing tomcat meaning two release artifacts would be required to take this approach.
> Ideally, a new goal would be added for creating war files that can be deployed to an existing tomcat or excuted directly.
> Steps 
> a. Allow tomcat7-war-runner to copy the running war to the webapps folder if some property is set
> b. Add a goal to build some war with tomcat7-war-runner overlayed and add a manifest with main-class set.  
> If this sounds interesting, I can have a patch available soon and any feedback would be great. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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