Hi,
Here is example for exploded directory
<target name="exploded-directory-undeploy" depends="shutdown-server"
description="Undeploy App from WebLogic.">
<echo message="undeploying the application from weblogic"/>
<delete includeEmptyDirs="true">
<fileset dir="${weblogic_deploy_dir}/${app_name}"/>
</delete>
</target>
<target name="exploded-directory-deploy" description="Deploy App to
WebLogic."
depends="shutdown-server">
<echo message="deploying the exploded directory to weblogic"/>
<copy todir="${weblogic_deploy_dir}/${app_name}">
<fileset dir="${src_dir}/${app_name}"/>
</copy>
</target>
All the best
-Dinesh
-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 1:22 PM
To: Ant Users List
Subject: Re: Deploying application using ANT and WebLogic
Shweta Bodade wrote:
>
>
> Hi:
>
>
>
> I am trying to use ant to deploy a war file on weblogic 8.1.
>
> Can you please help me with some examples.
>
>
>
> Thanks and Regards,
>
> Shweta
>
>
>
>
first, you should allow more than an hour before resending the message.
There are not hundreds of people idly waiting for emails and going to
respond instantly.
I find <copy> works with most app servers, if not:
-weblogic may provide their own tasks
-cargo, at http://cargo.codehaus.org is a library to deploy to app
servers, it can even start and stop the server.
-steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]