Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364493 - [environment] Why is environment registration necessary
Summary: [environment] Why is environment registration necessary
Status: NEW
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard: Legacy
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 11:46 EST by Ed Willink CLA
Modified: 2011-11-22 11:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-11-22 11:46:45 EST
In the "Re: operation return type as Tuple" newsgroup thread, <jafvdk$cvm$1@news.eclipse.org> it appears to be necessary to invoke 

Environment.Registry.INSTANCE.registerEnvironment(ocl.getEnvironment()); 

in order to get Tuples to parse correctly.

This seems wrong. Once an OCL environment is created why isn't it configured so that it works?