Hi Wouter,
> 3. I want my output filenames to be a function of the names as > they appear in the model elements, how can I do this without > touching the kernel ? (I am now overriding getName() and > getPackageName() in UMLStaticHelper) > You can have AndroMDA use your version of UMLStaticHelper instead of the default one that comes with AndroMDA by using the 'repository' tag in the build.xml file. That will cause your helper to be used as the AndroMDA's meta-data repository even outside of of your cartridge. See 'repository' build tag description in: http://www.andromda.org/pages/buildtags.html The transformClassname attribute is optional. You should be able to do something like this in the build.xml file: <andromda ...> <repository classname="org.andromda.cartridges.struts2.UMLStaticHelper"/> </andromda> The 'model-report' project in the sample directory of AndroMDA does something similar. It adds a stereotype to an object that did not have one in the UML model. It does that in order to trigger code generation for a UML model that has no stereotypes. I think that should accomplish what you want. I know you asked about how to morph filenames in an earlier e-mail and I did not have a solution. It did not occur to me at the time that this was one way of doing it. Unfortunaly (unfortunately) your naming conventions will end up being used for all other cartridges too. Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
