Thanks, great! This did it. (I think.)

I already generated a Session Bean and a Hibernate Entity. But I am still missing two other entities and an Exception. What happens is that I get that exception:

03:53:38,497 ERROR [DefaultAndroMDACartridge] Error performing DefaultAndroMDACartridge.processWithTemplate with template 'templates/HibernateEntity.vsl', template context '[EMAIL PROTECTED], [EMAIL PROTECTED]' and cartridge 'hibernate'
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getColumnName' in class org.andromda.metafacades.uml14.EntityAssociationEndFacadeLogicImpl threw exception class java.lang.ClassCastException : null


I checked if I maybe modelled my data structure (only using one class diagram...) correctly or not. Following the advice on your webpage (which actually helped to make the model cleaner...) I still could not get forward on that exception.

Could you elaborate about what it means? Thanks!

Regards
Daniel


Chad Brandon wrote:

Hi Daniel,

You need to add those files to AndroMDA's module search path, point to them
using this property from within a maven project.properties file:
maven.andromda.repository.moduleSearchPath.location.0=${basedir}/some/direct
ory

Chad

----- Original Message ----- From: Daniel Stephan
To: [EMAIL PROTECTED]
Cc: Lofi Dewanto
Sent: Friday, July 09, 2004 8:39 PM
Subject: Re: [Andromda-user] MagicDraw again, now using AndroMDA 3 tho



Hi again :)

I was downloading AndroMDA (I think 3.0-m1, I got it from the sourceforge
page) and tried to set it up. As I didn't know Maven I had to learn to
install and use that one too... I still don't know the details, but it runs
:-D. Finds plugins and cartridges and I am quite happy about that now.
Yahoo.

Soooo I generated a little hibernate app (maven andromda:genapp), set it up
as Maven project in Eclipse (using Maven Workshop...) and changed the
default XMI model for my own model made with MagicDraw 7.8. Plus I checked
the project.properties to be sure that it refers to the correct file. Then I
copied the MagicDraw_Profile.xml and UML_Standard_Profile.xml to my model in
the src/uml directory to make sure that they can be found.

Now I get that exception and don't actually understand what it means or why
it is there:

org.netbeans.lib.jmi.util.DebugException: Cannot create URL:
MagicDraw_Profile.xml

I did check the list archives plus website...

Maybe I forgot something to setup?
Do you know what that exception could mean for me?

Thanks :-)

Daniel


Lofi Dewanto wrote: Hi Daniel,

IMO, it is not worth it to begin with 2.x, especially:
- if you are in the beginning...
- if you want to build your own cartridges...

I think AndroMDA team can reasure this ;-)

Go for the 3.x:
- it is already very usable, stable. I'm in the
process of migrating my 2.x cartridges and I'm very
happy with it.
- there are a lot of changes in the concept of
the cartridges, so it's really *not* worth it to begin
with your own 2.x cartridges...
- if you don't want to build AndroMDA 3.x by yourself,
you can download the snapshot version of AndromMDA 3.x
from:
http://team.andromda.org/maven/andromda/distributions/

Be sure to read the docu, which is IMO already almost
complete:
http://team.andromda.org
http://www.andromda.org/docs

Also check the archive in the mailinglist for the differences
between 2.x and 3.x (Wouter has answered my questions in
this topic very nicely ;-))

My 0,2 cents.

Cheers,




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user








-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to