[ http://jira.andromda.org/browse/SPRING-207?page=all ] Chad Brandon closed SPRING-207: -------------------------------
Fix Version: 3.3 Resolution: Fixed Fixed, thanks for pointing that out Erik. > Unable to disable the generation for objects with <<Criteria>> stereotype. > -------------------------------------------------------------------------- > > Key: SPRING-207 > URL: http://jira.andromda.org/browse/SPRING-207 > Project: Spring Cartridge > Type: Bug > Versions: 3.2 > Reporter: Erik Kimmel > Assignee: Chad Brandon > Priority: Minor > Fix For: 3.3 > > Due to the fact that the load of entities was done using explicit stereotype > "Criteria". > Only the objects directly loaded as metafacades are taken into account by the > <modelPackage process="false"/> filters. > To fix it, simply update > cartridges/andromda-spring/src/META-INF/andromda/cartridge.xml from > <template > path="templates/spring/hibernate/SearchCriteria.vsl" > outputPattern="{0}/{1}.java" > outlet="$outlet" > overwrite="true"> > <modelElements variable="class"> > <modelElement stereotype="CRITERIA"/> > </modelElements> > </template> > to > <template > path="templates/spring/hibernate/SearchCriteria.vsl" > outputPattern="{0}/{1}.java" > outlet="$outlet" > overwrite="true"> > <modelElements variable="class"> > <modelElement> > <type > name="org.andromda.cartridges.spring.metafacades.SpringCriteriaSearch"/> > </modelElement> > </modelElements> > </template> -- 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 the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone