Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-18 Thread Geir Magnusson Jr.
is there a way that we can avoid the manual ant_opts and do some kind of 'ant fork'? Set in an ant script and call ant again? :) geir Nathan Beyer wrote: I've update the README to include information about setting up Ant with ECJ and setting the ANT_OPTS environment variable. I also put a

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Tim Ellison
Nathan Beyer wrote: I haven't figured out to configure the ECJ options via the Ant task yet, so if anyone know, please let the list know. Add a compilerarg nested element, e.g. Index: build-java.xml === --- build-java.xml

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Geir Magnusson Jr.
how do you turn off the default ones? Tim Ellison wrote: Nathan Beyer wrote: I haven't figured out to configure the ECJ options via the Ant task yet, so if anyone know, please let the list know. Add a compilerarg nested element, e.g. Index: build-java.xml

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Tim Ellison
RTFL(ink) below Tim Geir Magnusson Jr. wrote: how do you turn off the default ones? Tim Ellison wrote: Nathan Beyer wrote: I haven't figured out to configure the ECJ options via the Ant task yet, so if anyone know, please let the list know. Add a compilerarg nested element, e.g.

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Geir Magnusson Jr.
I did. Ah - now I see... - and +. First read seemed like all those did was turn them on... geir Tim Ellison wrote: RTFL(ink) below Tim Geir Magnusson Jr. wrote: how do you turn off the default ones? Tim Ellison wrote: Nathan Beyer wrote: I haven't figured out to configure the ECJ

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Weldon Washburn
All, I did a fresh svn checkout an hour ago. During build, I saw the message, ...please place ECJ.JAR in ANT_HOME/lib and did what it said. Given a JAVA_HOME=.../jdk1.5.0_07, there may be more to it than just copying a jar file. My guess is that adding ECJ.JAR to Sun javac is now causing the

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Alexei Zakharov
IMHO the correct ECJ jar should be located at classlib/trunk/depends/jars/ecj_3.2/ecj.jar You may also try to increase java heap size by setting ANT_OPTS variable to something like -Xmx512M. Regards, 2006/10/17, Weldon Washburn [EMAIL PROTECTED]: All, I did a fresh svn checkout an hour ago.

RE: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Fedotov, Alexei A
Nathan, I've got two following stacks compile-support: [javac] Compiling 56 source files to /opt/harmony/classlib/build/test_support [javac] Since fork is false, ignoring memoryMaximumSize setting # An unexpected error has been detected by HotSpot Virtual Machine: # Java VM: Java

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-17 Thread Nathan Beyer
I've update the README to include information about setting up Ant with ECJ and setting the ANT_OPTS environment variable. I also put a snippet of the odd build failure in the troubleshooting section. -Nathan On 10/17/06, Alexei Zakharov [EMAIL PROTECTED] wrote: IMHO the correct ECJ jar should

ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-16 Thread Nathan Beyer
I've set the default compiler value to use the ECJ adapter. I've also added a check to fail the build (in build-java.xml and build-tests.xml) if the ECJ adapter class is missing. The message says that the ECJ JAR is missing and to copy it from the depends folder. If there are any changes or

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-16 Thread Gregory Shimansky
On Tuesday 17 October 2006 02:07 Nathan Beyer wrote: I've set the default compiler value to use the ECJ adapter. I've also added a check to fail the build (in build-java.xml and build-tests.xml) if the ECJ adapter class is missing. The message says that the ECJ JAR is missing and to copy it

Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)

2006-10-16 Thread Nathan Beyer
Every problem I ran into with Sun's compiler has been around generics syntax and it's generally when the ? extends XXX feature is used. The errors general popup from the consumer-side. The class that has bitten me multiple times is the ReferenceQueue and it's methods [1] inside of a while loop.