You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/03/10 04:41:23 UTC

[jira] Updated: (MWAR-26) Do not overwrite target unless source is modified

     [ http://jira.codehaus.org/browse/MWAR-26?page=all ]

Brett Porter updated MWAR-26:
-----------------------------

    Fix Version: 2.0

would be a good addition.

> Do not overwrite target unless source is modified
> -------------------------------------------------
>
>          Key: MWAR-26
>          URL: http://jira.codehaus.org/browse/MWAR-26
>      Project: Maven 2.x War Plugin
>         Type: Bug

>     Reporter: Andres March
>      Fix For: 2.0

>
>
> I thought MWAR-8 had fixed my issue but it seems to still exist.  Correct me if I'm wrong but doing incremental builds with this war plugin is not possible.  All the web app sources get overwritten regardless if they have been modified or not.  Incremental build were possible in Maven 1 because it was ANT based.  This version uses plexus FileUtils which overwrites without regard to if the target file exists or older than the source.  Besides the time issue, overwriting the web.xml each time makes my context reload since the context runs on tomcat from the target location.  I think this is a reasonable configuration but if there is a better way, let me know.  Building inplace wars is not an option as it dirties the source.
> If we are in agreement, I may be able to provide a patch.

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