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

Christopher Brooks cxh at eecs.berkeley.edu
Fri May 29 10:12:47 PDT 2009


Hi Matt,
Yep, Chad's recent change works for me (Thanks Chad!)

_Christopher

Matt Jones wrote:
> Hi Christopher,
> 
> Did Chad's recent checkin removing the Java 1.6 class help with your build?
> 
> I also haven't seen the NMI build logs coming through.  Chad or David,
> could one of you look into why we aren't seeing NMI builds?  Thanks,
> 
> Matt
> 
> On Fri, May 29, 2009 at 6:16 AM, Christopher Brooks
> <cxh at eecs.berkeley.edu> wrote:
>> 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
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>
> 
> 
> 

-- 
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