I am a beginner with AndroMDA and have the following issue- I have created a very basic UML project using MagicDraw 9.0- 1 class with a <<Service>> stereotype- I have then saved the project in a zip file and would like to use the andromda <ant> task to generate the java class. I run the target task and the console outputs quite a bit of information- and no exceptions- yet I never see the output (no java files are generated)!! Am I missing some tag attribute- such as <output=....>?
Here is the ant target: <target name="codegenTest"> <andromda processAllModelPackages="false" modelValidation="false" lastModifiedCheck="false" > <model url="jar:file:specs/testUML_jim_3.xml.zip!/testUML_jim_3.xml"/> <repository> <moduleSearchPath> <pathelement location="${andromda.lib}"/> <pathelement location="${andromda.dir}/etc"/> <pathelement location="c:/Program Files/MagicDraw UML/profiles" /> <pathelement location="${basedir}/specs" /> </moduleSearchPath> </repository> <namespace name="java" ignore="false"> <property name="*" value="."/> </namespace> <namespace name="default" ignore="true"> <property name="languageMappingsUri" value="file:${basedir}/JavaMappings.xml"/> <property name="pages" value=""/> <property name="wrapperMappingsUri" value=""/> </namespace> <namespace name="bpm4struts" ignore="true"> </namespace> <namespace name="hibernate" ignore="true"> </namespace> <namespace name="meta" ignore="true"> </namespace> <namespace name="spring" ignore="true"> </namespace> <namespace name="webservice" ignore="true"> </namespace> <namespace name="xmlschema" ignore="true"> </namespace> <namespace name="ejb" ignore="true"> <property name="entities" value="${gen.src.dir}" ignore="false"/> <property name="entity-impls" value="${gen.src.dir}" ignore="false"/> <property name="session-beans" value="${gen.src.dir}" ignore="false"/> <property name="session-impls" value="${gen.src.dir}" ignore="false"/> </namespace> </andromda> </target> and the console output is: D:\caprojects\SMM\1.0>ant codegenTest Buildfile: build.xml codegenTest: [andromda] INFO [AndroMDA] [andromda] INFO [AndroMDA] A n d r o M D A - 3.0M3 [andromda] INFO [AndroMDA] [andromda] INFO [AndroMDA] Input model --> 'jar:file:specs/testUML_jim_3.xml.z ip!/testUML_jim_3.xml' [andromda] INFO [AndroMDA] -- discovering plugins -- [andromda] INFO [AndroMDA] found translation-library --> 'query' [andromda] INFO [AndroMDA] found translation-library --> 'validation' [andromda] INFO [AndroMDA] found cartridge --> 'bpm4struts' [andromda] INFO [AndroMDA] found cartridge --> 'ejb' [andromda] INFO [AndroMDA] found cartridge --> 'hibernate' [andromda] INFO [AndroMDA] found cartridge --> 'java' [andromda] INFO [AndroMDA] found cartridge --> 'meta' [andromda] INFO [AndroMDA] found cartridge --> 'spring' [andromda] INFO [AndroMDA] found cartridge --> 'webservice' [andromda] INFO [AndroMDA] found cartridge --> 'xmlschema' [andromda] INFO [AndroMDA] -- discovering metafacades -- [andromda] INFO [AndroMDA] found metafacades --> 'bpm4struts' [andromda] INFO [AndroMDA] found metafacades --> 'ejb' [andromda] INFO [AndroMDA] found metafacades --> 'hibernate' [andromda] INFO [AndroMDA] found metafacades --> 'meta' [andromda] INFO [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to 'default' namespace [andromda] INFO [AndroMDA] found metafacades --> 'spring' [andromda] INFO [AndroMDA] found metafacades --> 'webservice' [andromda] INFO [AndroMDA] found metafacades --> 'xmlschema' [andromda] INFO [AndroMDA] Referenced model --> 'jar:file:/D:/caprojects/Devel opment/AndroMDA/3.0M3/etc/andromda-profile-3.0M3.xml.zip!/andromda-profile-3.0M3 .xml' [andromda] INFO [AndroMDA] Referenced model --> 'file:/C:/Program Files/MagicD raw UML/profiles/UML_Standard_Profile.xml' [andromda] INFO [AndroMDA] Referenced model --> 'file:/C:/Program Files/MagicD raw UML/profiles/MagicDraw_Profile.xml' [andromda] INFO [AndroMDA] Referenced model --> 'file:/C:/Program Files/MagicD raw UML/profiles/Java_Profile.xml' [andromda] INFO [AndroMDA] namespace for 'bpm4struts' cartridge is either not defined, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'ejb' cartridge is either not defined , or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'hibernate' cartridge is either not d efined, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'meta' cartridge is either not define d, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'spring' cartridge is either not defi ned, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'webservice' cartridge is either not defined, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] namespace for 'xmlschema' cartridge is either not d efined, or has the ignore attribute set to 'true' --> skipping processing [andromda] INFO [AndroMDA] completed model processing, TIME --> 24.11[s] I am sure I am missing something very basic and would be most appreciative if anyone could point me in the right direction- Thanks, Jim __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ------------------------------------------------------- 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