Quote:
And I've spent last 2 hours trying to find out what the hell is going on with 
them.
(end of quote)




Why don't you take it easy buddy and next time post a question to the forum, 
most of the time you'll get answer fairly quickly.




Quote:
Are you SURE it's good feature to generate it to different dir than it is 
EXPLICITE configured in project.properties?
(end of quote)




If you take a look at these two template definitions, you'll see that it does 
go to the correct outlet defined in configuration, because when no operations 
are required it goes to the "daos" outlet, otherwise it goes to the "dao-impls" 
outlet.  And yes I do think its a good feature, I personally do not want code 
checked into source control that doesn't need to be.





&nbsp; &nbsp; <template

&nbsp; &nbsp; &nbsp; &nbsp; 
path="templates/spring/hibernate/SpringHibernateDaoImpl.vsl"

&nbsp; &nbsp; &nbsp; &nbsp; outputPattern="$generatedFile"

&nbsp; &nbsp; &nbsp; &nbsp; outlet="daos"

&nbsp; &nbsp; &nbsp; &nbsp; overwrite="true">

&nbsp; &nbsp; &nbsp; &nbsp; <modelElements variable="entity">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <modelElement>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <type 
name="org.andromda.cartridges.spring.metafacades.SpringEntity">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="daoImplementationRequired">false</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </type>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </modelElement>

&nbsp; &nbsp; &nbsp; &nbsp; </modelElements>

&nbsp; &nbsp; </template>



&nbsp; &nbsp; <template

&nbsp; &nbsp; &nbsp; &nbsp; 
path="templates/spring/hibernate/SpringHibernateDaoImplManual.vsl"

&nbsp; &nbsp; &nbsp; &nbsp; outputPattern="$generatedFile"

&nbsp; &nbsp; &nbsp; &nbsp; outlet="dao-impls"

&nbsp; &nbsp; &nbsp; &nbsp; overwrite="false">

&nbsp; &nbsp; &nbsp; &nbsp; <modelElements variable="entity">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <modelElement>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <type 
name="org.andromda.cartridges.spring.metafacades.SpringEntity">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="daoImplementationRequired"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </type>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </modelElement>

&nbsp; &nbsp; &nbsp; &nbsp; </modelElements>

&nbsp; &nbsp; </template>
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1485#1485
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to