Stuck in CWM

View: New views
1 Messages — Rating Filter:   Alert me  

Stuck in CWM

by Matt Casters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi MDR-Folks!
 
I've been looking at a ClosureViolationException for some time now and I just can't seem to get past it.
I'm sure a basic misunderstanding of MDR is at the core of this, because what I'm trying to do is very simple: add a TaggedValue to a ModelElement.
The ModelElement in this case is a Column (from a the Relational package)
 
However, this...

    corePackage.getTaggedElement().add(column, taggedValue);

...fails with a ClosureViolationException.  Going through the specs I found out that this would be because the CWM Core and Relational packages are stored in different extents.
However, I don't see how I could possibly instantiate both CWM packages in the same extent.
 
Any help or pointer on this is greatly appreciated!
 
Kind regards,
 
Matt
____________________________________________
Matt Casters, Chief Data Integration
Pentaho, Open Source Business Intelligence
http://www.pentaho.org  -- mcasters@...
Tel. +32 (0) 486 97 29 37
 
LightInTheBox - Buy quality products at wholesale price