Name clash with a basic class seems like an unlikely first error to encounter with a new package (using javac 1.5.0_06). Any pointers?

Bill


% ant build-clientlib
Buildfile: build.xml

prepare-build:

build-clientlib:
     [echo] Building Slide WebDAV client lib
[javac] Compiling 73 source files to /export/home/wr152514/slide/jakarta-slide-webdavclient-src-2.1/build/clientlib/classes [javac] /export/home/wr152514/slide/jakarta-slide-webdavclient-src-2.1/clientlib/src/java/org/apache/webdav/ui/WebdavSystemView.java:43: name clash: compareTo(java.lang.Object) in org.apache.webdav.lib.WebdavFile and compareTo(T) in java.lang.Comparable<java.io.File> have the same erasure, yet neither overrides the other
    [javac]     private HttpURL rootURL = null;
    [javac]        ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
file:/export/home/wr152514/slide/jakarta-slide-webdavclient-src-2.1/build.xml:162: Compile failed; see the compiler error output for details.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to