[ 
http://jira.codehaus.org/browse/MJSPC-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Genender closed MJSPC-12.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.7

Fixed in 147-SNAPSHOT.  Thanks for the patch.

> Packaging does not work correctly under Windows
> -----------------------------------------------
>
>                 Key: MJSPC-12
>                 URL: http://jira.codehaus.org/browse/MJSPC-12
>             Project: Maven 2.x JSPC Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>         Environment: Windows Operating System
>            Reporter: Michael Tamm
>            Priority: Critical
>             Fix For: 1.4.7
>
>         Attachments: AbstractJspcMojo.java.patch
>
>
> in AbstractJspcMojo.moveClassFiles() the last line is: "from.renameTo(to)".
> Unfortunately this does not work under Windows, if the File identified by to 
> already exists. (The returned value of renameTo in this case would be false.)
> Therefore without a clean before package, the war file will not contain the 
> up to date classes.
> I attached a simple patch, which fixes this bug.

-- 
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 from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to