[Building Sakai] Unable to find org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI in Build process
Gautham
gautham at sankhya.net
Wed Mar 2 22:34:26 PST 2011
Hi Steve/Karen,
I have added the dependency for Samigo-api in main POM file as follows:
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-samigo-api</artifactId>
<version>2.6.0</version>
</dependency>
While building the project, I got the same 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
Then I added the Samigo dependency in "tools" POM file and got the same
build Error.
components.xml:
<bean id="org.sakaiproject.dbtestmain.logic.ExternalLogic"
class="org.sakaiproject.dbtestmain.logic.ExternalLogicImpl"
init-method="init">
<property name="functionManager"
ref="org.sakaiproject.authz.api.FunctionManager" />
<property name="securityService"
ref="org.sakaiproject.authz.api.SecurityService" />
<property name="sessionManager"
ref="org.sakaiproject.tool.api.SessionManager" />
<property name="siteService"
ref="org.sakaiproject.site.api.SiteService" />
<property name="toolManager"
ref="org.sakaiproject.tool.api.ToolManager" />
<property name="userDirectoryService"
ref="org.sakaiproject.user.api.UserDirectoryService" />
<property name="sectionService"
ref="org.sakaiproject.tool.assessment.shared.api.assessment.SectionServiceAPI"
/>
<property name="assessmentServiceAPI"
ref="org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI"
/>
<property name="gradingService"
ref="org.sakaiproject.tool.assessment.services.GradingService" />
</bean>
I have also tried for "GradingService" and "SectionServiceAPI" and got the
same build Error.
Also find the attached files for your reference.
(1) ExternalLogicImpl.java
(2) "components.xml" file in "pack\src\webapp\WEB-INF\" location
(3) Main POM file
It will be highly appreciated if anyone provide the changes I need to make
to these 3 files to use "AssessmentServiceAPI" in my New tool.
Regards,
Gautam
http://old.nabble.com/file/p31056415/ExternalLogicImpl.java
ExternalLogicImpl.java http://old.nabble.com/file/p31056415/components.xml
components.xml http://old.nabble.com/file/p31056415/pom.xml pom.xml
--
View this message in context: http://old.nabble.com/Unable-to-find-org.sakaiproject.tool.assessment.shared.api.assessment.AssessmentServiceAPI-in-Build-process-tp31056415p31056415.html
Sent from the Sakai - Development mailing list archive at Nabble.com.
More information about the sakai-dev
mailing list