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.