Re: integrating ocl with emf [message #22053] |
Wed, 09 May 2007 07:00  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Aashu,
I'm forwarding your question to the OCL newsgroup by adding it to the
"to" list in the reply. Please use that newsgroup for asking OCL in the
future.
aashu aggarwal wrote:
> i m trying to integrate my emf model with ocl
> in validator class functions defined in ecore are getting created
>
> my code is:
> .......
> OCLExpression oclExpr=null;
> <b>IOCLHelper helper=HelperUtil.createOCLHelper()</b>
> helper.setContext(EmployeePackage.Literals.EMPLOYEE);
> ...........
>
> when the highlighted line is executed program exits
>
> can anyone help me ?
> what is the reason for this?
>
> TIA
> aashu
>
|
|
|
Re: integrating ocl with emf [message #22272 is a reply to message #22053] |
Wed, 09 May 2007 08:34  |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Aashu,
What do you mean by "program exits"? Are you running in an Eclipse
instance, or stand-alone? Do you see any exception in the Eclipse log?
(or, if stand-alone, a stack trace on the console?)
Without any diagnostic information, I won't be able to help much. I can't
think of a good reason why that statement should cause a stable JVM
implementation to abort, even if (for example) a class couldn't be loaded.
Cheers,
Christian
Ed Merks wrote:
> Aashu,
>
> I'm forwarding your question to the OCL newsgroup by adding it to the
> "to" list in the reply. Please use that newsgroup for asking OCL in the
> future.
>
>
> aashu aggarwal wrote:
>> i m trying to integrate my emf model with ocl
>> in validator class functions defined in ecore are getting created
>>
>> my code is:
>> .......
>> OCLExpression oclExpr=null;
>> <b>IOCLHelper helper=HelperUtil.createOCLHelper()</b>
>> helper.setContext(EmployeePackage.Literals.EMPLOYEE);
>> ...........
>>
>> when the highlighted line is executed program exits
>>
>> can anyone help me ?
>> what is the reason for this?
>>
>> TIA
>> aashu
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06161 seconds