Nathan Coast wrote:
It went through ok.
doh, sorry must be a problem with my incoming mail.
Yep, your thinking is correct, try adding this mapping as well and see if that works:
<metafacade class="com.codeczar.andromda.cartridges.httpunit.metafacades.HttpUnitPackageFacadeLogicImpl">
<mapping class="org.omg.uml.modelmanagement.Model$Impl"/> </metafacade>
That fixed it!
I tried these mappings individually and recieved ClassCastException org.omg.uml.modelmanagement.UmlPackage$Impl org.omg.uml.modelmanagement.Model$Impl
No problem Nathan,
You probably don't need the "org.omg.uml.modelmanagement.UmlPackage$Impl" mapping at all, just the "org.omg.uml.modelmanagement.Model$Impl". The mapping class you need just depends on the meta model class being wrapped by the metafacade, so a "org.omg.uml.modelmanagement.Model$Impl" instance instead of a "org.omg.uml.modelmanagement.UmlPackage$Impl" must be what's being used in the meta model (I plan on making it so inheritance is taken into account when using these mappings since org.omg.uml.modelmanagement.Model$Impl is an instance of org.omg.uml.modelmanagement.UmlPackage$Impl, but currently it just maps by name). Make sense?
Chad
if I include both, it works. is there a simple explanation?
thanks again Chad.
------------------------------------------------------- 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
