Hi all, Thursday, April 21, 2005, 4:12:26 PM, you wrote:
CB> Matthias Bohlen wrote: >>Hi all, >> >>imagine you are writing a cartridge for a language other than Java. >>You will need your own type mappings for that language. >> >>Question: Is it possible to package a type mapping file *inside* >>a cartridge and activate it automatically at code generation time? >>Without forcing the cartridge user to set the typemappingsURI >>namespace property? How? >> >> CB> Yeah, just look it up as a resource from a class Class.class.getResource(). >>Cheers... >>Matthias ahm, yes, sure! But how do I make ModelElementFacade use it? ModelElementFacade.getFullyQualifiedName() tries to use the mapping it finds inside the namespace property <typeMappingsUri />. It does not know about the other mappings inside my special cartridge! Oh, I see - I should simply override that method, right? Cheers... Matthias --- Matthias Bohlen "Consulting that helps project teams to succeed..." Internet: http://www.mbohlen.de/ [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
