You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alerts@harmony.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2010/09/19 10:37:26 UTC

Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303

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

------------------------------------------
[...truncated 3803 lines...]
     [copy] Copying 25 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/sql/resources>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/derby>

-build-no-check:

-svn-info:

-compile-java:
     [echo] Compiling suncompat classes

-class-patternset:

-build-jar:
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/suncompat.jar>
[hy.jar.src] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/suncompat-src.jar>

-compile-tests:
     [echo] Compiling suncompat tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/suncompat/bin/test>

-test-jar:
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/suncompat>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/suncompat>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/suncompat/suncompat_tests.jar>
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/suncompat/excludes>

-build-no-check:

-svn-info:

-compile-java:
     [echo] Compiling swing classes

-class-patternset:

-build-jar:
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/swing.jar>
[hy.jar.src] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/swing-src.jar>

-compile-tests:
     [echo] Compiling swing tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/swing/bin/test/injected>
 [hy.javac] Compiling 601 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/swing/bin/test/injected>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting

-test-jar:
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing/swing_tests.jar>
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing/excludes>
     [copy] Copying 8 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing/excludes>
     [copy] Copying 15 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/swing/resources>

-build-no-check:

-svn-info:

-compile-java:
     [echo] Compiling text classes

-class-patternset:

-build-jar:
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/text.jar>
[hy.jar.src] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/text-src.jar>

-compile-tests:
     [echo] Compiling text tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/text/bin/test>
 [hy.javac] Compiling 35 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/text/bin/test>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting

-test-jar:
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text/text_tests.jar>
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text/excludes>
     [copy] Copying 8 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text/excludes>
     [copy] Copying 7 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/text/resources>

-build-no-check:

-svn-info:

-compile-java:
     [echo] Compiling x-net classes

-class-patternset:

-build-jar:
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/x-net.jar>
[hy.jar.src] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/jdk/jre/lib/boot/x-net-src.jar>

-compile-tests:
     [echo] Compiling x-net test support files
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/support>
 [hy.javac] Compiling 5 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/support>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting
     [echo] Compiling x-net api tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/api>
 [hy.javac] Compiling 29 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/api>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting
     [echo] Compiling x-net impl injected tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/impl.injected>
 [hy.javac] Compiling 29 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/impl.injected>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting
     [echo] Compiling x-net impl tests
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/impl>
 [hy.javac] Compiling 7 source files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/classlib/modules/x-net/bin/test/impl>
 [hy.javac] Since fork is false, ignoring memoryMaximumSize setting

-test-jar:
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net>
     [copy] Copying 1 file to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/x-net_test_support.jar>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/x-net_api_tests.jar>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/x-net_impl_boot_tests.jar>
[hy.jar.bin] Building jar: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/x-net_impl_tests.jar>
    [mkdir] Created dir: <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/excludes>
     [copy] Copying 20 files to <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/ws/harmony/target/hdk/build/test/x-net/resources>

-build-no-check:

-svn-info:

-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


Hudson build is back to normal : Harmony-1.6-head-linux-x86_64 #304

Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Harmony-1.6-head-linux-x86_64/304/changes>



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.



Re: Build failed in Hudson: Harmony-1.6-head-linux-x86_64 #303

Posted by Oliver Deakin <ol...@googlemail.com>.
  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