[ 
http://jira.codehaus.org/browse/MRM-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104912
 ] 

Patrick Gallagher commented on MRM-476:
---------------------------------------

I think that Brett is right.  Treating this as a path is the right idea.  If 
you were wanting to treat the field as a java.net.URL, you could just parse the 
string input and set the host appropriately by either extracting the network 
host or using localhost for local paths.  Of course this is just for the file 
protocol but that is know from the prefix.

> ability to use file protocol using UNC path for Managed repository
> ------------------------------------------------------------------
>
>                 Key: MRM-476
>                 URL: http://jira.codehaus.org/browse/MRM-476
>             Project: Archiva
>          Issue Type: New Feature
>          Components: WebDAV interface
>    Affects Versions: 1.0-beta-1
>         Environment: window NT, apache tomcat 5.5, 
>            Reporter: Patrick Gallagher
>             Fix For: 1.0-beta-3
>
>
> Currently, if I try to use a network share with a UNC path when creating a 
> Managed Repository, the path is replaced with a newly created directory on 
> the system root.  For example, using the path of 
> file:/\\path_to_network_share gets changed to file:/C:/path_to_network share. 
>  I have tried a combination of strings for the url but have not been able to 
> connect to a network share.  

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

        

Reply via email to