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

Karen Tsao ktsao at stanford.edu
Tue Mar 1 09:49:25 PST 2011


Hi Gautham,

Have you included samigo-api in your pom.xml?

Thanks,
Karen

On Tue, Mar 1, 2011 at 1:45 AM, Gautham <gautham at sankhya.net> wrote:

>
> 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.
>
> _______________________________________________
> 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/20110301/e09b736c/attachment.html 


More information about the sakai-dev mailing list