Re: Maven support

2007-04-24 Thread Vincent
Jerome , should we support the legacy layout from Maven 1 or should be directly move to the better one introduced by Maven 2. Does anyone has good pointers? I don't think that too many people will want to add restlet to an existing project that is built with maven 1.x. It's more likely

Re: Maven support

2007-04-24 Thread Vincent
Jerome, Instead of relying on a public Maven repository such as Ibiblio, we would prefer to host our own Maven repository at maven.noelios.com and control its freshness and service quality. what prevents you from controlling ibiblio's freshness? -Vincent.

RE: Context, Attributes, and Parameters...

2007-04-24 Thread Jerome Louvel
Hi Alex, I've run into a snag where I've set an attribute on the context to pass along environment information to parts of my application. When I pass the attribute via the context in the constructor, the constructor can get access to the attribute but later on the getContext()

RE: RE: Directory restlet

2007-04-24 Thread Jerome Louvel
Hi Chuck, Agreed, the Javadocs have been updated in SVN. The general rule is to use the constructor with the Context parameter instead of the default/lazy one. Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : lundi 23 avril 2007 15:31

Re: Maven support

2007-04-24 Thread Stian Soiland
On 23 Apr 2007, at 18:10, Jerome Louvel wrote: Still, some dependencies like AsyncWeb and Simple are not available (yet?) in public repositories. It seems that users could workaround the current limitations by managing a local repository where they would manually upload the missing JAR

RE: Restlet XMPP

2007-04-24 Thread Jerome Louvel
Alex, Thanks for leveraging the Restlet API in this new effort. This looks useful and really promising! I've just updated the Restlet Web site to mention third-party integrations (eXist and XMPP for now). Let me know if important info is missing:

RE: Maven support

2007-04-24 Thread Jerome Louvel
Hi Vincent, Here is the guide to Ibiblio upload: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html As you can see, the default upload mechanism has manual steps. They do propose a synchronization script but that forces me to give an SSH access to their script, which I'm not too fond

RE: Maven support

2007-04-24 Thread Jerome Louvel
Hi Stian, If you do start your own repository, and there's nothing in the license of say Asyncweb or Simple preventing you from doing so, you can include those artefacts in that repository as well. Ideally adding the repository for Restlet and the dependency for the chosen Restlet

RE: HTTP client don't support long username/pw for HTTP basic authentication

2007-04-24 Thread Jerome Louvel
Stian, Thanks for the report and the patch. This is now fixed in SVN. I would also like to integrate your JUnit test case. For this, would it be possible for you to return me (scanned by email, fax or letter) the signed Joint Copyright Assignment available here:

Re: Maven support

2007-04-24 Thread Stian Soiland
On 24 Apr 2007, at 10:50, Jerome Louvel wrote: If we automate the refresh of the first repository every week (and immediately in case of a major security issue), I think this is reasonable for most projects depending on Restlets. What do you think? This sounds quite reasonable, one week

Re: Reference not resolving

2007-04-24 Thread John D. Mitchell
On 4/23/07, Mike Moran [EMAIL PROTECTED] wrote: On 23 Apr 2007, at 00:33, John D. Mitchell wrote: Sorry for the slow response, too busy to keep up. :-( [ ... ] Note that we enforce all the URI spec examples with a set of unit tests. Looking at how tricky those examples are, we feel very

RE: Reference not resolving

2007-04-24 Thread Jerome Louvel
John, [...] That confusion over the file- or dir-ness is *precisely* why the add trailing slash hack is done everywhere. Jerome's argument that disagreement is moot because of the add trailing slash hack is plenty of proof. :-) The Reference class has no clue about whether dir is a file

Re: Reference not resolving

2007-04-24 Thread John D. Mitchell
On 4/24/07, Jerome Louvel [EMAIL PROTECTED] wrote: [...] That confusion over the file- or dir-ness is *precisely* why the add trailing slash hack is done everywhere. Jerome's argument that disagreement is moot because of the add trailing slash hack is plenty of proof. :-) The Reference

Re: Getting servlet init parameters out of 'web.xml'

2007-04-24 Thread Peter Murray
On 4/24/07 4:24 AM, Jerome Louvel wrote: In the Servlet extension, we have a ServletContextAdapter that is used to adapt a Servlet context into a Restlet context. It ensures that logging and init parameters are properly exposed to your Restlet Application. Therefore, you should be able to

restlet newbie question

2007-04-24 Thread srinivas ramgopal
Hi all, I am new to rest and restlet. I have a Spring based project and I would like to expose a web service using Restlet instead of SOAP. I came accross in this mailing list that Restlet (with Spring) can be used in one of the following 3 ways but I am still not sure as which way to adopt and