Deploying with the wldeploy Ant Task

You can best put the wldeploy tool to use when you're deploying applications in a development environment. However, if your environment uses Ant tasks rather than shell scripts, you can use wldeploy instead of the weblogic.Deployer tool—the functionality is the same. The wldeploy task is primarily for developers to use in their environments. Since this book is primarily for WebLogic Server administrators, I won't discuss the wldeploy Ant task in great detail, but you execute it the same way as you execute the wlserver and wlconfig tasks.

Here are the steps to run the wldeploy Ant task:

1. Set the environment:

   WL_HOME\server\bin\setWLSEnv.cmd

2. Create an Ant build file (the default name is build.xml ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.