-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Morris Sent: Monday, January 03, 2005 2:42 PM To: [email protected] Subject: RE: [Andromda-user] Modeling datatypes - builtin and custom?
I was able to spend some more time debugging this and it looks like it may be something to do with the way mappingsSearchPath element of the Ant andromda task works (or doesn't). All the editing I was doing to the various mapping files wasn't getting picked up which is why nothing ever worked. [CB] The mappingsSearchPath looks for the name attribute in the each mappings file <mappings name="JavaX"/> (it's not based on the actual file name). Try that and let me know if it still doesn't pick it up. I noticed the Jira issue CORE-24 which seems to have introduced a change in behavior here, but neither the old syntax directory-based or the new file-based syntax seems to work. http://team.andromda.org:8080/jira/browse/CORE-24 The build.xml in the mda subdirectory sets the languageMappingsUri which I changed from its default value of Java to JavaX (and created a corresponding JavaXMapping.xml file) to make sure I could tell when it was working and when it wasn't. <namespace name="default" ignore="false"> <property name="languageMappingsUri" value="JavaX"/> </namespace> This fails to find the file ${baseddir}/src/mappings/JavaXMappings.xml using both the old and new values for the mappingsSearchPath element. The only way I've been able to get it to work is by hardwiring a specific file name : <property name="languageMappingsUri" value="file:${basedir}/src/mappings/JavaXMappings.xml"/> How is this supposed to work? As an aside, where does the expansion from "Java" to "<path>JavaMappings.xml" happen? If this is a bug I can file a Jira report, but I'm not sure there's not some hidden black magic that I'm missing here. Tom ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
