Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFT OCL without Eclipse
EMFT OCL without Eclipse [message #31133] Wed, 12 April 2006 20:55 Go to next message
Steffen Becker is currently offline Steffen BeckerFriend
Messages: 31
Registered: July 2009
Member
Hi,

it should be possible to use OCL without running Eclipse as it is with
EMF. I'm building a standalone application and would like to use EMF
OCL. But there are some dependencies on Eclipse - mainly for debugging
and warning outputs. Shouldn't those be removed or at lease encapsulated
in a way that you can use EMFT OCL without Eclipse?

Cheers,
Steffen
Re: EMFT OCL without Eclipse [message #31206 is a reply to message #31133] Wed, 12 April 2006 22:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Steffen,

Your timing is impeccable -- I have just committed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=125628 which enables the
stand-alone deployment that you are looking for.

Note, however, that we will not be producing separate builds for the
stand-alone configuration.

What you will need on your classpath are:

- the org.eclipse.emf.ocl_1.0.0.xxx.jar (as is)
- the org.eclipse.emf.common and org.eclipse.emf.ecore JARs
- the lpgjavaruntime.jar file, which can either be downloaded
from http://sourceforge.net/projects/lpg/ or extracted out of the
OCL plug-in JAR

Look for this in tomorrow's M6a build.

Cheers,

Christian

P.S. -- Sorry, Steffen. I accidentally replied directly to your e-mail on
the first attempt.


Steffen Becker wrote:

> Hi,
>
> it should be possible to use OCL without running Eclipse as it is with
> EMF. I'm building a standalone application and would like to use EMF
> OCL. But there are some dependencies on Eclipse - mainly for debugging
> and warning outputs. Shouldn't those be removed or at lease encapsulated
> in a way that you can use EMFT OCL without Eclipse?
>
> Cheers,
> Steffen
Re: EMFT OCL without Eclipse [message #31484 is a reply to message #31206] Thu, 13 April 2006 19:07 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Oops, sorry,

Actually, today's M6a build does *not* have a stand-alone-deployable OCL
parser/interpreter. I discovered too late that there were still some
dependencies on Eclipse classes that I had not factored out. My tests
succeeded in running without an Eclipse platform *instance* actually
running, but were still using Eclipse classes because my run-time
configuration had the Eclipse plug-in dependencies on the class path.

On the second attempt, I now have the JUnit test suite running with
absolutely no Eclipse platform JARs on the class-path. These changes will
be available in the next build after today's M6a.

Apologies for the confusion.

Christian


Christian W. Damus wrote:

> Hi, Steffen,
>
> Your timing is impeccable -- I have just committed
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=125628 which enables the
> stand-alone deployment that you are looking for.
>
> Note, however, that we will not be producing separate builds for the
> stand-alone configuration.
>
> What you will need on your classpath are:
>
> - the org.eclipse.emf.ocl_1.0.0.xxx.jar (as is)
> - the org.eclipse.emf.common and org.eclipse.emf.ecore JARs
> - the lpgjavaruntime.jar file, which can either be downloaded
> from http://sourceforge.net/projects/lpg/ or extracted out of the
> OCL plug-in JAR
>
> Look for this in tomorrow's M6a build.
>
> Cheers,
>
> Christian
>
> P.S. -- Sorry, Steffen. I accidentally replied directly to your e-mail on
> the first attempt.
>
>
> Steffen Becker wrote:
>
>> Hi,
>>
>> it should be possible to use OCL without running Eclipse as it is with
>> EMF. I'm building a standalone application and would like to use EMF
>> OCL. But there are some dependencies on Eclipse - mainly for debugging
>> and warning outputs. Shouldn't those be removed or at lease encapsulated
>> in a way that you can use EMFT OCL without Eclipse?
>>
>> Cheers,
>> Steffen
Re: EMFT OCL without Eclipse [message #574491 is a reply to message #31133] Wed, 12 April 2006 22:00 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Steffen,

Your timing is impeccable -- I have just committed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=125628 which enables the
stand-alone deployment that you are looking for.

Note, however, that we will not be producing separate builds for the
stand-alone configuration.

What you will need on your classpath are:

- the org.eclipse.emf.ocl_1.0.0.xxx.jar (as is)
- the org.eclipse.emf.common and org.eclipse.emf.ecore JARs
- the lpgjavaruntime.jar file, which can either be downloaded
from http://sourceforge.net/projects/lpg/ or extracted out of the
OCL plug-in JAR

Look for this in tomorrow's M6a build.

Cheers,

Christian

P.S. -- Sorry, Steffen. I accidentally replied directly to your e-mail on
the first attempt.


Steffen Becker wrote:

> Hi,
>
> it should be possible to use OCL without running Eclipse as it is with
> EMF. I'm building a standalone application and would like to use EMF
> OCL. But there are some dependencies on Eclipse - mainly for debugging
> and warning outputs. Shouldn't those be removed or at lease encapsulated
> in a way that you can use EMFT OCL without Eclipse?
>
> Cheers,
> Steffen
Re: EMFT OCL without Eclipse [message #574840 is a reply to message #31206] Thu, 13 April 2006 19:07 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Oops, sorry,

Actually, today's M6a build does *not* have a stand-alone-deployable OCL
parser/interpreter. I discovered too late that there were still some
dependencies on Eclipse classes that I had not factored out. My tests
succeeded in running without an Eclipse platform *instance* actually
running, but were still using Eclipse classes because my run-time
configuration had the Eclipse plug-in dependencies on the class path.

On the second attempt, I now have the JUnit test suite running with
absolutely no Eclipse platform JARs on the class-path. These changes will
be available in the next build after today's M6a.

Apologies for the confusion.

Christian


Christian W. Damus wrote:

> Hi, Steffen,
>
> Your timing is impeccable -- I have just committed
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=125628 which enables the
> stand-alone deployment that you are looking for.
>
> Note, however, that we will not be producing separate builds for the
> stand-alone configuration.
>
> What you will need on your classpath are:
>
> - the org.eclipse.emf.ocl_1.0.0.xxx.jar (as is)
> - the org.eclipse.emf.common and org.eclipse.emf.ecore JARs
> - the lpgjavaruntime.jar file, which can either be downloaded
> from http://sourceforge.net/projects/lpg/ or extracted out of the
> OCL plug-in JAR
>
> Look for this in tomorrow's M6a build.
>
> Cheers,
>
> Christian
>
> P.S. -- Sorry, Steffen. I accidentally replied directly to your e-mail on
> the first attempt.
>
>
> Steffen Becker wrote:
>
>> Hi,
>>
>> it should be possible to use OCL without running Eclipse as it is with
>> EMF. I'm building a standalone application and would like to use EMF
>> OCL. But there are some dependencies on Eclipse - mainly for debugging
>> and warning outputs. Shouldn't those be removed or at lease encapsulated
>> in a way that you can use EMFT OCL without Eclipse?
>>
>> Cheers,
>> Steffen
Previous Topic:[Announce] EMFT VALIDATION 1.0.0M6a is available
Next Topic:[Announce] EMFT TRANSACTION 1.0.0M6a is available
Goto Forum:
  


Current Time: Thu Apr 25 11:29:04 GMT 2024

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

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

Back to the top