You can use the "silent mode installer" option of Sun GlassFish
Enterprise Server. After the install, the bits (jar files) are all the
same. Plus, if you need to purchase subscription support later, you
will already have the supported bits installed.
http://docs.sun.com/app/docs/doc/819-3670/gfnmv?a=view
Hope this helps.
John Clingan
GlassFish Group Product Manager
On Oct 23, 2008, at 3:47 PM, Chris Desmarais (Contractor) wrote:
> I'm working on a script to configure some servers. Installing
> glassfish is going to take place about 20 minutes into the script,
> so its hurting my script that my scripts hangs until the user
> accepts the license agreement manually. I really would like to
> remove user interaction from my installation scripts, the script
> under ideal circumstances is going to take about 4 hours.
>
> Is there someway for me to automate the acceptance of the license
> agreement when I run
>
> java -Xmx256m -jar filename.jar
>
> A configuration file? A command line argument? I am certainly
> willing to accept the license agreement and provide proof to the
> code that the agreement is acceptable. I just can't have it
> requiring user interaction.
>
> Surely there must be something without having to go into the code
> and try to snip out the popup.
>
> Any ideas?