Hi again,
I think I've been able to resolve the problem. Don't know what caused it though.


What I did was to create a new project with an empty model, then I imported my old model into the new model to get all the data and replaced the old model with it. Now it works to build.

/Sverker

----- Original Message ----- From: "Sverker Abrahamsson" <[EMAIL PROTECTED]>
To: <andromda-user@lists.sourceforge.net>; <[EMAIL PROTECTED]>
Sent: Sunday, March 13, 2005 3:13 AM
Subject: Re: [Andromda-user] Hibernate Cartridge doesn't generate Enitites



Hi Stefan
did you find any solution? I am facing the same issue, I was using 3.0M3-SNAPSHOT from early december which worked fine but now I updated to 3.0 RC1 and got the same problem you see. I then went back to 3.0M3 but the problem remain.


I did some tests, the hibernate cartidge generate classes with Service stereotype but not those with Entity stereotype. That is from my model. I then generated a new project (for using with ant) and copied my model there, same problem. I then tested to use the template model from the generated project and add an Entity class to it, which worked! I looked into the xmi files but I can't see any obvious difference in how the stereotypes are specified, both use the same profile.

Any help to solve this issue is highly aprechiated
/Sverker

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <andromda-user@lists.sourceforge.net>
Sent: Friday, March 04, 2005 4:36 PM
Subject: [Andromda-user] Hibernate Cartridge doesn't generate Enitites



Hi there,

I have a strange problem. I have a MagicDraw UML model which I used with
the Spring Cartridge of a "quite old" build of 3.0 RC1 Snapshot (January I
guess).
Now I tried to regenerate the code with the current snapshot build
(20050304063126), so I patch the mda\project,xml to include the hibernate
cartridge.
The cartridge generates HibernateByteBlobType and ...StringClobType, but it
doen't generate code for any entity.
So I used andromdapp:generate to generate a new project, start modelling
some entities in the empty xmi file and it works.
Then I replace the model with my older model and no code for the entites is
generated.


Quite strange. I didn't found any clue in the log files. Does anyone has
any ideas on this issue?

Regards
Stefan




------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user




------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user




------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to