users@glassfish.java.net

Re: deploying to glassfish v3 from ant

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 May 2010 05:06:14 PDT

i.e. (for windows)

<exec executable="cmd" dir="${glassfish.bin.path}">
                        <arg line="/c" />
                        <arg line="asadmin.bat" />
                        <arg line="deploy" />
                        <arg line=" --force=true" />
                        <arg line=" --createtables" />
                        <arg line=" ${basedir}/dist/someear.war" />
                </exec>
[Message sent by forum member 'jszczepankiewicz']

http://forums.java.net/jive/thread.jspa?messageID=471339