Look for tomcat, ant and open-xchange.

This commit is contained in:
hjp 2005-05-23 09:04:32 +00:00
parent 54889f3a9b
commit ab1b1399da
1 changed files with 31 additions and 1 deletions

32
.zjava
View File

@ -7,7 +7,7 @@ do
if [ -d "$i/bin" ]
then
PATH=$(apppath "$i/bin")
export JAVA_HOME=bin
export JAVA_HOME=$i
break;
fi
done
@ -34,3 +34,33 @@ done
export CLASSPATH=$NEW_PATH
for i in /usr/local/tomcat
do
if [ -d "$i" ]
then
export CATALINA_HOME="$i"
export TOMCAT_HOME="$i"
PATH=$(apppath "$i/bin")
break;
fi
done
for i in /usr/local/ant
do
if [ -d "$i" ]
then
export ANT_HOME="$i"
PATH=$(apppath "$i/bin")
break;
fi
done
for i in /usr/local/openxchange
do
if [ -d "$i" ]
then
export OX_HOME="$i"
PATH=$(apppath "$i/bin" "$i/sbin")
break;
fi
done