Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add framework/base/lib/ant to ant's library path.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997424 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 707f437d7b351b89ae037cbfef058ead84880dfd 1 parent f955323
@eigood eigood authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 ant
  2. +1 −1  ant.bat
View
4 ant
@@ -25,8 +25,8 @@ else
JAVA=java
fi
+top="$(cd "$(dirname "$0")"; echo "$PWD")"
find_jar() {
- top="$(cd "$(dirname "$0")"; echo "$PWD")"
set -- "$top"/framework/base/lib/ant-launcher-*.jar
if [ $# = 1 ] && [ -e "$1" ]; then
echo "$1"
@@ -35,5 +35,5 @@ find_jar() {
exit 1
fi
}
-"$JAVA" -jar "$(find_jar)" "$@"
+"$JAVA" -jar "$(find_jar)" -lib "$top/framework/base/lib/ant" "$@"
View
2  ant.bat
@@ -19,5 +19,5 @@ REM # under the License.
REM #####################################################################
ECHO ON
-"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.1.jar %1 %2 %3 %4 %5 %6
+"%JAVA_HOME%\bin\java" -jar framework/base/lib/ant-launcher-1.7.1.jar -lib framework/base/lib/ant %1 %2 %3 %4 %5 %6
Please sign in to comment.
Something went wrong with that request. Please try again.