Or refactor the repository conversion routines a bit to expose the path conversion routines. ;-)
Archiva is undergoing a lot of work right now. Please keep us honest and get those jira's filed. - Joakim nicolas de loof wrote: > I've reopened this issue as the DAV-based request (/repository/id) > replacing > the proxy-based request (/proxy/id) has broken this feature. > > As explained in Jira, the ProxiedDavServer doesn't use the result of the > proxyRequestHandler.get() method invocation, that may have changed the > target path. Solving this has two options : > > - build the path from the returned File (requires some > getAbsolutePath().substring() that are not very clean). Perhaps there is > methods to get the path of the artifact based on the File object ? > - change proxyRequestHandler to return a path and not a File (or some > composite object) > > What do you think would be better ? > > Nico. >