Wednesday, March 17, 2010

ANT Script to delpoy war file to weblogic 10.3

This Post Assumes that you have already compiled your project successfully and generated war file.

This Post describes how to deploy the war file to weblogic server 10.3 using wldeploy ant task.

Following are the steps to be followed to create and run ant build script:

1) Set your JAVA_HOME and ANT_HOME.

2) the sample build.xml for wldeploy is as follows:


3) Make sure the weblogic.jar is copied to ANT lib directory to run the build.xml successfully.

Note: wldeploy task referring to the classname= weblogic.ant.taskdefs.management.WLDeploy will be picked from weblogic.jar.

1 comment:

  1. BlueHost is ultimately one of the best website hosting provider for any hosting services you might require.

    ReplyDelete