Ant
Tips Ant

Connaître l'OS sur lequel Ant s'exécute

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Si vous avez l'erreur Exception in thread "main" java.lang.OutOfMemoryError: Java heap space dans votre script Ant qui lance une tache java, rajoutez l'option de mémoire à votre jVM :

<java classname="com.google.gwt.dev.GWTCompiler" fork="true">
 <jvmarg value="-Xmx256M"/> 
 <arg line="-logLevel TRACE"/>
 <arg line="-style OBF"/>
 <arg line="-out build/gwtOutput"/>
 <arg value="com.placeoweb.testGwt.MyModule"/>
 <classpath>
   <path refid="base.path"/>
 </classpath>
</java>