Re: Restlet 1.0 RC2 released
Hi Jerome, > Could you share this script or the generated POMs on this bug report? > http://restlet.tigris.org/issues/show_bug.cgi?id=91 Done.Ideas to improve it are welcome. -Vincent.
RE: Restlet 1.0 RC2 released
Hi Vincent, Could you share this script or the generated POMs on this bug report? http://restlet.tigris.org/issues/show_bug.cgi?id=91 That would help me fix this RFE more quickly. Best regards, Jerome > -Message d'origine- > De : news [mailto:[EMAIL PROTECTED] De la part de Vincent > Envoyé : jeudi 11 janvier 2007 08:50 > À : discuss@restlet.tigris.org > Objet : Re: Restlet 1.0 RC2 released > > > > Mitch Stewart wrote: > > > I use Maven2 myself, so whenever a new > > > release comes out I just have a series of basic poms that > I edit and > > > deploy using a simple script. It's hacky but it works. > > Mike Moran mac.com> writes: > > I think that makes three of us! > > Make that four! > > I have a mavenizrRestlet scripts that points to a restlet > distribution, > generates the POMs, and install them (via mvn) into my local > maven repository. > > -Vincent. >
Re: Restlet 1.0 RC2 released
Mitch Stewart wrote: > > I use Maven2 myself, so whenever a new > > release comes out I just have a series of basic poms that I edit and > > deploy using a simple script. It's hacky but it works. Mike Moran mac.com> writes: > I think that makes three of us! Make that four! I have a mavenizrRestlet scripts that points to a restlet distribution, generates the POMs, and install them (via mvn) into my local maven repository. -Vincent.
RE: Restlet 1.0 RC2 released
Ryan Daum wrote: [...] > BTW, are there any pieces of documentation on the > representation & resource portions of the library? All the > tutorials I saw got as far as the registration of handlers, > but didn't really describe common RESTy-patterns for the > representation of resources using the library. There isn't any deep documentation covering this important topic yet. But, we are currently working on filling this gap. For now, you can check this related FAQ entry: http://www.restlet.org/faq#15 Also, there is a sample application that was written by Chris Winters (based on beta 18) doing content negotiation with multiple representations on a resource, see: http://wiki.restlet.org Finally, I've illustrated a request processing flow, from the connector to the domain object: http://www.restlet.org/images/application > Anyways, great work, looking forward to trying RC2. Thanks! Let us know how it goes. Best regards, Jerome Louvel
RE: Restlet 1.0 RC2 released
Hi all, Thanks for pushing this issue up again. As there is a strong need to support Maven, I would like to provide a solution for 1.1 and ideally for 1.0 too. Converting the build from Ant to Maven was tried in the past but failed due to the way Eclipse organizes plugins, in a flat structure, preventing the nesting of projects naturally used by Maven. However, the dynamic generation of POM descriptors is definitely something feasible, especially if I get help defining the ideal POM templates. As the distribution contains 16 JARs with dependencies between them and with third-party libraries, that should make 16 POM files. Could those already having private POMs attach them to the RFE report? http://restlet.tigris.org/issues/show_bug.cgi?id=91 Once we get a good set of samples, I'll adjust the Ant build script to generate them dynamically and provide them either via the Web site for each release. Best regards, Jerome > -Message d'origine- > De : Mike Moran [mailto:[EMAIL PROTECTED] > Envoyé : mardi 9 janvier 2007 18:15 > À : discuss@restlet.tigris.org > Objet : Re: Restlet 1.0 RC2 released > > Mitch Stewart wrote: > > Hi Ryan, > > > > I think this was attempted awhile ago, Jerome actually > tried to move the > > entire build process to Maven2 but I don't think it fit well and he > > ended up reverting back to Ant. I use Maven2 myself, so > whenever a new > > release comes out I just have a series of basic poms that I edit and > > deploy using a simple script. It's hacky but it works. > [ ... ] > > I think that makes three of us! ;-) > > > > > However, I think it might be worthwhile to post some POMs > to the mailing > > list...even if the project isn't built using Maven2, then > maybe the POMs > > can be included in the source distribution and modified as > part of the > > release process to include the appropriate version numbers. > That way the > > POMs are "standard"... > > I agree. Perhaps we can build up some POMs and/or other useful > information against the existing issue: > http://restlet.tigris.org/issues/show_bug.cgi?id=91 > > Jerome: Is this the best way to go forward? > > Ta, > > -- > Mike
Re: Restlet 1.0 RC2 released
Mitch Stewart wrote: Hi Ryan, I think this was attempted awhile ago, Jerome actually tried to move the entire build process to Maven2 but I don't think it fit well and he ended up reverting back to Ant. I use Maven2 myself, so whenever a new release comes out I just have a series of basic poms that I edit and deploy using a simple script. It's hacky but it works. [ ... ] I think that makes three of us! ;-) However, I think it might be worthwhile to post some POMs to the mailing list...even if the project isn't built using Maven2, then maybe the POMs can be included in the source distribution and modified as part of the release process to include the appropriate version numbers. That way the POMs are "standard"... I agree. Perhaps we can build up some POMs and/or other useful information against the existing issue: http://restlet.tigris.org/issues/show_bug.cgi?id=91 Jerome: Is this the best way to go forward? Ta, -- Mike
RE: Restlet 1.0 RC2 released
Hi Ryan, I think this was attempted awhile ago, Jerome actually tried to move the entire build process to Maven2 but I don't think it fit well and he ended up reverting back to Ant. I use Maven2 myself, so whenever a new release comes out I just have a series of basic poms that I edit and deploy using a simple script. It's hacky but it works. I'm sure at some point in the future when the dust settles a bit (and 1.0 is finally released) then maybe we can get restlet uploaded to the various Maven2 repositories out there. However, I think it might be worthwhile to post some POMs to the mailing list...even if the project isn't built using Maven2, then maybe the POMs can be included in the source distribution and modified as part of the release process to include the appropriate version numbers. That way the POMs are "standard"... Mitch From: Ryan Daum [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 10:38 AM To: discuss@restlet.tigris.org Subject: Re: Restlet 1.0 RC2 released Hey, great, new release (downloading)! I'm sure I'm not the first to mention it, but have you considered either switching your build to use Maven 2 or else at least providing Maven 2 friendly jars and POMs? I ask this because I had to generate my own (not very good ones) in our local repository, and now I'm going to have to update again... It might be something to consider for the full 1.0 release, to encourage wider adoption... BTW, are there any pieces of documentation on the representation & resource portions of the library? All the tutorials I saw got as far as the registration of handlers, but didn't really describe common RESTy-patterns for the representation of resources using the library. Anyways, great work, looking forward to trying RC2. Ryan On 1/9/07, Jerome Louvel <[EMAIL PROTECTED] > wrote: Hi all, Here is the second release candidate! Compared to RC1, it has many API refinements but no major breaking change, which is a good sign :-) Everyone is encouraged to upgrade and test as much as possible. Summary of main changes: - New Windows installer (contributed by Thierry Boileau) - Added XmlRepresentation class providing XPath support for DOM and SAX representations - Added Message.getEntityAsSax() and getEntityAsDom() methods - Extracted Variant super class from Representation, with metadata properties only - Added Resource.getRepresentation(Variant) method - Updated Jetty connector to use final 6.1 release Thank to the direct contributors: - Chris Battey - Dave Pawson - Randy Layman - Ryan Daum - Sean Landis - Sumit Lohia - Thierry Boileau Changes log: http://www.restlet.org/docs/changes Download links: http://www.restlet.org/downloads/restlet-1.0rc2.exe (NEW!) http://www.restlet.org/downloads/restlet-1.0rc2.zip Best regards, Jerome Louvel -- http://www.restlet.org
Re: Restlet 1.0 RC2 released
Hey, great, new release (downloading)! I'm sure I'm not the first to mention it, but have you considered either switching your build to use Maven 2 or else at least providing Maven 2 friendly jars and POMs? I ask this because I had to generate my own (not very good ones) in our local repository, and now I'm going to have to update again... It might be something to consider for the full 1.0 release, to encourage wider adoption... BTW, are there any pieces of documentation on the representation & resource portions of the library? All the tutorials I saw got as far as the registration of handlers, but didn't really describe common RESTy-patterns for the representation of resources using the library. Anyways, great work, looking forward to trying RC2. Ryan On 1/9/07, Jerome Louvel <[EMAIL PROTECTED]> wrote: Hi all, Here is the second release candidate! Compared to RC1, it has many API refinements but no major breaking change, which is a good sign :-) Everyone is encouraged to upgrade and test as much as possible. Summary of main changes: - New Windows installer (contributed by Thierry Boileau) - Added XmlRepresentation class providing XPath support for DOM and SAX representations - Added Message.getEntityAsSax() and getEntityAsDom() methods - Extracted Variant super class from Representation, with metadata properties only - Added Resource.getRepresentation(Variant) method - Updated Jetty connector to use final 6.1 release Thank to the direct contributors: - Chris Battey - Dave Pawson - Randy Layman - Ryan Daum - Sean Landis - Sumit Lohia - Thierry Boileau Changes log: http://www.restlet.org/docs/changes Download links: http://www.restlet.org/downloads/restlet-1.0rc2.exe (NEW!) http://www.restlet.org/downloads/restlet-1.0rc2.zip Best regards, Jerome Louvel -- http://www.restlet.org