JIKESPATH=`cygpath --path --windows "$JIKESPATH"`\r
"$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
else\r
- "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
+ # AspectJ change: increase max heap size\r
+ "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
fi\r
else\r
if [ -n "$JIKESPATH" ]; then\r
"$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
else\r
- "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
+ # AspectJ change: increase max heap size\r
+ "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
fi\r
fi\r
\r
if not "%JIKESPATH%"=="" goto runAntWithJikes\r
\r
:runAnt\r
-"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %*\r
+REM aspectJ increased max heap size for test purposes.\r
+"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" -Xmx768M %ANT_OPTS% org.apache.tools.ant.Main %*\r
goto end\r
\r
:runAntWithJikes\r