archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r564511 - /maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
Date Fri, 10 Aug 2007 08:44:34 GMT
Author: brett
Date: Fri Aug 10 01:44:33 2007
New Revision: 564511

URL: http://svn.apache.org/viewvc?view=rev&rev=564511
Log:
[MRM-408] make sure parent directories exist when making a PUT request

Modified:
    maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java

Modified: maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java?view=diff&rev=564511&r1=564510&r2=564511
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
(original)
+++ maven/archiva/trunk/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
Fri Aug 10 01:44:33 2007
@@ -135,6 +135,10 @@
         }
         else
         {
+            // Create parent directories that don't exist when writing a file
+            // This actually makes this implementation not compliant to the WebDAV RFC -
but we have enough knowledge
+            // about how the collection is being used to do this reasonably and some versions
of Maven's WebDAV don't
+            // correctly create the collections themselves.
             File rootDirectory = getRootDirectory();
             if ( rootDirectory != null )
             {



Mime
View raw message