Re: tomcat 6 on amd64

Corey <corey_s-r9/[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
On Thursday 24 May 2007 04:26:29 pm Corey wrote:
> On Thursday 24 May 2007 04:12:29 pm Corey wrote:
> <snip>
>
> > src_compile(){
> >     ANT_OPTS=-XX:MaxPermSize=128m
> > ...
>
> Perhaps the ANT_OPTS env var isn't being used?
>
> I tried again, doing:
>
> src_compile(){
>      ANT_OPTS="gurble"
> ...
>
>
> And I didn't get an 'Unknown argument' like I might have expected when I
> ran the emerge.

src_compile(){
      export ANT_OPTS="-Xmx128M"
...


I did some trial and error:

ANT_OPTS="-Xmx128M"   did not work

export ANT_OPTS="-XX:MaxPermSize=128m" did not work

export ANT_OPTS="-Xmx128M"  works


Maybe the ebuild should include that line for amd64 archs?


-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.