[Building Sakai] spring-webmvc in shared

David Wafula davidwaf at gmail.com
Tue Jun 28 00:19:24 PDT 2011


Cool. I considered possibility of using spring 3 controller, was really not
sure how to configure it in web.xml. Not even sure it can work, am trying to
play with it. If you get anything like that going, would be great.

On Mon, Jun 27, 2011 at 9:31 PM, John Bush <john.bush at rsmart.com> wrote:

> ok, I think it depends on the tool, osp-presentation gave me an error
> trying to use spring-webmvc 3, but polls works fine.  So since I'm
> looking to use spring 3.0 webmvc in a new tool, looks like this might
> work, will have to see if we run into anything along the way.
>
> On Mon, Jun 27, 2011 at 12:25 PM, John Bush <john.bush at rsmart.com> wrote:
> > Well, this simple change will take the spring-mvc out of shared and
> > then the tools start including it again.  Quick test of osp and polls
> > looks fine:
> >
> > Macintosh-74:kernel jbush$ svn diff
> > Index: pom.xml
> > ===================================================================
> > --- pom.xml     (revision 27918)
> > +++ pom.xml     (working copy)
> > @@ -568,7 +568,7 @@
> >                 <groupId>org.springframework</groupId>
> >                 <artifactId>spring-webmvc</artifactId>
> >                 <version>2.5.6.SEC02</version>
> > -                <scope>provided</scope>
> > +                <!--scope>provided</scope-->
> >             </dependency>
> >             <dependency>
> >                 <groupId>javax.activation</groupId>
> >
> > There is work going on to look at Spring 3.0 moving forward here:
> > https://jira.sakaiproject.org/browse/KNL-517
> >
> > I was hoping to see if I could at least use spring3 webmvc in a tool
> > with core still at 2.5.6, but first pass seems to cause some error,
> > still digging into that a bit.  I think if this was possible that
> > would be a good compromise between those wanting to hold off on full
> > upgrade to spring 3.0, because at least tool devs could start using
> > some of the features in say spring mvc only.
> >
> > On Mon, Jun 27, 2011 at 12:12 PM, David Wafula <davidwaf at gmail.com>
> wrote:
> >>
> >>
> >> On Mon, Jun 27, 2011 at 8:37 PM, John Bush <john.bush at rsmart.com>
> wrote:
> >>>
> >>> ....... Now with
> >>> this in shared, tools aren't able to say update to spring 3.0 web.
> >>> Was there some reason kernel decided to start putting this into
> >>> shared?  I don't think its actually a requirement for any reason I'm
> >>> aware of.
> >>>
> >>
> >> I also ran into trouble trying to use spring 3 in a tool, may be  this
> >> should be reconsidered in future releases?
> >> regards,
> >> --
> >> David Wafula
> >>
> >
> >
> >
> > --
> > John Bush
> > 602-490-0470
> >
>
>
>
> --
> John Bush
> 602-490-0470
>



-- 
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110628/e82cd28f/attachment.html 


More information about the sakai-dev mailing list