[Building Sakai] A question about how to use some APIs in project Profile2

Small Cat shadowless4288 at gmail.com
Thu Nov 5 06:51:57 PST 2009


Dear all,
I want to add some functions for Profile2, and one of them can show all
scores of assigments in all course sites...
But I can't use some APIs as getSites.... ( I can use it in other tools, but
in Profile2 I don't know why it can't )
This is error when I deploy :

*[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\sakai\profile2-1.2.1\tool\src\java\org\sakaiproject\profile2\tool\myportfolio
s\MyPortfolios.java:[22,52] cannot access
org.sakaiproject.entity.api.EntityProd
ucer
file org\sakaiproject\entity\api\EntityProducer.class not found
                        courseSiteList =
siteService.getSites(SelectionType.ACCE
SS,

C:\sakai\profile2-1.2.1\tool\src\java\org\sakaiproject\profile2\tool\myportfolio
s\MyPortfolios.java:[35,60] cannot access org.sakaiproject.entity.api.Edit
file org\sakaiproject\entity\api\Edit.class not found
                        courseList.add(courseSiteList.remove(0).getTitle());
*

How to use getSites in Profile2 , if can not, what methods I can use to
replace ?
Thank you,
-- 
Regards,
Tran Trung Kien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091105/627444be/attachment.html 


More information about the sakai-dev mailing list