users@glassfish.java.net

Re: simple example of deploying servlet

From: Dinesh Patil <dinesh.patil_at_Sun.COM>
Date: Mon, 21 Nov 2005 12:09:18 -0800

Mark Hansen wrote:

> I'm feeling my way around glassfish. Where can I find a simple
> example of how to deploy a servlet?

Quickstart guide for deploying sample hello.war is here:
https://glassfish.dev.java.net/downloads/quickstart/index.html

> Also, one other question about downloading from CVS and building it ...
>
> I downloaded and built it using:
>
> Method 1
> ========
> cvs -d :pserver:khookguy_at_cvs.dev.java.net:/cvs checkout
> glassfish/bootstrap
> cd glassfish/bootstrap
> maven checkout bootstrap build configure-runtime
>
> But, this doesn't give me the same files (e.g.,
> glassfish/appserv-tests) as if I check out all the source using:

The above build step will build and configure administration server with
the glassfish workspace. To checkout and run Quicklook test, you can
follow the steps from here:
https://glassfish.dev.java.net/public/GuidelinesandConventions.html#Quicklook_Tests

hope this helps.
thanks
Dinesh

> Method 2
> ========
> cvs -d :pserver:khookguy_at_cvs.dev.java.net:/cvs checkout glassfish
>
> If I download the entire thing using Method 2, then how do I do the
> build? Do I just use
> maven build configure-runtime
>
> and skip the maven goals named checkout and bootastrap??
>
> Thanks.
>
> -- Mark
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>