[Building Sakai] Mneme + 2.9.x + Java 7

Earle Nietzel earle.nietzel at gmail.com
Wed Jul 11 11:22:32 PDT 2012


If the build is failing in those tools the first thing would to be to
figure out where the build fails i.e. when running tests, or actually
doing a compile.

I am going to guess its failing in a test since 9 times out of 10
thats probably where the problem will be.

In JUnit your tests are not guaranteed to run in the order they appear
in your TestCase, but prior to Java 7 this tended to be the norm and
so people have come to rely on it. But in Java 7 this not the case so
make sure that each test is self contained, i.e. a test depending on a
previous test that inserted some stuff in a database is not good
practice and these are the kinds of tests that will break in Java 7.
In the end "Each test should be independent".

If its a compile issue it will usually be an issue with another
library i.e. xalan, xerces. Since newer versions of these libraries
are packaged with the JDK. This happened to be an issue in rwiki and
you can see the fix here
https://jira.sakaiproject.org/browse/SAK-22210

If that doesn't help your going to have post the specifics!

Earle


On Wed, Jul 11, 2012 at 8:38 AM, Robert E. Long <relong at svsu.edu> wrote:
> All,
>
> Has anyone been able to get the following to build and deploy on Sakai
> 2.9.x-all and Java 7?
>
> mneme 2.1.10
> ambrosia 2.1.10
> etudes-util 1.0.13
>
> If so, any tips?
>
> Thanks,
> Bob
>
> ----
> Robert E. Long, MA
> Lead Java Software Engineer / Analyst
> Educational Technology Instructor
> Saginaw Valley State University
> M.A., Instructional Technology
> relong at svsu.edu
> O: 989.964.2245
>
>
>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"


More information about the sakai-dev mailing list