New 3.1-RC1 profiles are incompatible with this tool ----------------------------------------------------
Key: SCHEMATOXMI-4 URL: http://jira.andromda.org/browse/SCHEMATOXMI-4 Project: Schema2XMI Type: Bug Environment: AndroMDA 3.1-RC1 release, MagicDraw 9.5sp1 Reporter: David Allen Assigned to: Chad Brandon If a new empty model is created using the Ant project generator, it will reference the main AndroMDA profile which itself references many separate modules (I believe this is new with 3.1 since it used to be just one profile module). When this empty model is used with Schema2XMI as the input, the following error occurs: Buildfile: /home/dallen/Eclipse/pm-workspace/Accounting/mda/build.xml SQLLedgerXMI: [java] INFO [SchemaTransformer] Input model --> 'file:/home/dallen/Eclipse/pm-workspace/Accounting/mda/src/uml/model.xmi' [java] INFO [AndroMDA] referenced model --> 'jar:file:/home/dallen/Eclipse/pm-workspace/System/AndroMDA/lib/andromda-profile-3.1-RC1.xml.zip!/andromda-profile-3.1-RC1.xml' [java] org.netbeans.lib.jmi.util.DebugException: Cannot create URL: andromda-profile-datatype-3.1-RC1.xml.zip [java] at org.netbeans.lib.jmi.xmi.XmiContext.readExternalDocument(XmiContext.java:917) [java] at org.netbeans.lib.jmi.xmi.XmiContext.resolve(XmiContext.java:750) It appears that it has opened the main profile module (andromda-profile-3.1-RC1.xml.zip) without any problems, but then it cannot form the URL correctly for the referenced module andromda-profile-datatype-3.1-RC1.xml.zip, which is the first external module referenced in the profile. Since the AndroMDAGenTask Ant task never has this problem when loading the profile modules, it seems like this should work here too. Of course, that Ant task has another configuration property in the XML config file with the path for all the profile modules. Schema2XMI does not appear to have this information anywhere, but it did find the referenced profile module from the empty project in the classpath. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information