OK, it worked. Two questions: -was this documented somewhere ? I'd love to read more about this kind of options. -is there a way to add this to the buildfile nonetheless ? Java.load is called only once the projects have been defined, right ? Unless you want to have the same behavior with rjb and jruby ?
Thanks, Antoine On Mon, Sep 14, 2009 at 18:53, Alex Boisvert <boisv...@intalio.com> wrote: > Have you tried setting the JAVA_OPTS environment variable? > > export JAVA_OPTS =-Xmx1024m > > javac is called directly in the same JVM (not executed as a separate > process) so compile.options is not applicable here. > > alex > > > > On Mon, Sep 14, 2009 at 6:37 AM, Antoine Toulme > <anto...@lunar-ocean.com>wrote: > >> I tried:compile.options.other = ["-J-Xmx512m"] >> >> but for some reason it is not accepted by the compiler. >> >> Am I missing something obvious here ? >> >> Thanks, >> >> Antoine >> > >