You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Oliver Deakin <ol...@googlemail.com> on 2010/09/19 13:19:29 UTC
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Hi Jimmy,
It looks like the x-tools commit broke the build - I'm guessing the ecj
jars need to be added to the compiler classpath?
Regards,
Oliver
On 19/09/2010 09:37, Apache Hudson Server wrote:
> See<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/303/changes>
>
> Changes:
>
> [lvjing] As discussed in the mailing-list, add new x-tools module to harmony6 branch
> <SNIP>
> -compile-java:
> [echo] Compiling x-tools classes
> [hy.javac] Compiling 16 source files to<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/build/classes>
> [hy.javac] Since fork is false, ignoring memoryMaximumSize setting
> [hy.javac] ----------
> [hy.javac] 1. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 20)
> [hy.javac] import javax.lang.model.element.Modifier;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 2. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 21)
> [hy.javac] import javax.lang.model.element.NestingKind;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 3. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 30)
> [hy.javac] public Modifier getAccessLevel() {
> [hy.javac] ^^^^^^^^
> [hy.javac] Modifier cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] 4. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 31)
> [hy.javac] return ((JavaFileObject) fileObject).getAccessLevel();
> [hy.javac] ^^^^^^^^^^^^^^
> [hy.javac] The method getAccessLevel() from the type JavaFileObject refers to the missing type Modifier
> [hy.javac] ----------
> [hy.javac] 5. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 38)
> [hy.javac] public NestingKind getNestingKind() {
> [hy.javac] ^^^^^^^^^^^
> [hy.javac] NestingKind cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] 6. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ForwardingJavaFileObject.java> (at line 39)
> [hy.javac] return ((JavaFileObject) fileObject).getNestingKind();
> [hy.javac] ^^^^^^^^^^^^^^
> [hy.javac] The method getNestingKind() from the type JavaFileObject refers to the missing type NestingKind
> [hy.javac] ----------
> [hy.javac] ----------
> [hy.javac] 7. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaCompiler.java> (at line 25)
> [hy.javac] import javax.annotation.processing.Processor;
> [hy.javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [hy.javac] The import javax.annotation.processing cannot be resolved
> [hy.javac] ----------
> [hy.javac] 8. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaCompiler.java> (at line 34)
> [hy.javac] void setProcessors(Iterable<? extends Processor> processors);
> [hy.javac] ^^^^^^^^^
> [hy.javac] Processor cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] ----------
> [hy.javac] 9. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaFileObject.java> (at line 22)
> [hy.javac] import javax.lang.model.element.Modifier;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 10. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaFileObject.java> (at line 23)
> [hy.javac] import javax.lang.model.element.NestingKind;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 11. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaFileObject.java> (at line 31)
> [hy.javac] Modifier getAccessLevel();
> [hy.javac] ^^^^^^^^
> [hy.javac] Modifier cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] 12. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/JavaFileObject.java> (at line 35)
> [hy.javac] NestingKind getNestingKind();
> [hy.javac] ^^^^^^^^^^^
> [hy.javac] NestingKind cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] ----------
> [hy.javac] 13. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/SimpleJavaFileObject.java> (at line 11)
> [hy.javac] import javax.lang.model.element.Modifier;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 14. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/SimpleJavaFileObject.java> (at line 12)
> [hy.javac] import javax.lang.model.element.NestingKind;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 15. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/SimpleJavaFileObject.java> (at line 33)
> [hy.javac] public Modifier getAccessLevel() {
> [hy.javac] ^^^^^^^^
> [hy.javac] Modifier cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] 16. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/SimpleJavaFileObject.java> (at line 55)
> [hy.javac] public NestingKind getNestingKind() {
> [hy.javac] ^^^^^^^^^^^
> [hy.javac] NestingKind cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] ----------
> [hy.javac] 17. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/Tool.java> (at line 23)
> [hy.javac] import javax.lang.model.SourceVersion;
> [hy.javac] ^^^^^^^^^^
> [hy.javac] The import javax.lang cannot be resolved
> [hy.javac] ----------
> [hy.javac] 18. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/Tool.java> (at line 26)
> [hy.javac] Set<SourceVersion> getSourceVersions();
> [hy.javac] ^^^^^^^^^^^^^
> [hy.javac] SourceVersion cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] ----------
> [hy.javac] 19. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ToolProvider.java> (at line 20)
> [hy.javac] import org.eclipse.jdt.internal.compiler.tool.*;
> [hy.javac] ^^^^^^^^^^^
> [hy.javac] The import org.eclipse cannot be resolved
> [hy.javac] ----------
> [hy.javac] 20. ERROR in<https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/src/main/java/javax/tools/ToolProvider.java> (at line 24)
> [hy.javac] return new EclipseCompiler();
> [hy.javac] ^^^^^^^^^^^^^^^
> [hy.javac] EclipseCompiler cannot be resolved to a type
> [hy.javac] ----------
> [hy.javac] 20 problems (20 errors)
>
> BUILD FAILED
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/build.xml>:468: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/build.xml>:181: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/make/properties.xml>:562: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/make/properties.xml>:574: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-tools/build.xml>:64: The following error occurred while executing this line:
> <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/make/properties.xml>:765: Compile failed; see the compiler error output for details.
>
> Total time: 2 minutes 54 seconds
> Recording fingerprints
> Archiving artifacts
> Recording test results
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Posted by "Jimmy,Jing Lv" <fi...@gmail.com>.
Hi Mark,
It would be fine.
2010/9/20 Mark Hindess <ma...@googlemail.com>
>
> In message <AA...@mail.gmail.com>,
> "Jimmy,Jing Lv" writes:
> >
> > Depends fixed.
>
> Actually, I missed your note and had already fixed the dependency in
> r998812 which adds the dependency to the x-tools module that uses ecj
> rather than at the top-level. I am trying to move away from top-level
> dependencies so if you don't mind I'll revert your change r998819?
>
> Regards,
> Mark.
>
> > 2010/9/20 Jimmy,Jing Lv <fi...@gmail.com>
> >
> > > Hi,
> > >
> > > I've committed the source and fixed the build.xml. However now
> > > it lacks ecj-3.5.1.jar to build. I find it in common-source but not
> > > in depends. Will update it.
> > >
> > > 2010/9/20 Mark Hindess <ma...@googlemail.com>
> > >
> > >
> > >> In message <4C...@googlemail.com>, Oliver Deakin writes:
> > >> >
> > >> > Hi Jimmy,
> > >> >
> > >> > It looks like the x-tools commit broke the build - I'm guessing
> > >> > the ecj jars need to be added to the compiler classpath?
> > >>
> > >> I don't think it is that simple. It looks like it requires
> > >> javax.lang.model package to be implemented too or at least stubs?
> > >>
> > >> I've added a build.x.tools flag (that defaults to false) to allow
> > >> the builds to complete and progress to be made on fixing/testing
> > >> the new code.
> > >>
> > >> -Mark.
> > >
> > > --
> > >
> > > Best Regards!
> > >
> > > Jimmy, Jing Lv
> >
> > --
> >
> > Best Regards!
> >
> > Jimmy, Jing Lv
> > China Software Development Lab, IBM
>
>
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Posted by Mark Hindess <ma...@googlemail.com>.
In message <AA...@mail.gmail.com>,
"Jimmy,Jing Lv" writes:
>
> Depends fixed.
Actually, I missed your note and had already fixed the dependency in
r998812 which adds the dependency to the x-tools module that uses ecj
rather than at the top-level. I am trying to move away from top-level
dependencies so if you don't mind I'll revert your change r998819?
Regards,
Mark.
> 2010/9/20 Jimmy,Jing Lv <fi...@gmail.com>
>
> > Hi,
> >
> > I've committed the source and fixed the build.xml. However now
> > it lacks ecj-3.5.1.jar to build. I find it in common-source but not
> > in depends. Will update it.
> >
> > 2010/9/20 Mark Hindess <ma...@googlemail.com>
> >
> >
> >> In message <4C...@googlemail.com>, Oliver Deakin writes:
> >> >
> >> > Hi Jimmy,
> >> >
> >> > It looks like the x-tools commit broke the build - I'm guessing
> >> > the ecj jars need to be added to the compiler classpath?
> >>
> >> I don't think it is that simple. It looks like it requires
> >> javax.lang.model package to be implemented too or at least stubs?
> >>
> >> I've added a build.x.tools flag (that defaults to false) to allow
> >> the builds to complete and progress to be made on fixing/testing
> >> the new code.
> >>
> >> -Mark.
> >
> > --
> >
> > Best Regards!
> >
> > Jimmy, Jing Lv
>
> --
>
> Best Regards!
>
> Jimmy, Jing Lv
> China Software Development Lab, IBM
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Posted by "Jimmy,Jing Lv" <fi...@gmail.com>.
Hi,
Depends fixed.
2010/9/20 Jimmy,Jing Lv <fi...@gmail.com>
> Hi,
>
> I've committed the source and fixed the build.xml. However now it lacks
> ecj-3.5.1.jar to build. I find it in common-source but not in depends.
> Will update it.
>
> 2010/9/20 Mark Hindess <ma...@googlemail.com>
>
>
>> In message <4C...@googlemail.com>, Oliver Deakin writes:
>> >
>> > Hi Jimmy,
>> >
>> > It looks like the x-tools commit broke the build - I'm guessing the
>> > ecj jars need to be added to the compiler classpath?
>>
>> I don't think it is that simple. It looks like it requires
>> javax.lang.model package to be implemented too or at least stubs?
>>
>> I've added a build.x.tools flag (that defaults to false) to allow the
>> builds to complete and progress to be made on fixing/testing the new
>> code.
>>
>> -Mark.
>>
>>
>>
>
>
> --
>
> Best Regards!
>
> Jimmy, Jing Lv
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Posted by "Jimmy,Jing Lv" <fi...@gmail.com>.
Hi,
I've committed the source and fixed the build.xml. However now it lacks
ecj-3.5.1.jar to build. I find it in common-source but not in depends.
Will update it.
2010/9/20 Mark Hindess <ma...@googlemail.com>
>
> In message <4C...@googlemail.com>, Oliver Deakin writes:
> >
> > Hi Jimmy,
> >
> > It looks like the x-tools commit broke the build - I'm guessing the
> > ecj jars need to be added to the compiler classpath?
>
> I don't think it is that simple. It looks like it requires
> javax.lang.model package to be implemented too or at least stubs?
>
> I've added a build.x.tools flag (that defaults to false) to allow the
> builds to complete and progress to be made on fixing/testing the new
> code.
>
> -Mark.
>
>
>
--
Best Regards!
Jimmy, Jing Lv
Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303
Posted by Mark Hindess <ma...@googlemail.com>.
In message <4C...@googlemail.com>, Oliver Deakin writes:
>
> Hi Jimmy,
>
> It looks like the x-tools commit broke the build - I'm guessing the
> ecj jars need to be added to the compiler classpath?
I don't think it is that simple. It looks like it requires
javax.lang.model package to be implemented too or at least stubs?
I've added a build.x.tools flag (that defaults to false) to allow the
builds to complete and progress to be made on fixing/testing the new
code.
-Mark.