Running the Build Script

Once the properties are set in the build.properties file, you can execute the script at the command line in the directory that contains the build.xml script file using one of the following commands:

$ant deploy

or

$ant build-and-deploy

The first command will execute the script's deploy target only and attempt to deploy the JDEADFContainer.ear file to the specified Weblogic servers and/or clusters. If the ear file does not exist, an error message displays instructing the user to run the build target first. The second command will first launch the script's build target and then the deploy target, if the JDEADFContainer.ear file was successfully created. The user will be prompted to enter the Weblogic server username and password during deployment.

You should see a build successful message after executing the command. You can also log into the WLS console and view the deployed JDEADFContainer application under Deployments.