Hi Justin,

Here are more detailled steps:
 - drop the JARs in the Eclipse plugin directory
 - restart Eclipse 
 - go into "Help/About Eclipse SDK" menu
 - in the new dialog, click on the "Plug-in Details" button
 - in the new dialog, you should see the registered plugins under the
"Noelios Consulting" provider name

Now in order to use those plugins:
 - select "New Project"
 - choose "Plug-in Project" and click "Next >"
 - enter a project name and click "Next >"
 - disable the plug-in options checkboxes (unless you do need them)
 - click "Finish" and you should see you new project with the plug-in
"Overview" panel displayed
 - select the "Dependencies" tab
 - click "Add..." in the "Required Plug-ins..." section
 - select the plugins you need, start by either "org.restlet",
"com.noelios.restlet" or the package name for third-party libraries (Jetty,
Servlet API, etc.).

Now you're done, you can create new classes and import the org.restlet.*
packages to work with Restlets. 

Note, that if you add several server HTTP dependencies, only the first one
in the list will be use to create connectors.

Also note that you can't add a dependency to Jetty 5 and Jetty 6 at the same
time as it will result in a "security violation" as you experienced, because
they use the same package names. 

Best regards,
Jerome  

PS: I didn't understand you P.S., are you talking about GMane UI when
posting to the group?

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Justin C. 
> van Vorst
> Envoyé : mardi 24 octobre 2006 18:29
> À : [email protected]
> Objet : Eclipse plugin?
> 
> The restlet/lib/readme.txt says to drop the contents 
> of the directory into the Eclipse plugin directory.  I 
> did that but didn't notice any change once I started 
> Eclipse back up.  Is there something more I should 
> be doing? 
> 
> In the meantime, I just made a User Library of all the 
> jars from lib and its sub-directories.  Seems to work, 
> but took me a while to figure out that a security violation 
> I was getting was caused by including both the 
> restlet.jetty_5.1 and restlet.jetty_6.0 jars. 
> 
> 
> 
> P.S. This "You have lines longer than 80 
> characters. Fix that." error is lame. 
> 
> 

Reply via email to