ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/tags/owl-1.9.1/reconstruct/reconstruct.sh
Revision: 1323
Committed: Sat Feb 26 11:17:51 2011 UTC (9 years, 9 months ago) by hstehr
File size: 646 byte(s)
Log Message:
tagging version 1.9.1 to match CMView-1.9.1-released-as-1.1rc4
Line User Rev File contents
1 duarte 975 #!/bin/sh
2     # shell script to run the reconstruct program (a java class in the default package of the OWL Java library)
3    
4     # If the program is to be used on a cluster through the Sun Grid Engine
5     # job scheduler (option -A) this variable needs to be set to wherever the
6     # root of the local installation of SGE is
7     sgeroot=/usr/local/sge
8    
9     exedir=`dirname $0`
10    
11     jarfiles=`ls $exedir/jars/*.jar`
12 jmduarteg 990 classpath="."
13 duarte 975 for jarfile in $jarfiles
14     do
15 jmduarteg 990 classpath="$jarfile:$classpath"
16 duarte 975 done
17    
18    
19    
20     if [ -e "$sgeroot/util/arch" ]
21     then
22     arch=`$sgeroot/util/arch`
23     libstr="-Djava.library.path=$sgeroot/lib/$arch"
24     else
25     libstr=""
26     fi
27    
28 jmduarteg 990 java -cp $classpath $libstr reconstruct $@

Properties

Name Value
svn:executable *