Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » org.eclipse.emf.ocl.examples.interpreter(cannot demostrate the example in the website of Help-OCL Developer Guide)
org.eclipse.emf.ocl.examples.interpreter [message #830110] Tue, 27 March 2012 07:51 Go to next message
Lucy Chan is currently offline Lucy ChanFriend
Messages: 29
Registered: March 2012
Junior Member
I just want to demonstrate the example in the website of Help-OCL Developer Guide. But it shows some errors in the package:
org.eclipse.emf.ocl.examples.interpreter.console:
DelegatingPackageRegistry.java it tells "the import org.eclipse.ocl.ecore,EcoreEnvironmentFactory cannot be solved"

in IOCLFactory.java, it tells that:
"import org.eclipse.ocl.OCL cannot be solved"

The environment I used about the EMF is
"eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010"
the edition of eclipse is 3.5
Re: org.eclipse.emf.ocl.examples.interpreter [message #830200 is a reply to message #830110] Tue, 27 March 2012 10:17 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4153
Registered: July 2009
Senior Member
Hi

IN youir message there are number of places where your "it"'s are vague
and so do not allow me to tell in what context you are experiencing a
problem.

The code you are using is very old in development terms.

The error message "the import
org.eclipse.ocl.ecore,EcoreEnvironmentFactory cannot be solved" is very
suspicious; why is there a comma in the package path? Looks like a typo
in your message.

""eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010" also
looks like a typo. I would expect "eclipse-java-galileo-SR2-win32.zip".

Regards

Ed Willink



On 27/03/2012 03:51, Lucy Chan wrote:
> I just want to demonstrate the example in the website of Help-OCL
> Developer Guide. But it shows some errors in the package:
> org.eclipse.emf.ocl.examples.interpreter.console:
> DelegatingPackageRegistry.java it tells "the import
> org.eclipse.ocl.ecore,EcoreEnvironmentFactory cannot be solved"
>
> in IOCLFactory.java, it tells that:
> "import org.eclipse.ocl.OCL cannot be solved"
>
> The environment I used about the EMF is
> "eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010"
> the edition of eclipse is 3.5
Previous Topic:Pivot OCL Evaluation
Next Topic:How to do a transformation from Person to Families
Goto Forum:
  


Current Time: Wed Nov 26 10:32:19 GMT 2014

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

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