> Trying to compile the webdavgui classes I some errors:
>
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\filechooser\plafui\SPMetalFileChooserUI.java:244: The type
> javax.swi
> ng.plaf.metal.MetalFileChooserUI.FileRenderer to which the member
> getListCellRen
> dererComponent belongs is not accessible from inner class
> org.apache.webdav.ui.f
> ilechooser.plafui.SPMetalFileChooserUI. MetalFileRenderer.
> [javac] super.getListCellRendererComponent(list, value,
> index, isSel
> ected,
> [javac] ^
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\filechooser\plafui\SPWindowsFileChooserUI.java:246: The
> type com.sun
> .java.swing.plaf.windows.WindowsFileChooserUI.FileRenderer to which
> the member g
> etListCellRendererComponent belongs is not accessible from inner class
> org.apach
> e.webdav.ui.filechooser.plafui.SPWindowsFileChooserUI.
> WindowsFileRenderer.
> [javac] super.getListCellRendererComponent(list, value,
> index, isSelec
> ted,
> [javac] ^
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\LoginFrame.java:239: Incompatible type for method. Can't
> convert jav
> a.lang.String to org.apache.commons.httpclient.Credentials.
> [javac] proxyServerName, proxyPort);
> [javac] ^
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\LoginFrame.java:239: Incompatible type for method. Can't
> convert int
> to boolean.
> [javac] proxyServerName, proxyPort);
> [javac] ^
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\lab\MainFrame.java:207: Incompatible type for method.
> Can't convert
> java.lang.String to org.apache.commons.httpclient.Credentials.
> [javac] proxyServerName, proxyPort);
> [javac] ^
> [javac]
> D:\usr\people\jakarta-slide\src\contrib\webdavgui\src\java\org\apach
> e\webdav\ui\lab\MainFrame.java:207: Incompatible type for method.
> Can't convert
> int to boolean.
> [javac] proxyServerName, proxyPort);
> [javac] ^
> [javac] 6 errors
>
> is this package supposed to be compilable and if so what should I do
> to fix these errors?
The first two may be problems with some specific JDK version, but I didn't
look into it.
Michael's HTTP client apparently support proxies, but the HTTP client in
commons doesn't (and doesn't have the appropriate constructors). So we'll
have to either :
- add the appropriate code in the commons
- remove the proxy option
Remy