Hi
I am currently working on a Spring Roo project (building a Spring MVC web application using the Roo code generation features). Spring Roo is pretty new but seems to be quite interesting but one area it is not strong in is the web front end.
Having used jQuery on an ASP.NET MVC project I would like to start using jQuery with Spring Roo as well. Now I can certainly do this but I would like to try and contribute to Spring Roo if at all possible by developing a simple addon to add jQuery to the project. The idea in Spring Roo is that you run a command shell and issue commands that generate code and configure your project (check out
http://www.springsource.org/roo/start and you will see and example). Spring Roo uses Apache Maven to fetch resources etc.
This is the first stumbling block for automating the addition of jQuery with Spring Roo - as far as I can see there is no Maven artifact available. However the jQuery UI stable download is very close to what is needed so maybe this could simply be uploaded as a Maven artifact as part of the release process? (ss
http://maven.apache.org/guides/mini/guide-central-repository-upload.html)The idea here would be to provide a really quick way to add jQuery to a Java project using Maven. Currently this is usually done via a wrapped up 'plugin' like the Struts2 jQuery plugin (
http://code.google.com/p/struts2-jquery/). But personally I don't think wrapping jQuery this closely with the Java web framework is very useful - what I want to do is replace the JSP based front end with a jQuery interface.
Anyway I would be very interested to here the teams thoughts about this.
Regards
Chris Mein