Hi,
I tried to build a setup of restlet 1.1.6 with equinox as described in:
http://wiki.restlet.org/docs_1.2/13-restlet/48-restlet/238-restlet.html

I'm running eclipse 3.5 instead of 3.4 as used in the tutorial, are there
any known issues with that?

Step 6 of the tutorials first part is "In the Dependencies tab of the
manifest editor, import the following packages: org.restlet,
org.restlet.data, org.restlet.representation, org.restlet.resource,
org.restlet.security, org.restlet.service, org.restlet.util".

My problem is, that "org.restlet.representation" and "org.restlet.security"
seem to be missing in restlet 1.1.6, at least I get an error when adding
them to the "Import-Package" list. In a naive attempt I just ignored that
and tried without them, but I end up with the following output on the osgi
console:

*osgi> 16.10.2009 18:57:14 org.restlet.util.Engine getInstance*
*SCHWERWIEGEND: Unable to find an implementation of the Restlet API. Please
check your classpath.*
*16.10.2009 18:57:14 org.restlet.Restlet <init>*
*SCHWERWIEGEND: Unable to fully initialize the Restlet. No Restlet engine
available.*

My MANIFEST.MF looks like this:

*Manifest-Version: 1.0*
*Bundle-ManifestVersion: 2*
*Bundle-Name: FooBarService*
*Bundle-SymbolicName: foo.bar*
*Bundle-Version: 1.0.0.qualifier*
*Bundle-Activator: foo.bar.Activator*
*Import-Package: org.osgi.framework;version="1.3.0",*
* org.restlet,*
* org.restlet.data,*
* org.restlet.resource,*
* org.restlet.service,*
* org.restlet.util*
*Bundle-RequiredExecutionEnvironment: JavaSE-1.6*

Does anyone of you have an idea what I am doing wrong?

Some hint to a combination of restlet <-> equinox <-> eclipse versions that
are known to work would also be great.

I would like to stick with restlet, so it's ok for me to switch from equinox
to apache felix if there are any problems with equinox.

Kind regards
Moritz

-- 
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391

www.sipgate.de - www.sipgate.at - www.sipgate.co.uk

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2408289

Reply via email to