archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <nicolas.del...@gmail.com>
Subject Re: cannot use a samba share as managed repository
Date Thu, 22 Mar 2007 16:17:41 GMT
Just for info, this issue is documented at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4723726

Maybe some day will SUN consider windows as a supported platform ;-)


2007/3/20, nicolas de loof <nicolas.deloof@gmail.com>:
>
> As tomcat runs as a windows service on an server I can't admin , I cannot
> mount the windows share. I'll have to store my managed repo in a local
> folder and configure some backup...
>
> 2007/3/20, Joakim Erdfelt <joakim@erdfelt.com>:
> >
> > The \\computername\sharedfolder\resource syntax is UNC.
> > http://en.wikipedia.org/wiki/Uniform_Naming_Convention
> >
> > Java has terribly inconsistent support for UNC.
> > (mostly due to slash escaping bugs)
> > It's far more reliable to mount your share, and reference it via the
> > mount point.
> >
> > - Joakim
> >
> > nicolas de loof wrote:
> > > Hello,
> > >
> > > I'd like my managed repository to be stored on a file server. I can
> > > acces it
> > > using a smb share : \\servfichier\Maven_Repository\public
> > > The URL file://///servfichier/Maven_Repository/public/ works well to
> > > acces
> > > it
> > >
> > > When I configure Archiva using this path, the artifact request fails
> > > in the
> > > DAVRepository class.
> > > The constructor of this class builds an URI from the File. From
> > > \\servfichier\Maven_Repository\public as a File, the URI is
> > > file:/servfichier/Maven_Repository/public/ that is invalid.
> > >
> > > This URI is built using the JRE File class and it's toURI() and
> > > normalize()
> > > methods. So I don't know if I missunderstood the use of windows-share
> > > under
> > > Java.
> > >
> > > All this relates to class from it.could.webdav, so maybe this is not
> > the
> > > best place to ask for this...
> > >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message