Last change
on this file since 20985 was 20985, checked in by davidb, 14 years ago |
Minor tweaks to improve readability of echo statements
|
File size:
1.3 KB
|
Line | |
---|
1 |
|
---|
2 | if [ ! -z $IMAGEISHOME ] ; then
|
---|
3 | echo "*Your environment is already set up for KMI Pharos Image-IS"
|
---|
4 | return 0
|
---|
5 | fi
|
---|
6 |
|
---|
7 | if [ ! -f "setup.bash" ] ; then
|
---|
8 | echo "You must source the script from within the Image-IS home directory"
|
---|
9 | return 1;
|
---|
10 | fi
|
---|
11 |
|
---|
12 | export IMAGEISHOME=`pwd`
|
---|
13 |
|
---|
14 | export PATH=$IMAGEISHOME/bin/script:$IMAGEISHOME/bin/$PHAROSOS:$PATH
|
---|
15 |
|
---|
16 | # I have moved all this to ant build.xml
|
---|
17 | #echo "++Generating VSprops.properties from VSprops.properties.in"
|
---|
18 | #echo "++Note: Currently assumes web service is at:"
|
---|
19 | #echo "++ $PHAROS_PREFIX_URL/services/ContentBasedSearchWSProxy"
|
---|
20 |
|
---|
21 | #cat VSprops.properties.in \
|
---|
22 | # | sed "s@\*\*imageishome\*\*@$IMAGEISHOME@g" \
|
---|
23 | # | sed "s@\*\*iisos\*\*@$IISOS@g" \
|
---|
24 | # | sed "s@\*\*pharosprefixurl\*\*@$PHAROS_PREFIX_URL@g" \
|
---|
25 | # > VSprops.properties
|
---|
26 |
|
---|
27 | #if [ ! -d "/tmp/vstmpdir" ] ; then
|
---|
28 | # echo "++Making directory /tmp/vstmpdir for temporary processing by 'annoate'"
|
---|
29 | # mkdir /tmp/vstmpdir
|
---|
30 | #fi
|
---|
31 |
|
---|
32 | #if [ ! -d "/tmp/vsupload" ] ; then
|
---|
33 | # echo "++Making directory /tmp/vsupload for ImageIS ingest files"
|
---|
34 | # mkdir /tmp/vsupload
|
---|
35 | #fi
|
---|
36 |
|
---|
37 |
|
---|
38 | echo ""
|
---|
39 | echo "+Your environment is now set up for KMI Pharos Image-IS"
|
---|
40 | echo " - To ingest image: imageis-add-jpg-file.sh collection file.jpg"
|
---|
41 | echo " - To ingest image: imageis-del-id.sh collection docid"
|
---|
42 | echo " - To ingest image: imageis-query-by-id.sh collection docid"
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.