[mdr-users] Stuck in CWM
"Matt Casters" <[email protected]> Wed, 2 Aug 2006 21:04:50 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Organization | Pentaho Open Source Business Intelligence |
| Message-ID | <003701c6b666$87ffde50$7101a8c0@ACER8104> |
This is a multi-part message in MIME format.
------=_NextPart_000_0038_01C6B677.4B88AE50
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
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 <http://www.pentaho.org/> -- [email protected]
Tel. +32 (0) 486 97 29 37
------=_NextPart_000_0038_01C6B677.4B88AE50
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D734425318-02082006><FONT face=3DArial size=3D2>Hi=20
MDR-Folks!</FONT></SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D734425318-02082006><FONT face=3DArial size=3D2>I've=20
been looking at a ClosureViolationException for some time now and I =
just=20
can't seem to get past it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006><FONT face=3DArial size=3D2>I'm =
sure a basic=20
misunderstanding of MDR is at the core of this, because what I'm trying =
to do is=20
very simple: add a TaggedValue to a ModelElement.</FONT></SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006></SPAN><SPAN =
class=3D734425318-02082006><FONT=20
face=3DArial size=3D2>The ModelElement in this case is a Column (from a =
the=20
Relational package)</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D734425318-02082006><FONT face=3DArial =
size=3D2>However,=20
this...</FONT></SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006>
<P><FONT size=3D2><SPAN class=3D734425318-02082006> =20
</SPAN>corePackage.getTaggedElement()</FONT><SPAN =
class=3D734425318-02082006><FONT=20
size=3D2>.add(column, taggedValue);</FONT></P></SPAN><SPAN=20
class=3D734425318-02082006><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D734425318-02082006></SPAN><SPAN =
class=3D734425318-02082006><FONT=20
face=3DArial size=3D2>...fails with a ClosureViolationException. =
Going through=20
the specs I found out that this would be because the CWM Core and =
Relational=20
packages are stored in different extents.</FONT></SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006>However, I don't see how I could=20
possibly instantiate both CWM packages in the same =
extent.</SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006></SPAN> </DIV>
<DIV><SPAN class=3D734425318-02082006>Any help or pointer on this =
is greatly=20
appreciated!</SPAN></DIV>
<DIV><SPAN class=3D734425318-02082006></SPAN> </DIV>
<DIV><SPAN class=3D734425318-02082006>Kind regards,</SPAN></DIV>
<DIV> </DIV>
<DIV></FONT></SPAN></SPAN><FONT face=3DArial=20
size=3D2>Matt<BR>____________________________________________<BR>Matt =
Casters,=20
Chief Data Integration<BR>Pentaho, Open Source Business =
Intelligence<BR><A=20
href=3D"http://www.pentaho.org/">http://www.pentaho.org</A> -- <A=20
href=3D"mailto:[email protected]">[email protected]</A><BR>Tel. =
+32 (0) 486=20
97 29 37<BR></FONT></DIV></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0038_01C6B677.4B88AE50--