-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 7:03 AM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Ant + javamappings.xml -> where to find this xml
file? + $identifier.type.fullyQualifiedName

Hi,

i'm trying to build an example from scratch but ... and here it comes .. I
have a problem. I descided to use ant instead of maven, i looked at the docs
found the following:

<namespace name="default" ignore="false">
<property name="languageMappingsUri"
value="file:${basedir}/JavaMappings.xml"/>
</namespace>

Where can I find this file, perhaps I missed it but I'm unable to find it in
the distribution???

[CB] Did you follow the instructions within the ant module of the
distribution?  If so and you built a project, the mapping files should be in
the <your project>/mda/src/mappings directory.  If you didn't use that, you
can unzip the maven-andromda-plugin and pull the mappings from there.

Second question: My hibernate pojo's and mappings are being generated
correctly ... but the id's are wrong, for each id he makes the following:

$identifier.type.fullyQualifiedName instead of the default Long

[CB] What modeling tool are you using?  Have you imported the
andromda-profile into your model?  Usually this happens when you either
don't have the datatype.Long defined in your model, OR its not of type
DataType in your model.

I have no id defined in the uml model, I tried to add an id in the model but
still the same problem.

[CB] Yeah, if you don't model an identifier on your entity, you'll have the
option of having default ids added (this option is on by default).

Thanks in advance :)

Maarten




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to