[Building Sakai] Converting small app to 2.6.x question

Robert E. Long relong at vmail.svsu.edu
Fri Jul 31 12:49:45 PDT 2009


Noah, 

Thank you. That seemed to work perfectly! 

And I do have the jar that I built. I have attached it for anyone to add it to the repo or whatever needs to be done. 

Thank you, 
Bob 


--- 
Robert E. Long, MA 
Saginaw Valley State University 
Open Source Programmer / Analyst 
Math / Education Instructor 
M.A. Instructional Technology 
O: 989.964.2245 
E: relong at svsu.edu 

----- Original Message ----- 
From: "Noah Botimer" <botimer at umich.edu> 
To: "Robert E. Long" <relong at svsu.edu> 
Cc: "sakai-dev Dev" <sakai-dev at collab.sakaiproject.org> 
Sent: Friday, July 31, 2009 3:15:09 PM GMT -05:00 US/Canada Eastern 
Subject: Re: [Building Sakai] Converting small app to 2.6.x question 

I'll leave it to Aaron or someone better suited for a properly reasoned response. But what I would do in the interim is this: 


1. Grab the source here: https://saffron.caret.cam.ac.uk/svn/projects/sakai-webapp-tool/trunk/ 
2. Change the pom to point at sakai-kernel-api instead of sakai-tool-api, using whatever kernel version your main build is (see master/pom.xml) 
3. Bump the artifact version to something like 0.8-26x 
4. Build / install in local repo 
5. Change your app's sakai-jsp-adapter version to whatever you chose in #3 
6. Cross fingers, build, deploy, test 


Thanks, 
-Noah 





On Jul 31, 2009, at 2:29 PM, Robert E. Long wrote: 



All, 

I am in the process of converting all of our small webapps from 2.5.4 to 2.6.x. I am running into a small issue with one of the tools. 

The tool was built with the Sakai App Builder about 6 months ago (pre-2.6) and ran on our Sakai 2.5.4 instance. I am converting it to 2.6.x / K1 and after running the script transformArtifacts.xsl on all the poms (2 of them), it is still complaining about not being able to find 1 required artifact: sakai-tool-api, which should have been pulled into the kernel. I have all the kernel dependencies in my pom.xml. 

-------- 
<dependency> 
<groupId>org.sakaiproject.kernel</groupId> 
<artifactId>sakai-kernel-api</artifactId> 
<version>${sakai.kernel.version}</version> 
</dependency> 
<dependency> 
<groupId>org.sakaiproject.kernel</groupId> 
<artifactId>sakai-component-manager</artifactId> 
<version>${sakai.kernel.version}</version> 
</dependency> 
<dependency> 
<groupId>org.sakaiproject.kernel</groupId> 
<artifactId>sakai-kernel-util</artifactId> 
<version>${sakai.kernel.version}</version> 
</dependency> 
-------- 

I have investigated it and my conclusion is that the sakai-jsp-adapter (v. 0.8-M2) is calling for it. Is there, per chance a newer version that is built for 2.6.x? 

Here is the error, if it is needed: 

------ 
INFO] Failed to resolve artifact. 

Missing: 
---------- 
1) org.sakaiproject:sakai-tool-api:jar:M2 
.. 
.. 
.. 
Path to dependency: 
1) org.sakaiproject.sitearchiver:sakai-sitearchiver-tool:war:0.2 
2) org.sakaiproject:sakai-jsp-adapter:jar:0.8-M2 
3) org.sakaiproject:sakai-tool-api:jar:M2 
--------- 

Any pointers for me on how to proceed? 

Thank you, 
Bob 


--- 
Robert E. Long, MA 
Saginaw Valley State University 
Open Source Programmer / Analyst 
Math / Education Instructor 
M.A. Instructional Technology 
O: 989.964.2245 
E: relong at svsu.edu 

_______________________________________________ 
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/20090731/207b92d8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sakai-jsp-adapter-0.8-26x.jar
Type: application/zip
Size: 8105 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090731/207b92d8/attachment.zip 


More information about the sakai-dev mailing list