users@jersey.java.net

Re: Hello World instructions are unclear

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Thu, 06 Sep 2007 08:28:00 +0200

Hi Arun,

Good catch. Try running it with:

% ant run

It should produce:
--cuthere--
...lines removed for clarity...
-do-compile:
    [javac] Compiling 2 source files to /export/home/japod/workspace/dev.java.net/jersey/jersey/dist/jersey-0.2.1-ea/examples/HelloWorld/build/classes

-post-compile:

compile:

run:
     [java] Server running
     [java] Visit: http://localhost:9998/helloworld
     [java] Hit return to stop...
--cuthere--

Thanks,

~Jakub

On Wed, Sep 05, 2007 at 10:43:41AM -0700, Arun Gupta wrote:
> I downloaded 0.2.1 and tried running the HelloWorld sample. There are no
> instructions in the sample directory and invoking "ant" gives the
> following output:
>
> -- cut here --
> -do-jar-with-manifest:
>
> -do-jar-without-manifest:
> [j2seproject1:jar] Building jar:
> C:\testbed\jersey\jersey-0.2.1-ea\jersey-0.2.1-
> ea\examples\HelloWorld\dist\HelloWorld.jar
>
> -do-jar-with-mainclass:
>
> -do-jar-with-libraries:
>
> -post-jar:
>
> jar:
> -- cut here --
>
> Opening the project in NetBeans IDE and invoking F6 just starts the
> server. How the client can be invoked ?
>
> The instructions are unclear/missing.
>
> -Arun
> --
> Web Technologies and Standards
> Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>