Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Running EMFT Transaction Standalone
Running EMFT Transaction Standalone [message #55969] Tue, 03 October 2006 03:40 Go to next message
Mario Fortier is currently offline Mario FortierFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I have trouble with getting EMFT Transaction running outside Eclipse.

The class initialization of the org.eclipse.emf.transaction.util.Lock
throws an exception of null access (I am running it on .NET and the
exception text does not say much more than this).

It seems that the problem is with the code
EMFTransactionPlugin.getPluginId().

Two questions:

(1) Should I expect that running Transaction outside Eclipse is
possible?

(2) Would it make sense to eliminate the dependencies on
EMFTransactionPlugin for the Lock class?

Thanks,

\Mario
================
More Info:
- Running on .NET using IKVM and GNU.Classpath
- EMF and EMF.Edit are running stand-alone on my setup with no
problems.
- Using Transaction 1.0.0.v200606261303
- Using emf 2.2.1.v200609210005
- I can get valid EditingDomain, CommandStack and Runnable
instantiated. The exception occurs as soon as I try to runExclusive()
a command.
Re: Running EMFT Transaction Standalone [message #56236 is a reply to message #55969] Tue, 03 October 2006 21:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Mario,

The EMFT Transaction API currently is heavily dependent on Eclipse, as is
the EMFT Validation component that it depends on for transaction validation
(commit). These components both use Eclipse capabilities such as extension
points and plug-ins, as well as numerous APIs such as IStatus that are
defined by the Eclipse platform.

There is currently no plan to provide an Eclipse-free transaction or
validation API.

Cheers,

Christian


Mario Fortier wrote:

> Hi,
>
> I have trouble with getting EMFT Transaction running outside Eclipse.
>
> The class initialization of the org.eclipse.emf.transaction.util.Lock
> throws an exception of null access (I am running it on .NET and the
> exception text does not say much more than this).
>
> It seems that the problem is with the code
> EMFTransactionPlugin.getPluginId().
>
> Two questions:
>
> (1) Should I expect that running Transaction outside Eclipse is
> possible?
>
> (2) Would it make sense to eliminate the dependencies on
> EMFTransactionPlugin for the Lock class?
>
> Thanks,
>
> \Mario
> ================
> More Info:
> - Running on .NET using IKVM and GNU.Classpath
> - EMF and EMF.Edit are running stand-alone on my setup with no
> problems.
> - Using Transaction 1.0.0.v200606261303
> - Using emf 2.2.1.v200609210005
> - I can get valid EditingDomain, CommandStack and Runnable
> instantiated. The exception occurs as soon as I try to runExclusive()
> a command.
Re: Running EMFT Transaction Standalone [message #56377 is a reply to message #56236] Wed, 04 October 2006 05:32 Go to previous message
Mario Fortier is currently offline Mario FortierFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Christian,

Thanks for the info. I will plan accordingly.

Cheers,

\Mario

On Tue, 03 Oct 2006 17:45:30 -0400, "Christian W. Damus"
<cdamus@ca.ibm.com> wrote:

>
>Hi, Mario,
>
>The EMFT Transaction API currently is heavily dependent on Eclipse, as is
>the EMFT Validation component that it depends on for transaction validation
>(commit). These components both use Eclipse capabilities such as extension
>points and plug-ins, as well as numerous APIs such as IStatus that are
>defined by the Eclipse platform.
>
>There is currently no plan to provide an Eclipse-free transaction or
>validation API.
>
>Cheers,
>
>Christian
>
>
Re: Running EMFT Transaction Standalone [message #593507 is a reply to message #55969] Tue, 03 October 2006 21:45 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Mario,

The EMFT Transaction API currently is heavily dependent on Eclipse, as is
the EMFT Validation component that it depends on for transaction validation
(commit). These components both use Eclipse capabilities such as extension
points and plug-ins, as well as numerous APIs such as IStatus that are
defined by the Eclipse platform.

There is currently no plan to provide an Eclipse-free transaction or
validation API.

Cheers,

Christian


Mario Fortier wrote:

> Hi,
>
> I have trouble with getting EMFT Transaction running outside Eclipse.
>
> The class initialization of the org.eclipse.emf.transaction.util.Lock
> throws an exception of null access (I am running it on .NET and the
> exception text does not say much more than this).
>
> It seems that the problem is with the code
> EMFTransactionPlugin.getPluginId().
>
> Two questions:
>
> (1) Should I expect that running Transaction outside Eclipse is
> possible?
>
> (2) Would it make sense to eliminate the dependencies on
> EMFTransactionPlugin for the Lock class?
>
> Thanks,
>
> \Mario
> ================
> More Info:
> - Running on .NET using IKVM and GNU.Classpath
> - EMF and EMF.Edit are running stand-alone on my setup with no
> problems.
> - Using Transaction 1.0.0.v200606261303
> - Using emf 2.2.1.v200609210005
> - I can get valid EditingDomain, CommandStack and Runnable
> instantiated. The exception occurs as soon as I try to runExclusive()
> a command.
Re: Running EMFT Transaction Standalone [message #593537 is a reply to message #56236] Wed, 04 October 2006 05:32 Go to previous message
Mario Fortier is currently offline Mario FortierFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Christian,

Thanks for the info. I will plan accordingly.

Cheers,

\Mario

On Tue, 03 Oct 2006 17:45:30 -0400, "Christian W. Damus"
<cdamus@ca.ibm.com> wrote:

>
>Hi, Mario,
>
>The EMFT Transaction API currently is heavily dependent on Eclipse, as is
>the EMFT Validation component that it depends on for transaction validation
>(commit). These components both use Eclipse capabilities such as extension
>points and plug-ins, as well as numerous APIs such as IStatus that are
>defined by the Eclipse platform.
>
>There is currently no plan to provide an Eclipse-free transaction or
>validation API.
>
>Cheers,
>
>Christian
>
>
Previous Topic:Can I add my own class path entries to JETEmitter project
Next Topic:Teneo HibernateResource
Goto Forum:
  


Current Time: Fri Apr 19 23:47:34 GMT 2024

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

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

Back to the top