Hi all,

In the "/lib" folder of the distribution, there is a README.txt file folder
that attempts the list the main dependencies for each JAR. I've reviewed it
again and fully updated it (see attached copy).

I've also fixed all the NPE that can occurs inside the API when a JAR is
missing, displaying only the error like "SEVERE: Unable to register the
Restlet API implementation...". Hope this helps clarify messages.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Dave Pawson [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 9 novembre 2006 09:05
> À : [email protected]
> Objet : Re: tutorial examples.
> 
> Thanks AJ
> 
> On 08/11/06, A.J. Barnes <[EMAIL PROTECTED]> wrote:
> 
> > Looks like you're missing the javax jar. In the lib fold, 
> there are two
> > javax.servlet folders. From what I remember you need to include the
> > javax.servlet.jar from one of these, particularly from 
> javax.servlet_2.5
> > if you are using Jetty 6.
> >
> > I think we probably need an entry in the Wiki, but I 
> haven't had a chance
> > to work out all the dependancies for each type of Server or Client.
> 
> Haven't tried removing them yet, but for examples 3 and  5, I now have
> file.reference.com.noelios.restlet.ext.asyncweb_0.8.jar=../../
myjava/restlet/lib/com.noelios.restlet.ext.asyncweb_0.8.jar
> file.reference.com.noelios.restlet.ext.jetty_6.0.jar=../../myj
ava/restlet/lib/com.noelios.restlet.ext.jetty_6.0.jar
> file.reference.com.noelios.restlet.ext.net.jar=../../myjava/re
> stlet/lib/com.noelios.restlet.ext.net.jar
> file.reference.com.noelios.restlet.jar=../../myjava/restlet/li
> b/com.noelios.restlet.jar
> file.reference.javax.servlet.jar=../../myjava/restlet/lib/java
> x.servlet_2.5/javax.servlet.jar
> file.reference.org.mortbay.jetty.jar=../../myjava/restlet/lib/
> org.mortbay.jetty_6.0/org.mortbay.jetty.jar
> file.reference.org.mortbay.jetty.util.jar=../../myjava/restlet
> /lib/org.mortbay.jetty_6.0/org.mortbay.jetty.util.jar
> file.reference.org.restlet.jar=../../myjava/restlet/lib/org.re
> stlet.jar
> file.reference.org.safehaus.asyncweb.jar=../../myjava/restlet/
> lib/org.safehaus.asyncweb_0.8/org.safehaus.asyncweb.jar
> 
> HTH DaveP
> 
> 
> 
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
=================================
Plugins and third-party libraries
=================================


The content of this directory can be directly copied inside the plugins 
directory of your Eclipse IDE (see http://www.eclipse.org for details).
When you restart the IDE, you will see that all the plugins were automatically
registered and can directly be used within your applications and your own 
plugins.

Below is a list of the dependencies between Restlet plugins. If you use the 
plugins (either as a JAR or as a directory) withing an Eclipse IDE, then the 
dependencies are automatically declared. However, if you add them directly on 
your classpath, you need to ensure that all the dependencies are also on the 
classpath, otherwise ClassNotFound exceptions will be thrown.
 
 
org.restlet (Restlet API)
-----------
 - J2SE 5.0


org.restlet.ext.atom_1.0 (Implementation of Atom specifications)
------------------------
 - org.restlet
 

org.restlet.ext.fileupload_1.1 (Integration with Apache FileUpload)
------------------------------
 - javax.servlet_2.4
 - org.apache.commons.fileupload_1.1 
 - org.restlet


org.restlet.ext.freemarker_2.3 (Integration with FreeMarker template engine)
------------------------------
 - org.freemarker_2.3
 - org.restlet


org.restlet.ext.json_2.0 (Integration with JavaScript Object Notation)
------------------------
 - org.json_2.0
 - org.restlet


org.restlet.ext.velocity_1.4 (Integration with Apache Velocity)
----------------------------
 - org.apache.commons.collections_3.2
 - org.apache.velocity_1.4
 - org.restlet
 

com.noelios.restlet (Noelios Restlet Engine)
-------------------
 - org.restlet


com.noelios.restlet.example (Tutorial examples)
---------------------------
 - org.restlet
 - com.noelios.restlet
 - com.noelios.restlet.ext.net
 - com.noelios.restlet.ext.simple_3.1 (or another HTTP Server connector)
 

com.noelios.restlet.ext.asyncweb_0.8 (AsyncWeb server HTTP connector)
------------------------------------
 - com.noelios.restlet
 - edu.oswego.cs.dl.util.concurrent_1.3
 - org.apache.commons.logging_1.1
 - org.apache.mina_0.8
 - org.restlet
 - org.safehaus.asyncweb_0.8
 - org.slf4j_1.0


com.noelios.restlet.ext.javamail_1.4 (SMTP client connector based on JavaMail)
------------------------------------
 - com.noelios.restlet
 - javax.mail_1.4
 - org.restlet


com.noelios.restlet.ext.jdbc_3.0 (JDBC client connector using Apache 
connections pool)
--------------------------------
 - com.noelios.restlet
 - org.apache.commons.dbcp_1.2
 - org.apache.commons.logging_1.1
 - org.apache.commons.pool_1.3
 - org.restlet


com.noelios.restlet.ext.jetty_5.1 (Jetty 5 server HTTP connector)
---------------------------------
 - com.noelios.restlet
 - javax.servlet_2.4
 - org.apache.commons.logging_1.1
 - org.mortbay.jetty_5.1
 - org.restlet


com.noelios.restlet.ext.jetty_6.0 (Jetty 6 server HTTP connector)
---------------------------------
 - com.noelios.restlet
 - javax.servlet_2.5
 - org.mortbay.jetty_6.0
 - org.restlet


com.noelios.restlet.ext.net (HTTP client connector based on JDK's 
HttpUrlConnection)
---------------------------
 - com.noelios.restlet
 - org.restlet


com.noelios.restlet.ext.servlet_2.4 (Servlet base server HTTP connector)
-----------------------------------
 - com.noelios.restlet
 - javax.servlet_2.4
 - org.restlet


com.noelios.restlet.ext.simple_3.1 (Simple server HTTP connector)
----------------------------------
 - com.noelios.restlet
 - org.restlet
 - org.simpleframework_3.1

Reply via email to