Database Reference
In-Depth Information
On Linux/Unix
In this chapter, we will assume that your code will reside under $CODE under
the same Unix account where the Middleware Home and other binaries are in-
stalled. This is because the ant scripts require access to specific product librar-
ies. The scripts assume a bash-based shell, so some changes may be required
if other shells are used.
To set your environment, we recommend first creating a shell script
setAntEnv.sh with the following content while keeping in mind to replace the
highlighted values to suit your environment and installation:
export USERNAME= weblogic
export PASSWORD= welcome1
export SOAHOST= soahost1
export SOAPORT= 8001
export SOAURL=http://${SOAHOST}:${SOAPORT}export CODE= /u01/svn/SOA11g
export MW_HOME=/u01/app/oracle/Middleware
export ORACLE_HOME=$MW_HOME/Oracle_SOA1
export JAVA_HOME= $MW_HOME/jdk160_24
export ANT_HOME=$MW_HOME/modules/org.apache.ant_1.7.1
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$ANT_HOME/lib:$PATH:.
Don't forget to change the permissions of the script to executable:
chmod 750 setAntEnv.sh
Prior to running any ant command in the remainder of the chapter, simply source
this shell script once to set your environment for your session as follows:
Search WWH ::




Custom Search