[Building Sakai] problem in samlite.patch

Ashish ashishnirma at gmail.com
Fri Aug 20 07:34:21 PDT 2010


*Hi all:

To apply web service in SAMIGO module
i applied to patch

samlite.patch and axis-samlite.patch

axis-samlite.patch @ webservice folder and done successfully.

but for **samlite.patch when applying patch i got following error:
*
E:\Sakai\sakai-src-2.7.0\samiGo>patch -p0<e:\samlite.patch
patching file
samigo-api/src/java/xml/xsl/dataTransform/import/v1p2/extractItem.
xsl
Hunk #1 FAILED at 127.
1 out of 1 hunk FAILED -- saving rejects to file
samigo-api/src/java/xml/xsl/dat
aTransform/import/v1p2/extractItem.xsl.rej
patching file
samigo-services/src/java/org/sakaiproject/tool/assessment/facade/A
ssessmentFacadeQueriesAPI.java
patching file
samigo-services/src/java/org/sakaiproject/tool/assessment/facade/A
ssessmentFacadeQueries.java
patching file
samigo-services/src/java/org/sakaiproject/tool/assessment/services
/assessment/AssessmentService.java
patching file
samigo-qti/src/java/org/sakaiproject/tool/assessment/services/qti/
QTIService.java
Hunk #1 succeeded at 70 (offset 3 lines).
patching file
samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/Au
thoringHelper.java
Hunk #1 succeeded at 494 with fuzz 2 (offset 21 lines).
Hunk #2 succeeded at 519 with fuzz 2 (offset 24 lines).
patch unexpectedly ends in middle of line
patch unexpectedly ends in middle of line


*Then i tried to build samigo module
E:\Sakai\sakai-src-2.7.0\samiGo>mvn clean install -Dmaven.skip.test=true


I got following error: *

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

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[518,64] cannot find symbol
symbol : variable isRespondus
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[549,10] cannot find symbol
symbol : variable isRespondus
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[594,57] cannot find symbol
symbol : variable isRespondus
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[613,50] cannot find symbol
symbol : variable isRespondus
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[618,47] cannot find symbol
symbol : variable isRespondus
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[621,16] cannot find symbol
symbol : variable failedMatchingQuestions
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper

E:\Sakai\sakai-src-2.7.0\samiGo\samigo-qti\src\java\org\sakaiproject\tool\assess

ment\qti\helper\AuthoringHelper.java:[622,13] cannot find symbol
symbol : variable failedMatchingQuestions
location: class org.sakaiproject.tool.assessment.qti.helper.AuthoringHelper



*I Solved this error by changing code in **AuthoringHelper**.java file

But now problem is that when i compile whole sakai project it gets fail
*
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.sakaiproject:sakai-samigo-qti:jar:2.7.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.sakaiproject
-DartifactId=sakai-sam
igo-qti -Dversion=2.7.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.sakaiproject
-DartifactId=sakai-samig
o-qti -Dversion=2.7.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Dreposit
oryId=[id]

  Path to dependency:
        1) org.sakaiproject:sakai-axis:war:2.7.0
        2) org.sakaiproject:sakai-samigo-qti:jar:2.7.0

----------
1 required artifact is missing.
*
After applying patch this build error occurs.
in .M2 folder it creates samigo-qti-2.8-SNAPSHOT.jar*


Regards,
Ashish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100820/d613c56c/attachment.html 


More information about the sakai-dev mailing list