[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Problem with org.eclipse.equinox.adaptor/src/org/eclipse/osgi/internal/eclipseadaptor/URLConverterImpl


We have moved the new adaptor reorg into a branch of org.eclipse.osgi in eclipse proper (branch name OSGI_AdaptorHooks).  See https://bugs.eclipse.org/bugs/show_bug.cgi?id=114968 to track the progress.  As a result the org.eclipse.equinox.adaptor project has become stale, all current work is going on in the branch.  We hope to merge the OSGI_AdaptorHooks branch into HEAD this week.

Tom





"Jochen Hiller" <jochen.hiller@xxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

01/31/2006 05:06 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
equinox-dev@xxxxxxxxxxx
cc
Subject
[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
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev