Hi all,
I just setup another Jenkins build of Pivot trunk, this time with Java
7 to start to look at what happens (mainly to fix some warnings if
present):

https://builds.apache.org/job/Pivot-trunk%20on%20Java%207/

Without changing settings inside build.xml the first build got some
errors ... I'll try to look at this and fix sources asap.
But could be a configuration

An extract of execution log is under.

In the meantime, if someone has suggestions ...


Bye,
Sandro


At revision 1336029

[Pivot-trunk on Java 7] $ /home/hudson/tools/ant/latest/bin/ant check
clean package test doc deploy package-tests package-sources
package-javadoc

Buildfile: /home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java 7/build.xml

help:

     [echo] Using Classpath:
/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/alt-rt.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/charsets.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/deploy.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/dnsns.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/localedata.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/sunec.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/sunjce_provider.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/sunpkcs11.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/ext/zipfs.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/javaws.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/jce.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/jsse.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/management-agent.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/plugin.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/resources.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/rt.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/security/US_export_policy.jar:/home/jenkins/tools/java/jdk1.7.0-32/jre/lib/security/local_policy.jar:/home/jenkins/jenkins-slave/workspace/Pivot-trunk
on Java 
7/ci-builds-on-jenkins/lib/junit-4.8.2.jar:/home/jenkins/jenkins-slave/workspace/Pivot-trunk
on Java 7/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar

check:

clean:

core:
    [mkdir] Created dir:
/home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/core/ant-bin
    [javac] Compiling 133 source files to
/home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/core/ant-bin
    [javac]
    [javac]           WARNING
    [javac]
    [javac] The -source switch defaults to 1.7 in JDK 1.7.
    [javac] If you specify -target 1.6 you now must also specify -source 1.6.
    [javac] Ant will implicitly add -source 1.6 for you.  Please
change your build file.
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6

    [javac] /home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/core/src/org/apache/pivot/xml/Element.java:641: error:
name clash: remove(Node) in Element overrides a method whose erasure
is the same as another method, yet neither overrides the other
    [javac]     public int remove(Node node) {
    [javac]                ^
    [javac]   first method:  remove(K) in Dictionary
    [javac]   second method: remove(T) in Sequence
    [javac]   where K,V,T are type-variables:
    [javac]     K extends Object declared in interface Dictionary
    [javac]     V extends Object declared in interface Dictionary
    [javac]     T extends Object declared in interface Sequence
    [javac] /home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/core/src/org/apache/pivot/xml/Element.java:802: error:
name clash: remove(String) in Element overrides a method whose erasure
is the same as another method, yet neither overrides the other
    [javac]     public String remove(String attributeName) {
    [javac]                   ^
    [javac]   first method:  remove(T) in Sequence
    [javac]   second method: remove(K) in Dictionary
    [javac]   where T,K,V are type-variables:
    [javac]     T extends Object declared in interface Sequence
    [javac]     K extends Object declared in interface Dictionary
    [javac]     V extends Object declared in interface Dictionary
    [javac] 2 errors
    [javac] 1 warning

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/build.xml:463: The following error occurred while
executing this line:
/home/jenkins/jenkins-slave/workspace/Pivot-trunk on Java
7/pivot_trunk/build.xml:153: Compile failed; see the compiler error
output for details.

Total time: 4 seconds
Build step 'Invoke Ant' marked build as failure
Sending e-mails to: [email protected]
Finished: FAILURE

Reply via email to