Re: Testing CruiseControl against JDK 8 EA builds

"Kent R. Spillner" <[email protected]> Fri, 17 Jan 2014 16:30:00 -0600 (CST)
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <[email protected]>
> Since that went so smoothly I'm going to go ahead and give JDK 8 a try.

Unfortunately, that blew up right away with JDK 8-ea build 123:


$ JAVA_HOME=/opt/jdk1.8.0b123 PATH=/opt/jdk1.8.0b123/bin:$PATH ant
Buildfile: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/build.xml

clean:

--clean:
   [delete] Deleting directory /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target

-clean:

clean-gendoc:
   [delete] Deleting: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/src/net/sourceforge/cruisecontrol/gendoc/html/gendoc.css

clean:
   [delete] Deleting directory /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/dist

clean:
   [delete] Deleting directory /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target

--clean:

-clean:

clean:

clean:

checklabel:
     [echo] Java: 1.8.0-ea (Java HotSpot(TM) 64-Bit Server VM)
     [echo]    in /opt/jdk1.8.0b123/jre
     [echo] Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
     [echo]    in /opt/apache-ant
     [echo] CruiseControl: 2.8.5-dev

build:

--clean:

-clean:

clean-gendoc:

clean:

clean:

checklabel:
     [echo] Java: 1.8.0-ea (Java HotSpot(TM) 64-Bit Server VM)
     [echo]    in /opt/jdk1.8.0b123/jre
     [echo] Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
     [echo]    in /opt/apache-ant
     [echo] CruiseControl: 2.8.5-dev

--compile-init:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/classes

copy-css:

--javadoc-init:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/javadoc

--package-init:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/dist

--test-init:

--test-unit-init:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/test-classes
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/test-results
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/reports

init:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/tmp
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/target/emma-results

logger.jar:

clean:

compile:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/classes
    [javac] Compiling 4 source files to /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
    [javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/test-classes
    [javac] Compiling 1 source file to /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/test-classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
    [javac] warning: [options] source value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings

test:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/test-results
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          jar:file:/opt/apache-ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and jar:file:/tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/lib/ant/ant.jar!/org/apache/tools/ant/Project.class
    [junit] Running net.sourceforge.cruisecontrol.builders.AntOutputLoggerTest
    [junit] Testsuite: net.sourceforge.cruisecontrol.builders.AntOutputLoggerTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.059 sec
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.059 sec
    [junit] 
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/test-report
[junitreport] Processing /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/test-report/TESTS-TestSuites.xml to /tmp/null1324636423
[junitreport] Loading stylesheet jar:file:/opt/apache-ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 286ms
[junitreport] Deleting: /tmp/null1324636423

initVersionInfo:

jar:
    [mkdir] Created dir: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/dist
      [jar] Building jar: /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/loggers/target/dist/cruisecontrol-antprogresslogger.jar

dist:
     [copy] Copying 1 file to /tmp/p/cruisecontrol/code/trunk/cruisecontrol/main/dist

--compile:

BUILD FAILED
/tmp/p/cruisecontrol/code/trunk/cruisecontrol/build.xml:35: The following error occurred while executing this line:
/tmp/p/cruisecontrol/code/trunk/cruisecontrol/.ant-scripts/build-targets.xml:29: Class not found: javac1.8

Total time: 4 seconds



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk