users@glassfish.java.net

shell script help

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 26 Sep 2009 13:19:34 +0200

I am using a shell script to create the required Glassfish Resources
of my project:

http://kenai.com/projects/puj/sources/arena/content/setup.sh?rev=100

it works..

to drop and recreate all resources: sh ./setup.sh
to drop all resources: sh ./setup.sh /clean

Now I have the problem of where to store some passwords required by
this script, and I want to use a --passfile parameter (similar to the
default glassfish asadmin options)

questions:

1) how to do that ?
2) where can I see the asadmin script ? eventually I can copy its commands :)