[ http://jira.andromda.org/browse/SPRING-143?page=history ]
     
Wouter Zoons reopened SPRING-143:
---------------------------------


> CriteriaSeach classes been generated to the core subproject
> -----------------------------------------------------------
>
>          Key: SPRING-143
>          URL: http://jira.andromda.org/browse/SPRING-143
>      Project: Spring Cartridge
>         Type: Bug
>     Versions: 3.1
>  Environment: Windows XP Pro, Java-1.5.0_6, maven-1.0.2, MagicDraw-9.5
>     Reporter: Diego Bendlin
>     Assignee: Wouter Zoons
>      Fix For: 3.2-RC1
>  Attachments: cartridge.xml, namespace.xml
>
> The problem with the CriteriaSearchClasses seems to be related to the fact 
> that Criteria classes are been generated to the core subproject instead of 
> the common subproject. 
> After navigating the spring-cartridge jar I found the following on the 
> cartridge.xml 
> Code: 
>     <template 
>         path="templates/spring/hibernate/SearchCriteria.vsl" 
>         outputPattern="{0}/{1}.java" 
>         outlet="daos" 
>         overwrite="true"> 
>         <modelElements variable="class"> 
>             <modelElement stereotype="CRITERIA"/> 
>         </modelElements> 
>     </template> 
>  
> Normally the daos outlet on andromda.xml is configured the following way 
> Code: 
>                 <property 
> name="daos">${maven.andromda.core.generated.dir}</property> 
>  
> Criteria classes should have their own outlet, something like 
> "search-criteria" or similar and that property should than be pointed by 
> default to the ${maven.andromda.common.generated.dir}




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Reply via email to