[Building Sakai] It seems hybrid breaks my local trunk build / NIGHTLY2 build fail

Speelmon, Lance lance at indiana.edu
Wed Nov 10 07:50:11 PST 2010


These types of errors are caused by a Java version mismatch between the compiled proxies and your runtime.

Below are a list of some of the version numbers and their corresponding Java runtimes:
Version 50.0 = Java 1.6.x
Version 49.0 = Java 1.5.x
Version 48.0 = Java 1.4.x

Probably more related to:
https://source.sakaiproject.org/viewsvn?view=revision&revision=84450


Lance Speelmon
Scholarly Technologist

On Nov 10, 2010, at 10:33 AM, Anthony Whyte wrote:

QUICK TEST

Delete from .m2/repository/org/sakaiproject

/hybrid
/login
/login-base

then

cd sakai-trunk
mvn clean install sakai:deploy

[all trunk artifacts then downloaded and installed--I refresh my repo frequently and trunk artifacts were conveniently absent]

RESULT

Build successful, repo stocked with hybrid-1.1-SNAPSHOT dependencies, etc.


HUDSON (always good to check hudson)
http://builds.sakaiproject.org:8080<http://builds.sakaiproject.org:8080/>

Last successful/stable Sakai trunk build was 10 hours ago.  See http://bit.ly/dfXf8e


SNAPSHOT REPO

The snapshot was last refreshed on 9 Nov 2010 13:40
http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/hybrid/sakai-hybrid-util/1.1-SNAPSHOT/


NIGHTLY2  (no help at the moment)

The 8 am (US) nightly trunk build failed on a GET request of message-forums-assembly-2.9-SNAPHOST-tomcat-overlay.zip

Reason: I/O exception: Stream closed.

The 4 AM build was good.


Cheers,

Anth



On Nov 10, 2010, at 3:38 PM, Jean-Francois Leveque wrote:

Hi all,

I didn't expect this:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/sakai/build/trunk/sakai_trunk_build/login/login-tool/tool/src/java/org/sakaiproject/login/filter/NakamuraAuthenticationFilter.java:[64,-1] cannot access org.sakaiproject.util.XSakaiToken
bad class file: /home/sakai/.m2/repository/org/sakaiproject/hybrid/sakai-hybrid-util/1.1-SNAPSHOT/sakai-hybrid-util-1.1-SNAPSHOT.jar(org/sakaiproject/util/XSakaiToken.class)
class file has wrong version 50.0, should be 49.0

Looks like this is realted to https://source.sakaiproject.org/viewsvn?view=revision&revision=84441

It still happens after cleaning the Maven repository.

Cheers,

J-F




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101110/a1334f9f/attachment.html 


More information about the sakai-dev mailing list