still can't seem to track down where I messed up.. Anyone have any insight to where I might have an issue??
Thanks a million!
----- Forwarded by Gary P Pinkham/PFPC/WES/PNC on 03/14/2005 10:53 AM -----
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED] 03/13/2005 07:05 PM |
To: andromda-user@lists.sourceforge.net cc: Subject: [Andromda-user] Tag value not found... |
Can't seem to get this new tag value I added to the andromda-profile and to my model to be found within my Template...
So here is the relevant text from my Projects XMI file..
<UML:TaggedValue xmi.id='_9_0_2_6db0199_1110573787602_165324_211' name='andromda.dao.tableList'>
<UML:TaggedValue.dataValue>FND</UML:TaggedValue.dataValue>
<UML:TaggedValue.type>
<UML:TagDefinition href=''>
<XMI.extension xmi.extender='MagicDraw UML 9.0' xmi.extenderID='MagicDraw UML 9.0'>
<referentPath xmi.value='org.andromda.profile::andromda.dao.tableList'/>
</XMI.extension>
</UML:TagDefinition>
</UML:TaggedValue.type>
</UML:TaggedValue>
Within my template I have...
#set ($tableList = $class.findTaggedValue("@andromda.dao.tableList"))
sql.append("FROM ${tableList} ");
And my resulting Java file has...
sql.append("FROM ${tableList} ");
So the TaggedValue is not found and the tableList is null... Any ideas??
I did also add it to the andromda-profile.xml though I honestly don't know what I was supposed to add there..
<mapping>
<from>DAO_TABLE_LIST</from>
<to>@andromda.dao.tableList</to>
</mapping>
and yes it's in the andromda-profile-3.0-RC1-SNAPSHOT.xml.zip file as well....
The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender.