--- trunk/include/java.sminc 2012/01/14 01:48:34 9880 +++ trunk/include/java.sminc 2014/04/03 23:09:35 22418 @@ -4,7 +4,7 @@ JAVA_CLASSPATH_DIR="/usr/share/java" -jar-path-from-classpath() +mget-jar-path-from-classpath() { local jar="$1" local i @@ -17,6 +17,13 @@ done } +# deprecated and will be dropped in near future +jar-path-from-classpath() +{ + echo -e "${COLYELLOW}Warning: jar-path-from-classpath() is depcrecated, please use mget-jar-path-from-classpath() instead${COLDEFAULT}" >&2 + mget-jar-path-from-classpath $@ +} + mclasspathinit() { minstalldir /etc/env.d || die