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

Noah Botimer botimer at umich.edu
Fri Jul 31 13:06:28 PDT 2009


See? I knew Aaron would have a properly reasoned response. :-)

[Thanks for chiming on a late Friday evening, AZ]

Thanks,
-Noah

On Jul 31, 2009, at 4:01 PM, Aaron Zeckoski wrote:

> Alternatively, you could change the dependency to read like this:
>         <dependency>
>             <groupId>org.sakaiproject</groupId>
>             <artifactId>sakai-jsp-adapter</artifactId>
>             <version>0.8-M2</version>
>             <scope>runtime</scope>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.sakaiproject</groupId>
>                     <artifactId>sakai-tool-api</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>
> I can do a new release of that jar as well but the best solution for
> now is to just make that change.
> -AZ
>
>
> On Fri, Jul 31, 2009 at 8:15 PM, Noah Botimer<botimer at umich.edu>  
> wrote:
>> 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"
>>
>> _______________________________________________
>> 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"
>>
>>
>
>
>
> -- 
> Aaron Zeckoski (azeckoski (at) vt.edu)
> Senior Research Engineer - CARET - University of Cambridge
> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
> http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
>
>



More information about the sakai-dev mailing list