[ http://jira.andromda.org/browse/SPRING-107?page=comments#action_12319 ] Joel Kozikowski commented on SPRING-107: ----------------------------------------
Yes, it is backward compatible (at least, I THINK it is :-) ). What I did was basically add a set of new outlets: client client-config client-test server server-impl server-test server-test-config AND I added a new namespace property: richClient For those files where I desired the output to be "relocated" from its default spot, I DUPLICATED the <template> definition in cartridge.xml. For the "old" template definition, I added <property name="richClient">false</property>, and for the "relocated", I added <property name="richClient">true</property>, then changed the outlet. Ideally, I would have simply used a template variable to set the outlet (like one does for the "outputPattern"), but that feature is not supported, so I had to "fake it" For a couple of template files where there were actual changes to the content, I created a new .vsl file and put it in the templates/spring/richClient dir. > Rich Client Support > ------------------- > > Key: SPRING-107 > URL: http://jira.andromda.org/browse/SPRING-107 > Project: Spring Cartridge > Type: New Feature > Versions: 3.1RC1 > Environment: Java: 1.4.2_08 > Spring: 1.2.3 > Maven: 1.0.2 > OS: Windows XP Pro > Reporter: Diego Bendlin > Assignee: Peter Friese > Attachments: SpringMetafacadeModel.xml.zip, richClient1-0.txt > > When generating a fresh new Spring project by default it's build to be > dependent on EJB, it is possible to disable this dependencies by commenting > the necesary namespace properties and adding others like remoting type, > remote server and remote port. > When trying to build a non web app some code needs to me manually edited in > the generated web.xml file in order to have the spring dispatcherServlet load > the application context and thus getting the services published on the > specified server and port. > It would be nice if andromda generation process could generate this code > automaticaly, and also consider that users might not be building a web based > app. > For a complete reference please see > http://galaxy.andromda.org/forum/viewtopic.php?t=715 > Peter Freise (freter) said he was already thinking how to implement this and > wanned me to asign this issue to him, but im not able to do so due to > andromda's JIRA settings ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click