Skip to main content



      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 03:51 Go to next message
Eclipse UserFriend
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 06:17 Go to previous message
Eclipse UserFriend
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: Sat May 17 03:05:28 EDT 2025

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

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

Back to the top