quality@glassfish.java.net

Re: REMINDER: RESTful Web Services with Prelude Doc Review needed by end-of-day Monday, 10/13 PST

From: Sudhir Prabhu <Sudhir.Prabhu_at_Sun.COM>
Date: Thu, 09 Oct 2008 16:21:34 +0530
Kristian,

http://pkg.glassfish.org still has older jersey version. And that version had ant based samples. We have not yet pushed the current jersey to the update center. Will let you know once that is done.

Regards,
Sudhir

Kristian Rink wrote:
Debbie.Carson@Sun.COM schrieb:
  
This is a reminder that the first draft of the RESTful Web Services with
Prelude document is currently undergoing review.  Your comments and
suggestions are critical for making this document useful for our
readers, which in turn spurs adoption of this technology. 
    

One thing I pretty much immediately stumbled across and wanted to check back
on before proceeding: The documentation (chapter 2, "Running the
examples...") explains how to install and run the sample projects using
maven2 (which would be fine to me by the way), however after installing
Jersey using the gfv3-b28 updatetool, I find the projects in
gfv3-b28/jersey/examples/ to be not maven2 projects after all:

- Using mvn compile exec:java , as stated, just logically ends in an error
complaining that no maven project (no pom.xml) is found there.

- Looking at the README.html however explains how to get it done (using ant
ant "ant run" in, say, "HelloWorld" sample folder...).

So overally, what's the point? Ant or maven2? Outdated examples or a mistake
in the documentation? Maybe a simple thing but maybe also an early show
stopper to some... :)

Comments?

TIA,
Kristian