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 likel

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() met

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

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

2007-04-24 Thread Jerome Louvel
Hi Peter, 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 get your initialization parameters s

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 f

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: http://www.restlet.org/documentation/1.0/integra

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 > Restl

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: http://www.restlet.org/community/

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 is

Re: ConnectorService implementation

2007-04-24 Thread Dig
Jerome Louvel noelios.com> writes: > > > Hi Dig, > > This attribute should indeed have been set early by the Application itself. > This bug is now fixed in SVN. > > Let me know if the ConverterService now works as expected without you custom > Finder. BTW, calling setConnectorService() is

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 fe

Re: Restlet & XMPP

2007-04-24 Thread Alex Milowski
On 4/24/07, Jerome Louvel <[EMAIL PROTECTED]> wrote: Alex, Thanks for leveraging the Restlet API in this new effort. This looks useful and really promising! Thanks. I've actually just gotten it to the point where I can create an application and have it respond to both HTTP and XMPP. It att

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

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 Refe

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

Example of a Restlet Application/Servlet using both Client and Server

2007-04-24 Thread Peter Murray
Thanks, Jerome, for your recent replies on questions about the 1.0.0 release, and for your efforts on Restlet in general. It is truly a useful piece of work. I'd like to share an Restlet-based application that others may find useful as a template or example. It is called "BaseDisseminator" and i

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

RE: Example of a Restlet Application/Servlet using both Client and Server

2007-04-24 Thread Jerome Louvel
Hi Peter, Thanks for sharing your experience with this application. I'm sure it will help users playing with transformations using the Restlet API. I've added an entry into the Wiki: http://wiki.java.net/bin/view/Javawsxml/Restlet Best regards, Jerome > -Message d'origine- > De : news