users@glassfish.java.net

Re: automate glassfish installation

From: Raju Uppalapati <ruppalapati_at_gmail.com>
Date: Fri, 19 Sep 2008 11:40:23 -0700

        <target name="install-glassfish">
                 <echo file="input.txt">a</echo>
                   <java
                           dir="${basedir}"
                           fork="true"
                           input="input.txt"
                           jar="glassfish-installer-v2ur2-b04-${glassfish.os}.jar"
                           maxmemory="256m"
>
                           <arg value="-console" />
                   </java>
        <target name="install-glassfish">


On Thu, Sep 18, 2008 at 12:29 PM, Murali <Muralikrishna.Reddy_at_sun.com> wrote:
> Hi guys,
>
> I'm trying to automate my glassfish installation by using a shell script .
> Does anyone of you know, how I can accept the license automatically in a
> shell script as
> java -jar glassfish-installer.jar keeps waiting for input A/a/D/d
>
> Thanks
> Murali
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>