Permaine Cheung 9c2843
--- ./src/script/ant	2007-02-20 22:52:16.000000000 -0500
Permaine Cheung 9c2843
+++ ./src/script/ant	2007-02-20 22:52:34.000000000 -0500
Permaine Cheung 9c2843
@@ -292,6 +292,9 @@ else
Permaine Cheung 9c2843
     ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\""
Permaine Cheung 9c2843
   fi
Permaine Cheung 9c2843
 fi
Permaine Cheung 9c2843
+
Permaine Cheung 9c2843
+ANT_OPTS="$ANT_OPTS -Djava.endorsed.dirs=/usr/share/java/ant/endorsed"
Permaine Cheung 9c2843
+
Permaine Cheung 9c2843
 ant_exec_command="exec \"$JAVACMD\" $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\" $ant_exec_args"
Permaine Cheung 9c2843
 if $ant_exec_debug ; then
Permaine Cheung 9c2843
     echo $ant_exec_command