Hi everyone,
I found a solution that works for me. It doesn't add support for WARs but at
least it enables me to run the example in stand alone mode.
In the org.restlet.example.gwt.server.TestServerApplication class change the
line
router.attach("/", new Directory(getContext(), "war:///"));
to something like
//router.attach("/", new Directory(getContext(),
"file:///PATH/TO/YOUR/STATIC/FILES"));
where "PATH/TO/YOUR/STATIC/FILES" should point to the directory where the
TestGwtRestlet_2_0.html file is located (i.e. the war-directory of the
project). Note the three slashes in the beginning.
I haven't figured out if one can supply a relative path here. Maybe someone can
comment on that.
Best regards,
Stefan
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2444827