[Building Sakai] help: Samigo 2.7 upgrade

Karen Tsao ktsao at stanford.edu
Wed Jul 14 09:15:55 PDT 2010


Stephen,

Thanks a lot for the explanation. I will remove that item from the list.

Karen

On Tue, Jul 13, 2010 at 11:25 PM, Stephen Marquard <
stephen.marquard at uct.ac.za> wrote:

> Hi Karen,
>
> Java is happy to let you implicitly typecast an int to a long, but not the
> other way around. So if your code has:
>
> long itemsize = chs.getContentLength();
>
> then regardless of whether getContentLength() is defined to return int or
> long, the code will build and execute correctly. So always using a long for
> content length is backwards-compatible.
>
> However, the reverse is not true - code that has
>
> int itemsize = chs.getContentLength()
>
> will only build when getContentLength() returns an int. If it returns a
> long, you get a build error.
>
> So the short summary is that the changes in SAK-18229 are safe to use with
> 2-6-x.
>
> Regards
> Stephen
>
> >>> Karen Tsao <ktsao at stanford.edu> 2010/07/14 01:51 AM >>>
> Stephen,
>
> I think the change in SAK-18229 has to go with the change of KNL-205 (in
> kernel 1.1.0). In the previous versions (e.g., kernel 1.0.11), the
> getContentLength() API returns int. But in KNL-205, getContentLength()
> changes to return long. So if we don't reverse the change in SAK-18229,
> there will be compilation errors. Does this sound correct to you?
>
> Thanks,
> Karen
>
> On Tue, Jul 13, 2010 at 1:11 PM, Stephen Marquard <
> stephen.marquard at uct.ac.za> wrote:
>
> > The page below references SAK-18229 - as far as I know those changes are
> > backwards-compatible, so they shouldn't present any problems for 2.6.x.
> > Hence it shouldn't be necessary to reverse them.
> >
> > Regards
> > Stephen
> >
> > >>> Karen Tsao <ktsao at stanford.edu> 7/13/2010 8:36 PM >>>
> > Hi Sanghyun,
> >
> > There are some steps you need to perform in order to run Samigo 2.7
> inside
> > Sakai 2.6.x:
> >
> >
> http://confluence.sakaiproject.org/display/SAM/How+to+run+Samigo+2.7+inside+Sakai+2.6
> > .
> > Please follow the instruction and let me know if anything is missing.
> >
> > Thanks,
> > Karen
> >
> > On Fri, Jul 9, 2010 at 2:41 PM, Jeon,Sanghyun Seo <euksa99 at ufl.edu>
> wrote:
> >
> > > Hello,
> > >
> > > This is our first attempt to upgrade a tool,  We are trying to upgrade
> > > Samigo only. We want to run Samigo 2.7 inside Sakai 2.6.x. We removed
> > 'sam'
> > > and checked out 'Samigo 2.7' and renamee 'Samigo 2.7' as 'sam'. We also
> > > found sql conversion script. Just running this conversion script does
> not
> > > work well. We assume there might be more steps we need to follow.
> >  However,
> > > we cannot find the appropriate instructions about how to run Samigo 2.7
> > in
> > > Sakai 2.6.x. Can someone please help me?
> > >
> > >
> > > Sanghyun
> > > _______________________________________________
> > > 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"
> > >
> >
> >
> >
> >
> >
> > ###
> > UNIVERSITY OF CAPE TOWN
> >
> > This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> > published on our website at
> > http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
> > +27 21 650 4500. This e-mail is intended only for the person(s) to whom
> it
> > is addressed. If the e-mail has reached you in error, please notify the
> > author. If you are not the intended recipient of the e-mail you may not
> use,
> > disclose, copy, redirect or print the content. If this e-mail is not
> related
> > to the business of UCT it is sent by the sender in the sender's
> individual
> > capacity.
> >
> > ###
> >
> >
>
>
>
>
> ###
> UNIVERSITY OF CAPE TOWN
>
> This e-mail is subject to the UCT ICT policies and e-mail disclaimer
> published on our website at
> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
> +27 21 650 4500. This e-mail is intended only for the person(s) to whom it
> is addressed. If the e-mail has reached you in error, please notify the
> author. If you are not the intended recipient of the e-mail you may not use,
> disclose, copy, redirect or print the content. If this e-mail is not related
> to the business of UCT it is sent by the sender in the sender's individual
> capacity.
>
> ###
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100714/1a0cae6b/attachment.html 


More information about the sakai-dev mailing list