yes, just edit the proper namespace in mda/conf/andromda.xml, for example if 
you are using hibernate then do this:



&nbsp; &nbsp; &nbsp; &nbsp; <namespace name="hibernate">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <properties>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernateTypeMappingsUri">file&#58;$&#123;maven.conf.dir&#125;/mappings/HibernateMappings.xml</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernateInheritanceStrategy">$&#123;hibernate.inheritance.strategy&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="defaultHibernateGeneratorClass">$&#123;hibernate.generatorClass&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernateDefaultCascade">save-update</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="entities">&#91;b&#93;$&#123;maven.andromda.core.manual.dir&#125;&#91;/b&#93;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="entity-impls">$&#123;maven.andromda.core.manual.dir&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="customTypesPackage">$&#123;application.package&#125;</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property 
name="compositionDefinesEagerLoading">true</property>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </properties>

&nbsp; &nbsp; &nbsp; &nbsp; </namespace>





notice how the line in bold changed from ${maven.andromda.core.generated.dir} 
to ${maven.andromda.core.manual.dir}



now all your entities will be emitted into the source tree



I do think it will be more interesting for you to override the template for 
those entities, you can do that as is explained here: 



that way you just take the template out of the cartridge, store it in your 
source tree and make the necessary changes, reference the dir with custom 
templates from andromda.xml and run andromda again
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3002#3002
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