On 10/17/06, Nathan Beyer <[EMAIL PROTECTED]> wrote:
Try setting ANT_OPTS to "-Xms256M -Xmx512M". I saw this exception thrown on a 'build-test' run just now. I turned up the maximum memory in the cruisecontrol config file and it fixed it. For command-line builds, use the ANT_OPTS.
Thanks a lot, Nathan! It works! On 10/16/06, Andrew Zhang <[EMAIL PROTECTED]> wrote:
> On 10/17/06, Nathan Beyer <[EMAIL PROTECTED]> wrote: > > > > try to either a 'rebuild' or 'clean' then 'build' > > > Thanks, Nathan. I tried "ant clean" and then "ant build", but I got a weird > error message: > > -compile: > [javac] Since compiler setting isn't classic or modern,ignoring fork > setting > . > [javac] Compiling 3223 source files to D:\Harmony\build\classes > [javac] Since compiler setting isn't classic or modern,ignoring fork > setting > . > > BUILD FAILED > D:\Harmony\build.xml:108: The following error occurred while executing this > line > : > D:\Harmony\make\build-java.xml:143: > java.lang.reflect.InvocationTargetException > > Total time: 34 seconds > > On 10/16/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: > > > Hi, I get a compile error when building latest harmony classlib. Anyone > > has > > > the same problem? or just my local problem? > > > > > > Error message: > > > > > > -compile: > > > [javac] Since compiler setting isn't classic or modern,ignoring fork > > > setting > > > . > > > [javac] Compiling 1 source file to D:\Harmony\build\classes > > > [javac] Since compiler setting isn't classic or modern,ignoring fork > > > setting > > > . > > > [javac] ---------- > > > [javac] 1. ERROR in > > > D:\Harmony\modules\logging\src\main\java\java\util\loggi > > > ng\Logger.java > > > [javac] (at line 431) > > > [javac] Handler handler = > > > (Handler)LogManager.getInstanceByClass(handler > > > Name); > > > [javac] ^^^^^^^^^^^^^^^^^^ > > > [javac] The method getInstanceByClass(String) is undefined for the > > type > > > LogM > > > anager > > > [javac] ---------- > > > [javac] 1 problem (1 error) > > > > > > BUILD FAILED > > > D:\Harmony\build.xml:108: The following error occurred while executing > > this > > > line > > > : > > > D:\Harmony\make\build-java.xml:143: Compile failed; see the compiler > > error > > > outpu > > > t for details. > > > > > > Total time: 1 minute 9 seconds > > > > > > > > > -- > > > Best regards, > > > Andrew Zhang > > > > > > > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Best regards, > Andrew Zhang > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Best regards, Andrew Zhang