You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/09 12:15:10 UTC

[jira] Commented: (MNG-463) [data loss] installation script inconditionally deletes M2_HOME contents

     [ http://jira.codehaus.org/browse/MNG-463?page=comments#action_40877 ]
     
Brett Porter commented on MNG-463:
----------------------------------

what "installation script" are you referring to? The bootstrap, for doing a development build?


> [data loss] installation script inconditionally deletes M2_HOME contents
> ------------------------------------------------------------------------
>
>          Key: MNG-463
>          URL: http://jira.codehaus.org/browse/MNG-463
>      Project: Maven 2
>         Type: Improvement
>     Versions: 2.0-alpha-3
>     Reporter: Jerome Lacoste
>     Priority: Critical

>
>
> I've set up M2_HOME to a wrong directory by mistake, and the m2 installer deleted everything in it...
> May I suggest to use the same strategy used by the cargo installer?
> I.e. 
> if (target directory empty || m2 marker file exists)
> - copy the contents
> - add a marker file specific to m2
> else
>   warn user
> See CARGO-27 for the original CARGO issue.

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org