[ http://jira.andromda.org/browse/ANDROMDAPP-34?page=comments#action_15980 ]
Bob Fields commented on ANDROMDAPP-34: -------------------------------------- One additional consequence of this change (referencing UML_Standard_Profile when loading and processing the models): there is no easy way to generate a new project to reference this profile without the -version, since it won't be deployed in the local maven repository, and we can't assume a specific directory for the MagicDraw install. Normally it would be in the MagicDraw install.root/profiles directory, but there is no standard location for that directory, and we can't reference the andromda source tree in the generated project. The best I can probably do is to stub out a variable for magicdraw.home in mda\pom.xml and reference that directory in the project generated andromda.xml, which would require manual fixup for newly generated projects and existing projects, or else create a deployment jar as described below. MagicDraw refers to this issue in their Integrations guide http://www.magicdraw.com/files/manuals/MagicDraw Integrations UserGuide.pdf AndroMDA integration Global Modules Path page 142. This isn't an issue with the current profiles, but I am about to update the profiles to make them forward-compatible with UML2, which requires adding <<profile>> and <<library>> stereotypes from the UML_Standard_Profile. In UML2 and UML22, they can be referenced through a maven dependency on a deployed profile completely external to AndroMDA under org.eclipse.uml2.resources, which contains all the standard profiles inside the jar file without the additional -version. We can duplicate something like that for UML14, creating a jar file with a version containing the standard profiles without the version, referenced by andromda.xml from the project generator. > Misplaced version number for UML_Standard_Profile.xml > ----------------------------------------------------- > > Key: ANDROMDAPP-34 > URL: http://jira.andromda.org/browse/ANDROMDAPP-34 > Project: AndroMDApp Project Generator > Type: Bug > Reporter: Matthias Bohlen > Assignee: Bob Fields > > When I generate a new project using andromdapp:generate, I get a MagicDraw > UML file which points to a profile called UML_Standard_Profile-3.2.xml. > This profile does not exist. It should point to UML_Standard_Profile.xml, > instead. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com