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
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
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
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