[kepler-dev] ant update fails with UnsupportedClassVersion error

Christopher Brooks cxh at eecs.berkeley.edu
Mon Sep 28 08:14:32 PDT 2009


Hi Aaron,

It looks like your recent change to kepler-tasks.jar breaks the build
for Java 1.5 users.  Perhaps you compiled with Java 1.6?

The change was:
------------------------------------------------------------------------
r20802 | aschultz | 2009-09-27 22:24:41 -0700 (Sun, 27 Sep 2009) | 1 line



Here's the error:

bash-3.2$ pwd
/Users/cxh/src/kepler/build-area
bash-3.2$ ant update
Buildfile: build.xml

BUILD FAILED
/Users/cxh/src/kepler/build-area/build.xml:4: The following error occurred while executing this line:
/Users/cxh/src/kepler/build-area/settings/taskdefs.xml:5: java.lang.UnsupportedClassVersionError: Bad version number in .class file

Total time: 0 seconds



If I check out the previous version, then all is well:


bash-3.2$ svn update -r 20782 target/kepler-tasks.jar
U    target/kepler-tasks.jar
Updated to revision 20782.
bash-3.2$ ant update
Buildfile: build.xml

update:
[update-modules] Updating kepler...
[update-modules] svn -r head update /Users/cxh/src/kepler/kepler
[update-modules] At revision 20802.
[update-modules]
   C-c C-c[update-modules] Updating apple-extensions...
[update-modules] svn -r head update /Users/cxh/src/kepler/apple-extensions

...

_Christopher
-- 
Christopher Brooks (cxh at eecs berkeley edu) University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480


More information about the Kepler-dev mailing list