Skip to content

Commit

Permalink
revert ${maven-compile.jvmargs} usage as look to fail on ci but not l…
Browse files Browse the repository at this point in the history
…ocally , sorry olamy != ant guru :-)
  • Loading branch information
olamy committed Dec 14, 2012
1 parent d8cc98c commit 68a54c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ END SNIPPET: ant-bootstrap -->
<property name="it.workdir.version" value="3.0.x" />
<property name="maven-compile.jvmargs" value="-Xmx512m -Xms512m"/>
<property name="maven-compile.fork" value="true"/>
<property name="maven-compile.maxmemory" value="512m"/>

<target name="initTaskDefs">
<echo>Building ${distributionName} ...</echo>
Expand Down Expand Up @@ -249,9 +250,9 @@ Do you want to continue?</input>
</target>

<target name="maven-compile" depends="compile-boot,process-classes" description="compiles Maven using the bootstrap Maven, skipping automated tests">
<java fork="${maven-compile.fork}" classname="org.apache.maven.cli.MavenCli" failonerror="true" timeout="600000"> <!-- maxmemory="512m"> -->
<java fork="${maven-compile.fork}" classname="org.apache.maven.cli.MavenCli" failonerror="true" timeout="600000" maxmemory="${maven-compile.maxmemory}">
<!--jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/-->
<jvmarg value="${maven-compile.jvmargs}"/>
<!--jvmarg value="${maven-compile.jvmargs}"/-->
<classpath refid="maven.classpath" />
<arg value="${maven.debug}" />
<arg value="-B" />
Expand Down

0 comments on commit 68a54c7

Please sign in to comment.