dev@glassfish.java.net

Re: Ant for GlassFish installation

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Thu, 15 Mar 2007 22:15:17 -0700

Yep, this is the change I'm looking for. But I'm wondering why can't the
perms be set to +x in the bundle itself.

I'd remove -Xmx256m when installing the bundle since that does not seem
to be a requirement for past few builds now.

-Arun

vince kraemer wrote:
> Maybe the following text would be better?
> Instructions to unbundle and configure GlassFish
>
> To install and configure the application server (GlassFish) you need to
> have JDK 5 installed on your system. The configuration processing
> depends on Ant (1.6.5). The bundle includes an Ant distribution that
> has been extended with task to facilitate developing Java EE 5
> applications for the application server.
>
> 1. Download one of the bundles to disk.
>
> 2. Verify that your JDK5 installation is on your PATH, ahead of any
> JDK 4 installations that you might have.
>
> 3. Run:
>
> java -Xmx256m -jar /filename.jar
>
> This command will unbundle the distribution and create a new
> directory structure rooted under a directory named 'glassfish'.
>
> 4.
>
> cd glassfish
>
> 5. If you are using a machine with an operating system that is a
> derivative of UNIX(tm), set the execute permission for the Ant
> binaries that are included with the GlassFish budle.
>
> chmod -R +x lib/ant/bin/
>
> 6.
>
> lib/ant/bin/ant -f setup.xml
> OR
>
> lib\ant\bin\ant -f setup.xml
>
>
> To utilize the clustering support available in GlassFish V2
> bundles, use the following command instead
>
> lib/ant/bin/ant -f setup-cluster.xml
>
> OR
>
> lib\ant\bin\ant -f setup-cluster.xml
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Technology Evangelist
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta