[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[equinox-dev] Problem with org.eclipse.equinox.adaptor/src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl
|
Hi all,
I just setup an environment for server side OSGi integration.
I am using these platform plugins from CVS head:
org.eclipse.equinox.registry
org.eclipse.osgi
org.eclipse.equinox.common
org.eclipse.core.runtime
org.eclipse.core.jobs
org.eclipse.equinox.preferences
org.eclipse.core.contenttype
org.eclipse.osgi.services
and from equinox-incubator (HEAD)
org.eclipse.equinox.adaptor
org.eclipse.equinox.servlet.ext
org.eclipse.equinox.servlet.bridge
URLConverterImpl does not compile, as interface has been changed. Attached a
simple patch:
#P org.eclipse.equinox.adaptor
Index: src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl.java
===================================================================
RCS file:
/cvsroot/eclipse/equinox-incubator/org.eclipse.equinox.adaptor/src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl.java,v
retrieving revision 1.2
diff -u -r1.2 URLConverterImpl.java
--- src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl.java 20
Jan 2006 16:02:26 -0000 1.2
+++ src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl.java 31
Jan 2006 22:38:14 -0000
@@ -24,7 +24,7 @@
*/
public class URLConverterImpl implements URLConverter {
- public URL convertToFileURL(URL url) throws IOException {
+ public URL toFileURL(URL url) throws IOException {
//TODO should close connection at all times
URLConnection connection = url.openConnection();
if (connection instanceof EquinoxURLConnection)
@@ -32,7 +32,7 @@
return url;
}
- public URL convertToLocalURL(URL url) throws IOException {
+ public URL resolve(URL url) throws IOException {
//TODO should close connection at all times
URLConnection connection = url.openConnection();
if (connection instanceof EquinoxURLConnection)
Does I have a wrong configuration, or is it just a bug ? If a bug, I will
post it to bugzilla.
Thanks, Jochen
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner