Hi! I took a look at the other 2 mailinglists and realized that people are having this problem since 2002. But until now no solution was made to export UML 1.4, to introduce UML 1.3 to MDR or to convert UML 1.3 to UML 1.4... I haven't got the time and knowledge to pull off such a solution either so I switched to poseidon for a little example (also having problems :))...
> Yeah UML 1.3 is the problem. AndroMDA's default metafacades support UML > 1.4 > only. Someone was working on creating metafacades for UML 1.3 > unfortunately > I don't think that was ever finished. Try searching the andromda-devel > mailing list archives on http://www.mail-archive.com or MDR's mailing > lists. > Its possible to get AndroMDA to work with UML 1.3 (just need metafacades > to > support it), it just hasn't been added yet. > > Chad > > ----- Original Message ----- > From: "Stefan Toth" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 06, 2004 9:41 AM > Subject: Re: [Andromda-user] Generation Problem: malformed XMI > > > > HI > > > > I have the XMI-plugin from Unisys for Rose. It can export XMI 1.1 and > > thats > > what I actually did. The only problem with the plugin is: it can only > > handle > > UML 1.3. Could that be a problem for AndroMDA? I changed the > property-file > > in the mda-folder, so that the import and export worked fine, but > perhaps > > the generator has problems with that? > > Thank you for the mailing list adress, I'll also take a look there... > > > > Stefan. > > > >> Stefan, > >> > >> I'm pretty sure your problem is due to the fact that your XMI is the > 1.0. > >> Can Rose export anything other than 1.0? MDR can load 1.0 XMI however > >> you'll need to fix some things in the XMI first. Take a look at the > >> http://mdr.netbeans.org mailing lists, I know other people have had the > > same issues. > >> > >> Chad > >> ----- Original Message ----- > >> From: Joern Gebhardt > >> To: [EMAIL PROTECTED] > >> Sent: Monday, September 06, 2004 6:29 AM > >> Subject: Re: [Andromda-user] Generation Problem: malformed XMI > >> > >> > >> Hi Stefan, > >> what's the file name of your Rational Rose model? Does it correspond > to > >> the entry of > >> your project.properties file? E.g. in the animal-quiz example the > >> project.properties in the > >> mda directory has the following statement: > >> > >> > > > maven.andromda.model.uri=3Djar:file:${maven.src.dir}/uml/AnimalQuiz.xml.zip!/AnimalQuiz.xml > > > >> which unjars the AnimalQuiz.xml file of the AnimalQuiz.xml.zip > archive. > >> Does Rational Rose also zip the xmi file? When using Poseidon the xmi > >> file gets packed > >> into a zuml file but still has the ending xmi, i.e. the > >> project.properties entry would look like > >> this: > >> > >> > > > maven.andromda.model.uri=3Djar:file:${maven.src.dir}/uml/AnimalQuiz.zuml!/AnimalQuiz.xmi > > > >> > >> > >> Best regards, > >> Joern > >> > >> > >> > >> > >> On 6 Sep 2004 at 11:03, Stefan Toth wrote: > >> > >> > >> > Hi! > >> > > >> > Im using Andromda 3.0M3 with maven and got the following problem: > >> > > >> > I generate a mda application with "maven andromdapp:generate". > >> Everything > >> > works fine. Then I import the standard-generated XMI-File (from > >> > project\mda\src\uml) into Rational Rose. Now I build a class > diagramm > >> with > >> > the stereotypes assigned as shown in the "AndroMDA - Modeling > >> > correctly"-section (in fact I modelled the exact example that is > >> shown > >> there > >> > with CustomerService, Customer, and so on). > >> > Then I export the model again into XMI-format into the mda\src\uml > >> folder. > >> > when I try to generate code (using the 'maven' command) the build > >> failes: > >> > > >> > Input model --> > >> > 'file:C:/devmntmaven/myproject2/mda/src/uml/myproject2Model.xml' > >> > 2004-09-06 10:28:41,484 ERROR > >> > [org.andromda.repositories.mdr.MDRepositoryFacade] Error performing > >> > MDRepository.loadModel > >> > javax.jmi.xmi.MalformedXMIException: > >> > org.netbeans.lib.jmi.util.DebugException: Name cannot be resolved: > >> > UML:Diagram.element > >> > at > >> org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:83) > >> > at > >> org.netbeans.lib.jmi.xmi.SAXReader.read(SAXReader.java:70) > >> > at > >> > > >> > > > org.andromda.repositories.mdr.MDRepositoryFacade.loadModel(MDRepositoryFacade.java:319) > >> > at > >> > > >> > > > org.andromda.repositories.mdr.MDRepositoryFacade.readModel(MDRepositoryFacade.java:127) > >> > ... > >> > > >> > ... > >> > ERROR [org.andromda.core.ModelProcessor] Error performing > >> > ModelProcessor.process with model(s) --> > >> > 'file:C:/devmntmaven/myproject2/mda/src/uml/myproject2Model.xml' > >> > org.andromda.core.repository.RepositoryFacadeException: Error > >> performing > >> > MDRepositoryFacade.readModel > >> > ... > >> > > >> > ... > >> > Caused by: javax.jmi.xmi.MalformedXMIException: > >> > org.netbeans.lib.jmi.util.DebugException: Name cannot be resolved: > >> > UML:Diagram.element > >> > > >> > My problem is that I don't know what causes this output. I have > >> modelled > >> > exactly the model from the website > >> > (http://www.andromda.org/pages/modeling.html) with all stereotypes > >> assigned, > >> > and named the model as it was named by the andromdapp generation > >> command. > >> > When I import and export the model to and from Rational Rose I get > no > >> > warning or error, so I expect it to be OK. Should I use ejb or > >> hibernate > >> > cartridge? is the name of the base packege important to that > problem? > >> do I > >> > have to make any changes to the project and maven files? has > anybody > >> > experienced similar problems? > >> > > >> > Thanks in advance! > >> > Stefan. > >> > > >> > -- > >> > NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien! > >> > 1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by BEA Weblogic Workshop > >> > FREE Java Enterprise J2EE developer tools! > >> > Get your free copy of BEA WebLogic Workshop 8.1 today. > >> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > >> > _______________________________________________ > >> > Andromda-user mailing list > >> > [EMAIL PROTECTED] > >> > https://lists.sourceforge.net/lists/listinfo/andromda-user > >> > > > > > -- > > NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien! > > 1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Andromda-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Andromda-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-user > -- Superg�nstige DSL-Tarife + WLAN-Router f�r 0,- EUR* Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
