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