Gentoo Archives: gentoo-java

From: Corey <corey_s@×××××.net>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] tomcat 6 on amd64
Date: Thu, 24 May 2007 23:37:29
Message-Id: 200705241645.05521.corey_s@qwest.net
In Reply to: Re: [gentoo-java] tomcat 6 on amd64 by Corey
1 On Thursday 24 May 2007 04:26:29 pm Corey wrote:
2 > On Thursday 24 May 2007 04:12:29 pm Corey wrote:
3 > <snip>
4 >
5 > > src_compile(){
6 > > ANT_OPTS=-XX:MaxPermSize=128m
7 > > ...
8 >
9 > Perhaps the ANT_OPTS env var isn't being used?
10 >
11 > I tried again, doing:
12 >
13 > src_compile(){
14 > ANT_OPTS="gurble"
15 > ...
16 >
17 >
18 > And I didn't get an 'Unknown argument' like I might have expected when I
19 > ran the emerge.
20
21 src_compile(){
22 export ANT_OPTS="-Xmx128M"
23 ...
24
25
26 I did some trial and error:
27
28 ANT_OPTS="-Xmx128M" did not work
29
30 export ANT_OPTS="-XX:MaxPermSize=128m" did not work
31
32 export ANT_OPTS="-Xmx128M" works
33
34
35 Maybe the ebuild should include that line for amd64 archs?
36
37
38 --
39 gentoo-java@g.o mailing list