ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/JavaServer/setup.sh.tobe
Revision: 1.3
Committed: Fri Oct 24 17:21:31 2008 UTC (16 years, 6 months ago) by afaq
Branch: MAIN
CVS Tags: DBS_2_0_8_patch_2, DBS_2_0_8_patch_1, DBS_2_0_8, DBS_2_0_8_pre7, DBS_2_0_8_pre6, DBS_2_0_8_pre5, DBS_2_0_8_pre4, DBS_2_0_8_pre3, DBS_2_0_8_pre2, DBS_2_0_8_pre1, DBS_2_0_7, DBS_2_0_7_pre7, deadlock_fix_attempt, DBS_2_0_7_pre6, DBS_2_0_7_pre5, DBS_2_0_7_pre4, DBS_2_0_7_pre3, DBS_2_0_7_pre1, DBS_2_0_6_patch_5, DBS_2_0_6_patch_4, DBS_2_0_6_patch_3, DBS_2_0_6_patch_2, DBS_2_0_6_patch1, DBS_2_0_6, DBS_2_0_6_pre8, DBS_2_0_6_pre7, DBS_2_0_6_pre6, DBS_2_0_6_pre5, DBS_2_0_6_pre4, DBS_2_0_6_pre3, DBS_2_0_6_pre2, DBS_2_0_6_pre1, DBS_2_0_5, DBS_2_0_5_pre7, DBS_2_0_5_pre6, DBS_2_0_5_pre5, DBS_2_0_5_pre4, DBS_2_0_5_pre3, DBS_2_0_5_pre2, DBS_2_0_5_pre1, DBS_2_0_4, DBS_2_0_4_pre2, DBS_2_0_4_pre1, DBS_2_0_3
Branch point for: DBS_2_0_6_patch_51, DBS_2_0_5_MAINT
Changes since 1.2: +2 -2 lines
Log Message:
Fixes related to cross sections and getNoExecp method

File Contents

# User Rev Content
1 afaq 1.1 #!/bin/sh
2     #
3     # Setting JAVA_HOME ANT_HOME and DBS_CONFIG
4     # is users responsibility.
5     # DBS_SERVER_CONFIG needs to be set before deploying to TomCat
6     #
7     #
8     export ANT_HOME=/home/sekhri/apache-ant-1.6.5/
9     #export JAVA_HOME=/home/sekhri/j2ee/SDK/jdk/
10 afaq 1.3 #export JAVA_HOME=/usr/java/jdk1.5.0_10/
11     export JAVA_HOME=/usr/java/jdk1.5.0_14/
12 afaq 1.1 export DBS_SERVER_CONFIG=$PWD/etc/context.xml
13    
14     ret=0
15    
16     #if [ "${DBS_SERVER_CONFIG}" == "" ]; then
17     # echo "Error! Please set your DBS_SERVER_CONFIG variable and source this file again"
18     # ret=1
19     #fi
20    
21     if [ "${JAVA_HOME}" == "" ]; then
22     echo "Error! Please set your JAVA_HOME variable and source this file again"
23     ret=1
24     fi
25     if [ "${ANT_HOME}" == "" ]; then
26     echo "Error! Please set your ANT_HOME variable and source this file again"
27     ret=1
28     fi
29    
30     if [ $ret == 0 ]; then
31     export PATH=${JAVA_HOME}/bin:${ANT_HOME}/bin:$PATH
32     alias ant='ant --noconfig'
33     fi
34    
35