You want to deploy a web application on WebLogic Server 7.0 using Jakarta Ant.
Create a Jakarta Ant build file. Ant can automatically compile your servlet classes, create a web-application archive (.war) file, and then deploy the WAR to WebLogic Server 7.0.
You can either manually cut and paste web components into the WebLogic applications directory (as described in the sidebar), or use Ant to automate the process of compiling, generating a WAR file, and copying the WAR to this directory. An example directory path to applications is k:\bea\user_projects\bwpdomain\applications. This method would entail a minor edit of the build.xml and build.properties files described in Recipe 2.6.