Mainly due to newly introduced "enum" keyword, current CVS source fails to compile with new JDK 1.5 compiler. With "ant full-dist", I get several "enum is now a keyword" errors, and a symbol clash error on "compareTo" method in org/apache/webdav/lib/WebdavFile.java. I have hacked up a patch to fix these issues, and it is available from the URL above.
What is this part of the patch about? Skipping it... --- ./webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavFile.java.tai 2004-11-25 09:47:01.000000000 +0900 +++ ./webdavclient/clientlib/src/java/org/apache/webdav/lib/WebdavFile.java 2004-11-25 10:39:29.000000000 +0900 @@ -479,9 +479,9 @@ return -1; } - public int compareTo(Object o) { - return compareTo((File)o); - } +// public int compareTo(Object o) { +// return compareTo((File)o); +// } public boolean equals(Object x) { if(x==null)
Complete patch applied