ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/JavaServer/setup.sh
Revision: 1.2
Committed: Mon Oct 16 22:00:31 2006 UTC (18 years, 7 months ago) by sekhri
Content type: application/x-sh
Branch: MAIN
CVS Tags: v00_00_004, pre_v00_00_04, v00_00_03, v00_00_02, v00_00_01, Pre_11_06_2006
Changes since 1.1: +3 -0 lines
Log Message:
implemented listPrimaryDatasets listProcessedDatasets listRuns listTiers listBlocks listFiles api calls for the new DBS schema

File Contents

# User Rev Content
1 sekhri 1.2 export JAVA_HOME=/usr/java/jdk1.5.0_06/
2     export ANT_HOME=/home/sekhri/apache-ant-1.6.5
3    
4 sekhri 1.1 ret=0
5     if [ "${JAVA_HOME}" == "" ]; then
6     echo "Error! Please set your JAVA_HOME variable and source this file again"
7     ret=1
8     fi
9     if [ "${ANT_HOME}" == "" ]; then
10     echo "Error! Please set your ANT_HOME variable and source this file again"
11     ret=1
12     fi
13     if [ $ret == 0 ]; then
14     export PATH=${JAVA_HOME}/bin:${ANT_HOME}/bin:$PATH
15     alias ant='ant --noconfig'
16     fi