[Building Sakai] Error building etudes-util with 2.7.0

Glenn R. Golden ggolden22 at mac.com
Tue Jul 13 13:50:44 PDT 2010


I'll fix this and release a 1.0.6 tag shortly.  Thanks for finding it!

- Glenn

Glenn R. Golden
Chief Architect, Etudes, Inc.
ggolden at etudes.org




On Jul 13, 2010, at 3:47 PM, Robert Long wrote:

> Did the same. It builds now.
> 
> Thanks Matt and Omer!
> 
> --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
> 
> 
> On 7/13/10 3:44 PM, "Omer Piperdi" <omer at rice.edu> wrote:
> 
>> Yes.. I made changes in line 1467 and 1116.. changed the data type to
>> long from int for size.
>> 
>> Thanks
>> Omer
>> 
>> On 7/13/2010 2:33 PM, Matthew Jones wrote:
>>> 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
>>> <mailto: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
>>>    <mailto: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
>>>    <mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a
>>>    subject of "unsubscribe"
>>> 
>>> 
>>> !DSPAM:2294,4c3cbf92274438991876921!
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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"
>>> 
>>> !DSPAM:2294,4c3cbf92274438991876921!
>> _______________________________________________
>> 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"
>> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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