dev@glassfish.java.net

Need help with creating scripts in v3

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Tue, 26 Aug 2008 15:58:11 -0700

Hi asadmin folks,
I need to add 4 scripts for xjc,schemagen,wsgen and wsimport in V3.
Metro will be downloaded via Update center so these scripts will be
installed by UC in bin folder of glassfish
I was looking at the template of asadmin scripts and tried to do the
following

 https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/webservices/jsr109-impl/pom.xml?view=diff&rev=22136&p1=trunk/v3/webservices/jsr109-impl/pom.xml&p2=trunk/v3/webservices/jsr109-impl/pom.xml&r1=22135&r2=22136

And this is the code for the template for my script

https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/webservices/jsr109-impl/src/main/resources/wsgen?view=auto&rev=22136

However if I copy the scripts from target/classes/ to <directory of
web.zip>/glassfish/bin (Just trying to test out)
It tries to set AS_INSTALL to glassfish/bin instead of glassfish.
What am I missing?

How does asadmin come out so clean in the web.zip bundle with just this
line?
 java -jar "%~dp0..\modules\admin-cli-10.0-SNAPSHOT.jar" %*

Regards,
Bhakti