[Building Sakai] Compilation problem of melete 2.6 with Sakai 2.6
Mallika M Thoppay
mallika at etudes.org
Wed Apr 1 12:53:37 PDT 2009
Kimberly,
Actually could you do this?
Add this method to MeleteSecurityServiceImpl.java:
public void transferCopyEntities(String fromContext, String toContext, List
ids, boolean flag)
{
transferCopyEntities(fromContext, toContext, ids);
}
Then compile Melete and let us know if it compiles successfully. Also,
please test the import from site functionality after you launch Melete.
Thanks,
Mallika
Mallika M Thoppay
Learning Systems Developer
Etudes Inc
_____
From: Kimberly Ma [mailto:this4it at gmail.com]
Sent: Wednesday, April 01, 2009 12:08 PM
To: Mallika M Thoppay
Cc: Vivie Sinou; Etudes; sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Compilation problem of melete 2.6 with Sakai
2.6
Thanks, Mallika.
Here is what I found out:
In sakai 2.6, the interface org.sakaiproject.entity.api.EntityTransferrer
has been modified,a new argument was added as boolean in
function
transferCopyEntities(java.lang.String,java.lang.String,java.util.List,boolea
n) , so the existing melete code in MeleteSecurityServiceImpl.java doesn't
have the definition of this newly added function. That's why compiler
complained.
The easiest fix can be to add function transferCopyEntities with boolean
argument, which the function body can be empty in
MeleteSecurityServiceImpl.java.
(You will know better of the functionality impact of this approach.)
Thanks,
-Kim
On Wed, Apr 1, 2009 at 12:41 PM, Mallika M Thoppay <mallika at etudes.org>
wrote:
Kim,
It appears that some of the Sakai Entity API has changed. We need to change
code in Melete to correlate with this. And it also seems like this change is
specific to Sakai2.6 API. We will look into it some more and get back to
you.
Thanks,
Mallika
Mallika M Thoppay
Learning Systems Developer
Etudes Inc
-----Original Message-----
From: Vivie Sinou [mailto:sinou at etudes.org]
Sent: Wednesday, April 01, 2009 7:37 AM
To: 'Etudes'
Subject: FW: [Building Sakai] Compilation problem of melete 2.6 with Sakai
2.6
FYI - Just in case this got buried in today's busy sakai-dev incoming
mail....
-----Original Message-----
From: sakai-dev-bounces at collab.sakaiproject.org
[mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Kimberly Ma
Sent: Wednesday, April 01, 2009 6:54 AM
To: sakai-dev at collab.sakaiproject.org
Subject: [Building Sakai] Compilation problem of melete 2.6 with Sakai 2.6
Hi, Dear Friends,
I am having the compilation failures when I compiled melete 2.6 with sakai
2.6.0RC1-SNAPSHOT.
The melete source I got is from here
http://etudesproject.org/release/melete/install-guide.htm
Melete 2.6 for Sakai 2.5 (and above)
Start by getting the Melete source code and placing it in your "sakai"
development folder. You can get this source from the Sakai contrib SVN.
To get Melete from SVN, issue these SVN commands from your Sakai source
folder:
svn co
https://source.sakaiproject.org/contrib/etudes/melete/tags/2.6.0/
<https://source.sakaiproject.org/contrib/etudes/melete/tags/2.6.0/>
melete
I made all the necessary dependency changes, the compilation failures are as
following:
INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/export/source/2.6trunk/melete/melete-impl/src/java/org/etudes/component/app
/melete/MeleteSecurityServiceImpl.java:[85,7]
org.etudes.component.app.melete.MeleteSecurityServiceImpl is not abstract
and does not override abstract method
transferCopyEntities(java.lang.String,java.lang.String,java.util.List,boolea
n) in org.sakaiproject.entity.api.EntityTransferrer
/export/source/2.6trunk/melete/melete-impl/src/java/org/etudes/component/app
/melete/MeleteSecurityServiceImpl.java:[85,7]
org.etudes.component.app.melete.MeleteSecurityServiceImpl is not abstract
and does not override abstract method
transferCopyEntities(java.lang.String,java.lang.String,java.util.List,boolea
n) in org.sakaiproject.entity.api.EntityTransferrer
Please help to resolve this, the melete source compiled without any problem
with sakai2.5, BTW.
Thanks,
-Kim Huang
Rutgers, OIRT
_______________________________________________
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/20090401/9a732601/attachment-0001.html
More information about the sakai-dev
mailing list