You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
1.0 KiB
21 lines
1.0 KiB
Index: bin/ant |
|
--- bin/ant.orig 2016-04-09 08:38:27.000000000 +0200 |
|
+++ bin/ant 2016-04-13 20:21:17.289425523 +0200 |
|
@@ -318,7 +318,7 @@ |
|
fi |
|
# Execute ant using eval/exec to preserve spaces in paths, |
|
# java options, and ant args |
|
-ant_sys_opts= |
|
+ant_sys_opts="-Djava.awt.headless=true" |
|
if [ -n "$CYGHOME" ]; then |
|
if [ -n "$JIKESPATH" ]; then |
|
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\" -Dcygwin.user.home=\"$CYGHOME\"" |
|
@@ -330,7 +330,7 @@ |
|
ant_sys_opts="-Djikes.class.path=\"$JIKESPATH\"" |
|
fi |
|
fi |
|
-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_command="exec \"\$JAVACMD\" $ANT_OPTS -classpath \"\$LOCALCLASSPATH\" -Dant.home=\"\$ANT_HOME\" -Dant.library.dir=\"\$ANT_LIB\" -Dant.jar=\"\$ANT_LIB/ant.jar\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"\$CLASSPATH\"" |
|
if $ant_exec_debug ; then |
|
echo $ant_exec_command $ant_exec_args |
|
fi
|
|
|