Professional Documents
Culture Documents
SLL
Weblogic Ant Build Document
Dokumentinformation
Dokumentgare:
Titel:
Versionshistorik
Ver.
Datum
Frfattare
Beskrivning
0.1
2011-03-16
Srinivas Murthy P
First draft
Mphasis an HP
Company
2 (8)
Content
1 Introduction.................................................................................................................................................... 4
2 Background.................................................................................................................................................... 4
3 Prerequisite.................................................................................................................................................... 4
3.1 ANT 4
3.2 JDK 4
3.3 Weblogic workshop...................................................................................................................................... 4
3.4 SVN 4
3.5 PATH And CLASSPATH settings................................................................................................................ 4
4 Check out Script............................................................................................................................................ 5
5 Building the application EARs..................................................................................................................... 6
6 Master Build................................................................................................................................................... 7
3 (8)
1 Introduction
This document describes about the steps to build ear for SLL applications through Weblogic Ant script.
2 Background
Weblogic Ant scripts have been created for building the ear files for Sll applications and seamlessly integrating with
deployment scripts without the aid of Weblogic Workshop.
3 Prerequisite
The following are necessary for building the ear files using Weblogic Ant Scripts
3.1
ANT
ANT_HOME should be set via the export command and it should point to 1.6.5 provided by weblogic.
export ANT_HOME=/opt/bea/bea_10_3/modules/org.apache.ant_1.6.5;
3.2
JDK
JAVA_HOME should be set via the export command and it should point to
export JAVA_HOME=/opt/bea/bea_10_3/jrockit_160_05
3.3
Weblogic workshop
Weblogic Ant scripts should be generated from the weblogic workshop, this should be only done once for all
application, after that the SVN will have these scripts checked and tagged.
3.4
SVN
Required SVN jars needs to be set in the class path.
3.5
4 (8)
5 (8)
6 (8)
6 Master Build
The master build ant file (masterbuild.xml) is located in /home/weblogic/sll-weblogic-scripts, it is
responsible for calling any of 7 applications or all applications.
Note : This is the build script we need to call for building the ears.
Command to run the Master build file
Properties: master.properties contains the application path, we can configure to the required.
$ ant f masterbuild.xml
7 (8)
8 (8)