[ http://jira.codehaus.org/browse/MCLEAN-4?page=all ]
John Casey updated MCLEAN-4:
----------------------------
Fix Version: 2.0.1
> does not handle symbolic links correctly
> ----------------------------------------
>
> Key: MCLEAN-4
> URL: http://jira.codehaus.org/browse/MCLEAN-4
> Project: Maven 2.x Clean Plugin
> Type: Bug
> Reporter: John Casey
> Assignee: John Casey
> Priority: Blocker
> Fix For: 2.0.1
>
>
> inside removeDir(..), each file needs to be checked to see if it's a symbolic
> link. If so, the link should be deleted, not the referenced location. I
> *think* we can address this by adding a check similar to:
> if ( !f.getCanonicalPath().startsWith( d.getCanonicalPath() ) )
> {
> // don't process as a subdir, just erase the file. WILL THIS WORK?
> }
--
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]