This is the output (to console- no java files
created)-
The reason why I was wanting an ant task is to
incorporate it into an already existent ant build file
we use to create other dependent projects....I hope it
is possible!

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 --> 22.235[s]



Thanks-

Jim




--- Chad Brandon <[EMAIL PROTECTED]> wrote:

> Can you paste all the output you get from that last
> run?  Also is there 
> any reason you can't try Maven like Wouter suggsted?
> (trust me it's 
> easier getting started with the andromdapp plugin).
> 
> Jim Otte wrote:
> 
> >Chad and Wouter-
> >
> >Thank you for the suggestion- but by adding:
> >
> >    <namespace name="default" ignore="false">
> > 
> >        <property name="languageMappingsUri"
>
>value="D:/andromda-bin-3.0M3/plugin-resources/mappings/JavaMappings.xml"/>
> >        <property name="pages" value=""/>
> >        <property name="wrapperMappingsUri"
>
>value="D:/andromda-bin-3.0M3/plugin-resources/mappings/JavaWrapperMappings.xml"/>
> > 
> >    </namespace>
> >
> >             <namespace name="java" ignore="false">
> >        <property name="services"
> >value="${basedir}/services"/>
> >        <property name="service-impls"
> >value="${basedir}/services"/>
> >        <property name="value-objects"
> >value="${basedir}/services"/>
> >        <property name="exceptions"
> >value="${basedir}/services"/>
> >        <property name="enumerations"
> >value="${basedir}/services"/>
> >        <property name="serializable"
> >value="${basedir}/services"/>
> >        <property name="languageMappingsUri"
>
>value="D:/andromda-bin-3.0M3/plugin-resources/mappings/JavaMappings.xml"/>
> >        <property name="wrapperMappingsUri"
>
>value="D:/andromda-bin-3.0M3/plugin-resources/mappings/JavaWrapperMappings.xml"/>
> >    </namespace>
> >
> >
> >I still get no output!! any other ideas are
> welcome,
> >
> >Jim
> >
> >
> >--- Chad Brandon <[EMAIL PROTECTED]> wrote:
> >
> >  
> >
> >>Jim Otte wrote:
> >>
> >>    
> >>
> >>>I did not have it on the java or default
> >>>      
> >>>
> >>cartridges-
> >>    
> >>
> >>>as it is just a simple java class (1 attribute
> and
> >>>operation)- I was just wanting that generated-
> yest
> >>>      
> >>>
> >>I
> >>    
> >>
> >>>get nothing...
> >>>
> >>>I did notice that I did not have a
> JavaMappings.xml
> >>>      
> >>>
> >>on
> >>    
> >>
> >>>my system- but I finally found 1 in
> >>>andromda-translation-library-plugin-3.0M3.jar  -
> so
> >>>      
> >>>
> >>I
> >>    
> >>
> >>>extracted that and used for the namespace keys
> for
> >>>      
> >>>
> >>the
> >>    
> >>
> >>>mappings- but still no output!
> >>>
> >>>Thanks for any suggestions,
> >>> 
> >>>
> >>>      
> >>>
> >>You're missing the "services" and "service-impls"
> >>outlet from java 
> >>namespace declaration below, add those and it
> should
> >>work.  (those are 
> >>optional so AndroMDA will not complain when they
> >>aren't specified)
> >>
> >>    
> >>
> >>>Jim
> >>>
> >>>
> >>>
> >>>
> >>>--- Wouter Zoons <[EMAIL PROTECTED]>
> wrote:
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>Why do you have ignore="true" on all the
> >>>>        
> >>>>
> >>cartridges
> >>    
> >>
> >>>>(even ejb) ?
> >>>>
> >>>>If you ignore a cartridge no code will be
> >>>>        
> >>>>
> >>generated
> >>    
> >>
> >>>>for it
> >>>>
> >>>>-- Wouter
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>-----Original Message-----
> >>>>>From: [EMAIL PROTECTED]
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>[mailto:andromda-user-
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>[EMAIL PROTECTED] On Behalf Of Jim
> >>>>>          
> >>>>>
> >>Otte
> >>    
> >>
> >>>>>Sent: Monday, March 21, 2005 4:46 PM
> >>>>>To: [email protected]
> >>>>>Subject: [Andromda-user] Andromda ant task no
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>output
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>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
> >>>>>     
> >>>>>
> >>>>>          
> 
=== message truncated ===



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to