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 2010-02-02 01:35:22.000000000 +0100 |
|
+++ bin/ant 2010-05-02 21:35:32.000000000 +0200 |
|
@@ -316,7 +316,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\"" |
|
@@ -328,7 +328,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
|
|
|