To achieve the same effect you should be able to do something like the following:
1) Add an operation to your metafacade that checks whether or not there are any classes for a given package (YourMetafacade::isClassesPresent()) 2) Map your template for your DAO factory to this metafacade and the new property (so now it'll only ouput that factory when that "classesPresent" property is true: <modelElements variable="factory"> <modelElement> <type name="package.for.your.metafacade.YourMetafacade"> <property name="classesPresent"/> </type> </modelElement> </modelElements> -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1649#1649 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