users@glassfish.java.net

Re: Glassfish V3 sun-appserv-ant.jar missing

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Dec 2009 00:23:08 PST

I tried to use the jar from v2.1 without success. As a work around, I call the $GLASSFISH_HOME/modules/admin-cli.jar from my ant script

[code]
<target name="deploy" description="Deploy the ear file to the App Server">
            <java jar="${admin.cli.jar}" fork="true" spawn="false">
                    <arg line="deploy --force=true myapplication.ear"/>
            </java>
</target>
[/code]
[Message sent by forum member 'oosthuizen' (andre.oosthuizen_at_thumbtribe.co.za)]

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