[Building Sakai] Unable to find org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI in Build process

Gautham gautham at sankhya.net
Tue Mar 1 01:45:49 PST 2011


Hi Steve,

I am trying to use the Samigo API Service "import
org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI;"
in "ExternalLogicImpl.java"(  to use Samigo methods in my new tool developed
by Sakai App Builder. I am getting the below Build Error:

[INFO] Compiling 5 source files to
D:\WS-Sakai\DBTESTMAIN\impl\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\WS-Sakai\DBTESTMAIN\impl\src\java\org\sakaiproject\dbtestmain\logic\ExternalL
ogicImpl.java:[29,61] package
org.sakaiproject.tool.assessment.shared.api.assess
ment does not exist


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 13 seconds
[INFO] Finished at: Tue Mar 01 10:37:14 IST 2011
[INFO] Final Memory: 26M/247M
[INFO]
------------------------------------------------------------------------
D:\WS-Sakai\DBTESTMAIN>

I have learnt that I have to import APIs of the respective tools to use in
our Sakai Tool. The Sakai App builder uses all below services Successfully
and get their methods:

import org.sakaiproject.authz.api.FunctionManager;
import org.sakaiproject.authz.api.SecurityService;
import org.sakaiproject.site.api.Site;
import org.sakaiproject.site.api.SiteService;
import org.sakaiproject.tool.api.SessionManager;
import org.sakaiproject.tool.api.ToolManager;
import org.sakaiproject.user.api.UserDirectoryService;

Does I need to add any more imports to use Samigo API Service or need to add
any dependencies in POM files/Components file.

Any help will be highly appreciated. 

Regards,
Gautham
-- 
View this message in context: http://old.nabble.com/Unable-to-find-org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI-in-Build-process-tp31039309p31039309.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list