[Building Sakai] problem in samlite.patch
Earle Nietzel
Earle.Nietzel at marist.edu
Fri Aug 20 08:48:38 PDT 2010
Hello Ashish,
I think Karen Tsao has refactored AuthoringHelper.java and is working to
get that patch adapted.
That patch was oringinally made for 2.6.
Earle
From: Ashish <ashishnirma at gmail.com>
To: sakai-dev sakai-dev <sakai-dev at collab.sakaiproject.org>,
samigo-dev at lists.stanford.edu
Date: 08/20/2010 10:34 AM
Subject: [Building Sakai] problem in samlite.patch
Sent by: sakai-dev-bounces at collab.sakaiproject.org
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.
_______________________________________________
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/20100820/df3b81f7/attachment.html
More information about the sakai-dev
mailing list