OK, I scrolled down too quickly...
Thanks!

Antoine

On Mon, Sep 14, 2009 at 19:32, Alex Boisvert <boisv...@intalio.com> wrote:

> Yes, documented on both counts.
>
> See http://buildr.apache.org/settings_profiles.html#env_vars
>
>
> On Mon, Sep 14, 2009 at 10:00 AM, Antoine Toulme 
> <anto...@lunar-ocean.com>wrote:
>
>> 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
>>>>
>>>
>>>
>>
>

Reply via email to