Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Interpreter Example
OCL Interpreter Example [message #29453] Fri, 22 June 2007 10:12 Go to next message
Eclipse User
Originally posted by: anquiroe101.hotmail.com

Hi all.
I'm trying to use OCL Interpreter Example but I have some problems...
One of them is: "EList<Lendable> getBorrowed();"
For example, in Borrower.java the next code has this error:
EList<Lendable> getBorrowed();

Then, we cannot execute this example...

Cheers,
Anne
Re: OCL Interpreter Example [message #30213 is a reply to message #29453] Mon, 25 June 2007 20:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: anquiroe101.hotmail.com

Sorry, errors was caused by my eclipse version.
Re: OCL Interpreter Example [message #30284 is a reply to message #29453] Mon, 25 June 2007 20:52 Go to previous messageGo to next message
Eclipse User
Originally posted by: cdamus.ca.ibm.com

Hi, Anne,

What is the error? "EList<Lendable> getBorrowed();" is not an error
message.

If the error message is something to do with generic types, then probably
either:

- you do not have the JDT compiler configured for J2SE 5.0 or higher
compatibility
- you do not have EMF 2.3, but instead EMF 2.2 or earlier

HTH,

Christian


Anne wrote:

> Hi all.
> I'm trying to use OCL Interpreter Example but I have some problems...
> One of them is: "EList<Lendable> getBorrowed();"
> For example, in Borrower.java the next code has this error:
> EList<Lendable> getBorrowed();
>
> Then, we cannot execute this example...
>
> Cheers,
> Anne
Re: OCL Interpreter Example [message #30355 is a reply to message #30284] Mon, 25 June 2007 23:06 Go to previous messageGo to next message
Eclipse User
Originally posted by: anquiroe101.hotmail.com

Hi Christian,
First of all, thanks for your help :D
I have solved problems using Eclipse 3.3 with EMF 2.3. I was using Eclipse
3.2 with a lot of libraries (with different versions), packages,... and it
was crazy ;d

Cheers,
Anne
Re: OCL Interpreter Example [message #30529 is a reply to message #30355] Tue, 26 June 2007 13:50 Go to previous message
Eclipse User
Originally posted by: cdamus.ca.ibm.com

Hi, Anne,

Yes, indeed. The Plug-in Development Environment's classpath management is
your friend!

:-)

cW

Anne wrote:

> Hi Christian,
> First of all, thanks for your help :D
> I have solved problems using Eclipse 3.3 with EMF 2.3. I was using Eclipse
> 3.2 with a lot of libraries (with different versions), packages,... and it
> was crazy ;d
>
> Cheers,
> Anne
Previous Topic:OCL Query with Stereotype as context
Next Topic:How to retrieve a AbstractConstraintProvider Object.
Goto Forum:
  


Current Time: Mon Sep 22 16:28:32 GMT 2014

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

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