[ http://jira.codehaus.org/browse/MPWAR-52?page=all ]

Stephane Nicoll updated MPWAR-52:
---------------------------------

    Fix Version: 1.6.2

> configurable overwrite of target web.xml with src web.xml
> ---------------------------------------------------------
>
>          Key: MPWAR-52
>          URL: http://jira.codehaus.org/browse/MPWAR-52
>      Project: maven-war-plugin
>         Type: Improvement

>     Versions: 1.6.1
>     Reporter: Nathan Coast
>     Assignee: Stephane Nicoll
>      Fix For: 1.6.2

>
>
> war:war-resources
>     <util:available file="${maven.war.webxml}">
>       <ant:copy file="${maven.war.webxml}"
>         tofile="${webapp.build.webinf}/web.xml"
>         overwrite="true" />
>     </util:available>
> the current plugin forces an overwrite of the web.xml if there is a source 
> file.  I am about to release the latest version of the maven tomcat plugin.  
> The main objective of this release is to reduce the time for changes to src 
> files to be updated within tomcat (jsps in particular).  war:war-resources 
> does the work of moving files from src to target.  If the jsps are modified 
> tomcat will recompile them,  however if the web.xml is modified (timestamp)  
> tomcat will reload the entire web application causing an unneccessary 
> overhead.  It would be extremely useful if the overwrite parameter of the 
> web.xml were configurable with a property.
> cheers
> Nathan

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to