Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] "Not a top level package" exception
[CDO] "Not a top level package" exception [message #423516] Wed, 01 October 2008 16:55 Go to next message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
When I use the DemandPopulating package registry, it has a problem with
the fact that I have a model which is in a subpackage of another model.
CDOPackageRegistry.putEPackage() throws an illegal argument exception. Why
is this not supported?
Re: [CDO] "Not a top level package" exception [message #423522 is a reply to message #423516] Wed, 01 October 2008 18:44 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Tom Crockett schrieb:
> When I use the DemandPopulating package registry, it has a problem
> with the fact that I have a model which is in a subpackage of another
> model. CDOPackageRegistry.putEPackage() throws an illegal argument
> exception. Why is this not supported?
It's mainly not supported because the serialization of a subpackage is
bound to (i.e. contained in) the serialization of the containing package.

Cheers
/Eike


Re: [CDO] "Not a top level package" exception [message #423529 is a reply to message #423522] Wed, 01 October 2008 19:29 Go to previous messageGo to next message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
Eike Stepper wrote:

> Tom Crockett schrieb:
>> When I use the DemandPopulating package registry, it has a problem
>> with the fact that I have a model which is in a subpackage of another
>> model. CDOPackageRegistry.putEPackage() throws an illegal argument
>> exception. Why is this not supported?
> It's mainly not supported because the serialization of a subpackage is
> bound to (i.e. contained in) the serialization of the containing package.

In that case I think there may be a bug with the lazy loading package
registry, because it's attempting to register these subpackages and then
this exception gets thrown.
Re: [CDO] "Not a top level package" exception [message #423535 is a reply to message #423529] Wed, 01 October 2008 20:43 Go to previous messageGo to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Are you using cdo 1.0.0 ? (Like you said for NOOP problem)
Simon

"Tom Crockett" <Thomas.M.Crockett@jpl.nasa.gov> a
Re: [CDO] "Not a top level package" exception [message #423537 is a reply to message #423535] Wed, 01 October 2008 20:53 Go to previous message
Tom Crockett is currently offline Tom CrockettFriend
Messages: 54
Registered: July 2009
Member
Simon McDuff wrote:

> Are you using cdo 1.0.0 ? (Like you said for NOOP problem)
> Simon

Yes.
Previous Topic:[CDO] NOOP store problems
Next Topic:[CDO] legacy model support
Goto Forum:
  


Current Time: Wed Apr 24 15:06:31 GMT 2024

Powered by FUDForum. Page generated in 0.03490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top