Seems we use a new compiler today.:)

The first problem Andrew encountered is quite like the unresolved dependency
in eclipse's compiler option which is manually set off by us.  I do not know
whether it should be  or how can be turned off in current Harmony build
system.

Besides, after I clean the project, build succeeds.

To Andrew:
   Maybe you can roll back the build script to use old javac to see whether
it works.


On 10/17/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




--
Leo Li
China Software Development Lab, IBM

Reply via email to