harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <nbe...@gmail.com>
Subject Re: [build] build failed with latest harmony classlib
Date Tue, 17 Oct 2006 03:27:17 GMT
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.

On 10/16/06, Andrew Zhang <zhanghuangzhu@gmail.com> wrote:
> On 10/17/06, Nathan Beyer <nbeyer@gmail.com> 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 <zhanghuangzhu@gmail.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
> Best regards,
> Andrew Zhang
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message