Hi Fred,
please read the followin sections, it should help you :
http://www.restlet.org/documentation/1.0/connectors
http://www.restlet.org/documentation/1.0/integrators
We will consider your proposition to download a zip with simple example
source code, jars and ant build file which seems a good idea.
Thank you for your interest in the Restlet project.
Best regards,
Thierry Boileau
I built a simple example based on the code from "Sample application"
WebComponent. I am not using Eclipse or anything like that. Just
compiling the code with the command line javac and running with java.
The app source in a folder test and test has the /com and /org folders
with all the Restlet sources. The app compiles fine but at runtine I get:
C:\Restlet-1.0\src\Test>java -classpath C:\Restlet-1.0\src\Test
WebComponent localhost 8080 /www /data template user pass
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
24/06/2007 22:03:43 org.restlet.util.Engine getInstance
SEVERE: Unable to find an implementation of the Restlet API. Please
check your classpath.
C:\Restlet-1.0\src\Test>
I check the source code and it seems that
URL configURL = cl.getResource(providerResource);
is null because
private static final String providerResource =
"META-INF/services/org.restlet.util.Engine";
is not found.How could it be since the classes are not in a jar in my
case. I don't see any file like that in the source code.
Is there a way to get that working without building the jars by
downloading the whole Restlet project with svn?
Thanks
Fred