I am getting an xmi parsing error when I try to build from a model in which some of the classes are in a referenced xml.zip.
I would like to know, please, if I am attempting something that was never intended to be possible, or whether it is possible and I am doing it wrong. The error is : INFO [AndroMDA] Referenced model --> 'jar:file:C:AndroMDA.mavenrepositorymdmqmpm-compxml.zipsLandRegistryModel-0.0a.xml.zip!/LandRegistryModel-0.0a.xml' java.lang.IllegalArgumentException: methodName: ResourceUtils.getResource - 'resourceName' can not be null or an empty String at org.andromda.core.common.ExceptionUtils.checkEmpty(ExceptionUtils.java:63) at org.andromda.core.common.ResourceUtils.getResource(ResourceUtils.java:41) : : : at com.werken.forehead.Forehead.main(Forehead.java:581) org.netbeans.lib.jmi.util.DebugException: XMI parsing error at line: 148: methodName: ResourceUtils.getResource - 'resourceName' can not be null or an empty String at org.netbeans.lib.jmi.xmi.XmiContext.readExternalDocument(XmiContext.java:927) : : : The error appears when I access the model module like this... <UML:Package xmi.id='_9_5_129503bf_1118692555414_665838_188' name='comp' isRoot='false' isLeaf='false' isAbstract='false'> <UML:Namespace.ownedElement> <UML:Package href='LandRegistryModel-0.0a.xml.zip|_9_5_129503bf_1118422369656_440666_94'> <XMI.extension xmi.extender='MagicDraw UML 9.5' xmi.extenderID='MagicDraw UML 9.5'> <referentPath xmi.value='ec::gov::quito::mdmq::mpm::comp::landregistry'/> </XMI.extension> </UML:Package> </UML:Namespace.ownedElement> </UML:Package> If I import the module I don't get the error.... <UML:Package xmi.id='_9_5_129503bf_1118692555414_665838_188' name='comp' isRoot='false' isLeaf='false' isAbstract='false'> <UML:Namespace.ownedElement> <UML:Package xmi.id='_9_5_129503bf_1118422369656_440666_94' name='landregistry' isRoot='false' isLeaf='false' isAbstract='false'> <UML:Namespace.ownedElement> <UML:Package xmi.id='_9_5_129503bf_1118422389000_185197_95' name='persistence_layer' isRoot='false' isLeaf='false : : : </UML:Namespace.ownedElement> </UML:Package> In short, it fails if I try to build where a <UML:Package href=' ... > must be parsed, but succeeds if a <UML:Package xmi.id='...> must be parsed. Can it be done? -- Regards, Hasan _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1273#1273 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user