Hi,
I'm in the process of migrating my project from AndroMDA 3.0 final to the
latest 3.1 snapshot. I've gotten as far as eliminating all errors, but there is
one problem left: no code is generated... I'm trying to generate metafacades,
and get this output:
andromda:run:
[echo] +--------------------------------------------+
[echo] | R u n n i n g A n d r o M D A |
[echo] +--------------------------------------------+
INFO [AndroMDA]
INFO [AndroMDA] A n d r o M D A - 3.1-RC1-20050725014507
INFO [AndroMDA]
INFO [AndroMDA] - discovering namespaces -
INFO [AndroMDA] found namespace --> 'uml'
INFO [AndroMDA] + registering component 'metafacades'
INFO [AndroMDA] + registering component 'profile'
INFO [AndroMDA] found namespace --> 'meta'
INFO [AndroMDA] + registering component 'metafacades'
INFO [AndroMDA] + registering component 'profile'
INFO [AndroMDA] + registering component 'cartridge'
INFO [AndroMDA] found namespace --> 'validation'
INFO [AndroMDA] + registering component 'translation-library'
INFO [AndroMDA] found namespace --> 'query'
INFO [AndroMDA] + registering component 'translation-library'
INFO [AndroMDA] found namespace --> 'netBeansMDR'
INFO [AndroMDA] + registering component 'repository'
INFO [AndroMDA] - core initialization complete: 3.202[s] -
INFO [AndroMDA] loading model -->
'jar:file:/home/saintiss/source/cvs/MDSOC_cartridge/src/uml/StMdsocMetafacadeModel.xml.zip!/StMdsocMetafacadeModel.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/UMLMetafacadeModel-3.1-RC1-SNAPSHOT.xml.zip!/UMLMetafacadeModel-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-meta-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-meta-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-datatype-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-datatype-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-webservice-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-webservice-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-service-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-service-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-process-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-process-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-presentation-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-presentation-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-xml-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-xml-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] referenced model -->
'jar:file:/home/saintiss/.maven/repository/andromda/xml.zips/andromda-profile-persistence-3.1-RC1-SNAPSHOT.xml.zip!/andromda-profile-persistence-3.1-RC1-SNAPSHOT.xml'
INFO [AndroMDA] - loading complete: 3.494[s] -
INFO [AndroMDA] - validating model -
INFO [AndroMDA] - validation complete: 0.0[s] -
INFO [AndroMDA] completed model processing --> TIME: 3.827[s], RESOURCES
WRITTEN: 0
andromda:parameter-check:
andromda:prepare-runner:
andromda:parameter-check:
...
As you can see, the meta cartridge is found, and my model is loaded, as well as
all referred profiles (which I added to project.xml dependencies).
It seems odd that validation time is 0 secs, but maybe it just is that quick?
anyway, I wonder why the meta cartridge doesn't pick up the elements containing
a <<metafacade>> stereotype now... I already commented out the <server> tag in
andromda.xml as well as any restricting <modelpackage> tags, but to no avail...
Any suggestion as to what I might have forgotten?
Thanks,
Hans
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3100#3100
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user