[kepler-dev] Kepler build problem: Bad Version number

Christopher Brooks cxh at eecs.berkeley.edu
Fri May 29 07:16:21 PDT 2009


My little nightly build failed, and I can reproduce it:

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
bash-3.2$

Presumably, the problem is that there is a Java 1.6 .class file
somewhere.

It would be nice if the error message was more explicit and included
a stack trace.

Line 5 of tasksdef.xml is marked below:

<project name="taskdefs">

	<typedef name="get-modules"
         classname="org.kepler.build.Get"
--->    classpath="build-area/target/kepler-tasks.jar"/>

	<typedef name="change-to"
         classname="org.kepler.build.ChangeTo"
		classpath="build-area/target/kepler-tasks.jar"/>


Not much to go on.

This is where having "ant update" build stable versions of
all the components would help.  I realize Kepler is usually much
more stable than Ptolemy, so it is probably not worth it at this
time.

Also, I've not been seeing the NMI build messages lately.  Is it
still running?

_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