Hello,
I have the same issue using the current 2.1-snapshot as of today.
Details of the setup:
-
Restlet Client:
---
- Android 2.1-snapshot
Libs in Classpath:
- jackson-core-asl-1.6.3.jar
- jackson-mapper-asl-1.6.3.jar
- org.restlet.ext.jackson.jar
-
How do i reuse the ServerResource to store many resource?
for instance, i have already do:
router.attach(/contact/123, ContactServerResource.class);
How do i type in a different url like /shops/1234 to get to the
ContactServerResource's other resource. it seems that one URL is
Tutorial works fine for me in dev mode, but fails when I upload to appspot. I
only have a single servlet in my web.xml
web-app
context-param
param-nameorg.restlet.clients/param-name
param-valueCLAP FILE/param-value
/context-param
servlet
servlet-nameadapter/servlet-name
You have to use URI templates for the routes, for example:
router.attach(/contact/{id}, ContactServerResource.class);
and in ContactServerResource you do something like this:
String contactID = (String)getRequestAttributes().get(id);
On Mon, Dec 20, 2010 at 1:32 AM, webp...@tigris.org wrote:
I'm using Restlet 2.0.3 JSE and GWT editions.
There appears to be a known issue with regards to this error during the
gwtc part of a build:
[ERROR] The method getAnonymousLogger() is undefined for the type Logger
But it seemed as though a fix was going to be present in the 2.0.2/2.0.3
branch.
Hello Dustin,
I've fixed it a few days later in the svn repository. The snapshot and maven
repository will be updated in a one hour.
Best regards,
Thierry Boileau
I'm using Restlet 2.0.3 JSE and GWT editions.
There appears to be a known issue with regards to this error during the
gwtc part
6 matches
Mail list logo