users@glassfish.java.net

Re: Ant script to deploy to glassfish 2

From: Sathyan Catari <Sathyan.Catari_at_oracle.com>
Date: Thu, 23 Aug 2012 16:44:25 -0700

Not sure which version of GlassFish you are using. GlassFish does come
with pre-built ANT tasks to handle all of the functionality that you
described.
Please refer http://docs.oracle.com/cd/E19798-01/821-1752/beaep/index.html

HTH
Thanks
Sathyan


On 8/23/12 4:40 PM, Bhaarat Sharma wrote:
>
> I am trying to create an ant script that would compile and creat a war
> file and then deploy the WAR to glassfish. I can build thr WAR fine
> but am having trouble with deploying it to glassfish part. What is
> needed for this? If I creatr and build oroject in netbeans amd connect
> project to GF then everything works fine but I would like to create my
> own ant script for doing this.
>
> Are there any tutorials or guides that would walk me through this
> process? Also would be great if WAR can nbe deployed incrementally..
>