[Building Sakai] Error building etudes-util with 2.7.0

Matthew Jones jonespm at umich.edu
Tue Jul 13 12:33:31 PDT 2010


In 2.7 the line in etudes util (1116:XrefHelper.java) int size =
resource.getContentLength(); is no longer correct because content hosting
was changed in KNL-205 [1] to return a long instead of an int to get around
the 2G limit. [1]

It looks like some of this file was updated, but not all of it. You'd need
to patch this, and also probably update the matches( . . .) function. :(

[1] http://jira.sakaiproject.org/browse/KNL-205
[2] http://goo.gl/H51a


On Tue, Jul 13, 2010 at 3:15 PM, Robert Long <relong at svsu.edu> wrote:

>  All,
>
> Having a small, yet frustrating issue trying to build etudes-util (version
> 1.0.5) with 2.7.0. I am using Java 1.6.0_20 and Maven 2.2.1.
>
> When I run a “mvn –e install” I get the following error:
>
> ---begin error---
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /usr/local/sakai_2-7-0/etudes-util/etudes-util/util/src/java/org/etudes/util/XrefHelper.java:[1116,39]
> possible loss of precision
> found   : long
> required: int
>
> ---end error---
>
> Throw me a clue here?
>
> Thanks,
> Bob
>
> ----
> Robert E. Long, MA
> Saginaw Valley State University
> Open Source Programmer / Analyst
> Math / Education Technology Instructor
> M.A. Instructional Technology
> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100713/99b167a0/attachment.html 


More information about the sakai-dev mailing list