[ http://jira.andromda.org/browse/SPRING-204?page=comments#action_15190 ]
Diego Bendlin commented on SPRING-204: -------------------------------------- Forgot to say that this is intended for inter application comunication, nos client server like operation such as richClient. here's that I've changed: <template path="templates/spring/SpringClientServiceLocator.vsl" outputPattern="$generatedFile" outlet="service-interfaces" overwrite="true" outputToSingleFile="true" outputOnEmptyElements="false"> <modelElements> <modelElement variable="services"> <type name="org.andromda.cartridges.spring.metafacades.SpringService"> <property name="remotable"/> <property name="richClient">false</property> </type> </modelElement> <modelElement variable="manageables"> <type name="org.andromda.cartridges.spring.metafacades.SpringManageableEntity"/> </modelElement> </modelElements> </template> and <template path="templates/spring/applicationContext-client.xml.vsl" outputPattern="$applicationContextClient" outlet="service-interfaces" overwrite="true" outputToSingleFile="true" outputOnEmptyElements="false"> <modelElements> <modelElement variable="services"> <type name="org.andromda.cartridges.spring.metafacades.SpringService"> <property name="remotable"/> <property name="richClient">false</property> </type> </modelElement> <modelElement variable="manageables"> <type name="org.andromda.cartridges.spring.metafacades.SpringManageableEntity"/> </modelElement> </modelElements> </template> > Remoting Files Outlet > --------------------- > > Key: SPRING-204 > URL: http://jira.andromda.org/browse/SPRING-204 > Project: Spring Cartridge > Type: Improvement > Versions: 3.3 > Environment: Ubuntu 2.6 kernel + jdk1.5.0_14 + maven-2.0.8 > Reporter: Diego Bendlin > Assignee: Chad Brandon > Priority: Minor > > Currently RemoteServiceLocator and > applicationContext-import-remoteServices.xml are generated in the > ${code.generated.dir} aka, core/target/src. and packaged between the core.jar > So if we would like to distribute this to a client application as a library > so that it can connect to our app, we have to distribute the common.jat and > the core.jar (witch conceptually seems wrong, since the core is supposed to > stay on the server and only hte common distributed as a library). > To make this two files get generated to the ${common.generated.dir} we can > change their outlets properties for this to files template in cartridge.xml > to "service-interfaces" so the files will get generated in the common tree > and also packaged between the common.jar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/