[Building Sakai] problem in samlite.patch

Ashish ashishnirma at gmail.com
Mon Aug 23 01:52:19 PDT 2010


loop in group....

On Mon, Aug 23, 2010 at 1:57 PM, Ashish <ashishnirma at gmail.com> wrote:

> *Thanks Karen for reply.
>
> I tried as you suggest me I merage code:
>
> 81159-81160 https://source.sakaiproject.org/svn/sam/trunk
>
> but after that I compile and build whole sakai project:
>
> Still it gives me the same error
> *
> [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
>
>
> *Is there any problem with sakai project version(sakai 2.7).
> Do i need to change that also?
> *
>
>
> On Mon, Aug 23, 2010 at 11:15 AM, Karen Tsao <ktsao at stanford.edu> wrote:
>
>> Ashish,
>>
>> If you have trunk code, please merge my trunk checkin revison81160. Just
>> do an "svn merge -r 81159:81160 https://src.sakaiproject..." instead of
>> using the samlite.patch.
>>
>> Thanks,
>> Karen
>>
>>
>>
>>
>> On Sun, Aug 22, 2010 at 9:56 PM, Ashish <ashishnirma at gmail.com> wrote:
>>
>>> Karen and Earle Thanks for your reply.
>>>
>>> Yes I have used Trunk code for Samigo module.
>>>
>>> To apply patch successfully and work successfully.
>>>
>>> Which version of sakai project and SAMIGO module I should use?
>>>
>>>
>>>
>>>
>>> On Fri, Aug 20, 2010 at 11:09 PM, Karen Tsao <ktsao at stanford.edu> wrote:
>>>
>>>> Hi Ashish,
>>>>
>>>> I am not sure what Samigo version you use. Do you use 2.7 or trunk code?
>>>> And do you use my checkin (revision 81160) or the Earle's patch directly?
>>>> The error message complains about some trunk (Samigo 2.8) code.
>>>>
>>>> Thanks,
>>>> Karen
>>>>
>>>>
>>>> On Fri, Aug 20, 2010 at 8:48 AM, Earle Nietzel <
>>>> Earle.Nietzel at marist.edu> wrote:
>>>>
>>>>> 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"
>>>>>
>>>>> _______________________________________________
>>>>> 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/20100823/36a5cb2b/attachment.html 


More information about the sakai-dev mailing list