Hey Greg,

No problemo. Actually the id is created by default if you don't have one
specified, it's an option that's on by default "allowDefaultIdentifiers".
It probably can't find the type because I'm assuming you don't have
"datatype.Long" defined in your model do you (that's the default it uses)?
There's an andromda-profile that ships with the distribution that contains
all the datatypes etc (like the datatype.Long, if you were using Magic Draw
you could import it as a module), however since you're using posiedon you'll
need to import it.  Can you try importing this
andromda-profile-3.0M3-SNAPSHOT.xml.zip file and running again and see what
happens?  Yeah you shouldn't be getting stack traces however, I'll fix that.

Chad

-----Original Message-----
From: Greg Holmberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 6:05 PM
To: Chad Brandon
Subject: RE: [Andromda-user] AndroMDA 3.0M2 Hibernate cartridge crashes on
simple XMI

Hi Chad--


Thanks for the quick response.

I downloaded M3 as you suggested, but I couldn't figure out where to
unzip to and how to point to the files.

So I tried using maven to download:

        maven plugin:download -DgroupId=andromda
-DartifactId=maven-andromda-plugin -Dversion=3.0M3-SNAPSHOT

        maven plugin:download -DgroupId=andromda
-DartifactId=andromda-cartridge-plugin -Dversion=3.0M3-SNAPSHOT

        maven plugin:download -DgroupId=andromda
-DartifactId=maven-andromdapp-plugin -Dversion=3.0M3-SNAPSHOT

Then I deleted my maven project dirs and re-generated it.  This
downloaded 3.0M3.  I hope that's the same as what you suggested.

[CB] Yeah that's fine.


I did get different behavior this time, but it still crashed.

Now it says something about "fullyQualifiedHibernateType", which I see
from the mailing list has been a hot topic recently.

I've attached my XMI, and the two log files.

One log said: [model 3::ana::id]:Each attribute needs a type, you cannot
leave the type unspecified.

Of course, the class has no attributes at all, so this is surprising.

Perhaps I need to specify an "id" attribute to make it work?

Thanks,


Greg





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to