Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » IMP on Eclipse 3.3
IMP on Eclipse 3.3 [message #16599] Tue, 19 February 2008 21:40 Go to next message
Eclipse UserFriend
Originally posted by: mmorear.adobe.com

Hi, I was wondering -- the binary download from sourceforge targets
Eclipse 3.2.2, and when I tried ths source download, it appeared that
that, too, only works on 3.2.2 (e.g. there was a call to an internal PDE
function which is missing or changed in 3.3). Do I have that right? Is
work being done to get it working on Eclipse 3.3?

Thanks!

- Mike Morearty
Sr. Computer Scientist
Adobe Flex Builder
Re: IMP on Eclipse 3.3 [message #16617 is a reply to message #16599] Tue, 19 February 2008 21:55 Go to previous messageGo to next message
Mike Morearty is currently offline Mike MoreartyFriend
Messages: 4
Registered: July 2009
Junior Member
By the way, I had a typo on my email name, should have been mmoreart.
Re: IMP on Eclipse 3.3 [message #16652 is a reply to message #16599] Wed, 20 February 2008 21:00 Go to previous messageGo to next message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Mike Morearty wrote:
> Hi, I was wondering -- the binary download from sourceforge targets
> Eclipse 3.2.2, and when I tried ths source download, it appeared that
> that, too, only works on 3.2.2 (e.g. there was a call to an internal PDE
> function which is missing or changed in 3.3). Do I have that right? Is
> work being done to get it working on Eclipse 3.3?

Yes, at the moment, we still have a few 3.2 dependencies. We aren't working
actively on this at the moment, but a couple of people have expressed an
interest in helping out. I'll ping them and let them speak up so we can all
coordinate our efforts.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [message #16716 is a reply to message #16652] Sat, 23 February 2008 03:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: psanampu.cisco.com

hi,
did anybody resolved these issues ? Does anybody have imp working with
eclipse 3.3 yet ?

thanks
Prasad


"Robert M. Fuhrer" <rfuhrer@watson.ibm.com> wrote in message
news:fpi4df$khd$1@build.eclipse.org...
> Mike Morearty wrote:
>> Hi, I was wondering -- the binary download from sourceforge targets
>> Eclipse 3.2.2, and when I tried ths source download, it appeared that
>> that, too, only works on 3.2.2 (e.g. there was a call to an internal PDE
>> function which is missing or changed in 3.3). Do I have that right? Is
>> work being done to get it working on Eclipse 3.3?
>
> Yes, at the moment, we still have a few 3.2 dependencies. We aren't
> working
> actively on this at the moment, but a couple of people have expressed an
> interest in helping out. I'll ping them and let them speak up so we can
> all
> coordinate our efforts.
>
> --
> Cheers,
> -- Bob
>
> --------------------------------
> Robert M. Fuhrer
> Research Staff Member
> Programming Technologies Dept.
> IBM T.J. Watson Research Center
>
> IMP Team Lead (http://eclipse-imp.sourceforge.net)
> X10: Productivity for High-Performance Parallel Programming
> (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [message #18153 is a reply to message #16716] Sun, 02 March 2008 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: karltk.strategoxt.org

prasad wrote:
> hi,
> did anybody resolved these issues ? Does anybody have imp working with
> eclipse 3.3 yet ?

I've been working on it. There are a couple of really nasty race
conditions in the startup of the imp.runtime and lpg.runtime that I had
to attack. I've a partial fix for that now, but given the way the IMP
language registry API is designed, I suspect we will require some nifty
mutexes and jobs to come up with a future-proof solution.

Anyway, my current solution works, and I got away with the pesky thread
error popup I always get on 3.3.

I've noticed that IMP will appear on the Eclipse.org infrastructure
shortly, so I will post my patches there once I get it all to compile
again with the latest CVS changes that happened this week.

Beware: the patches as they stand, are not a complete solution to
running this on 3.3. I still get bunches of strange exceptions when I
try to use IMP in 3.3, but at least all plugins seem to initialize
properly now.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [message #18168 is a reply to message #18153] Fri, 07 March 2008 15:32 Go to previous messageGo to next message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Karl Trygve Kalleberg wrote:
> prasad wrote:
>> hi,
>> did anybody resolved these issues ? Does anybody have imp working with
>> eclipse 3.3 yet ?
>
> I've been working on it. There are a couple of really nasty race
> conditions in the startup of the imp.runtime and lpg.runtime that I had
> to attack. I've a partial fix for that now, but given the way the IMP
> language registry API is designed, I suspect we will require some nifty
> mutexes and jobs to come up with a future-proof solution.
>
> Anyway, my current solution works, and I got away with the pesky thread
> error popup I always get on 3.3.
>
> I've noticed that IMP will appear on the Eclipse.org infrastructure
> shortly, so I will post my patches there once I get it all to compile
> again with the latest CVS changes that happened this week.
>
> Beware: the patches as they stand, are not a complete solution to
> running this on 3.3. I still get bunches of strange exceptions when I
> try to use IMP in 3.3, but at least all plugins seem to initialize
> properly now.

Thanks, Karl! This is extremely helpful! If you can post some details
about the race conditions you've found, that might help in diagnosing
some other issues I've seen in the X10DT on MacOS X.

As for IMP on eclipse.org, we are going to try very hard to get the
source up there before EclipseCon (which starts March 17th). Or at
least get the import request to the eclipse.org webmeister.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [now with patches] [message #18202 is a reply to message #18168] Fri, 07 March 2008 18:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: karltk.strategoxt.org

Hi Bob

> Thanks, Karl! This is extremely helpful! If you can post some details
> about the race conditions you've found, that might help in diagnosing
> some other issues I've seen in the X10DT on MacOS X.

In short: The LPGRuntimePlugin in org.eclipse.imp.lpg.runtime calls the
LanguageRegistry in org.eclipse.imp.runtime before it has been properly
initialized.

This is because LPGRuntimePlugin.start() will run before
org.eclipse.imp.runtime's RuntimePlugin.earlyStartup(), and the latter
initializes the language registry.

My patch partly fixes this, but assumes that org.eclipse.imp.runtime's
earlyStartup() will execute before org.eclipse.imp.lpg.runtime's
earlyStartup(). I've not ensured that this is guaranteed all the time,
but I'll talk to some PDE guys and check it out. In practice, it works
well, but that might just be an implementation detail and not part of
the startup spec.


I've put my patch set up here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=221887

It should be all that you need to get IMP CVS HEAD of 20080221 to build
and run on 3.3. I've not verified that everything works, but the
resulting code can bootstrap itself on 3.3 (which can bootstrap itself
on 3.3, ....), so at least it's sufficient to do bootstrap IMP.

It turned out that getting the thing to build on 3.2 for 3.2 was a lot
more work than originally anticipated, but with good help from Jurgen, I
managed to get some clean 3.2 compiles, and those are what I used to
inch my way over to the 3.3 platform eventually:)

> As for IMP on eclipse.org, we are going to try very hard to get the
> source up there before EclipseCon (which starts March 17th). Or at
> least get the import request to the eclipse.org webmeister.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [now with patches] [message #18235 is a reply to message #18202] Mon, 10 March 2008 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: karltk.strategoxt.org

Hi myself

> In short: The LPGRuntimePlugin in org.eclipse.imp.lpg.runtime calls the
> LanguageRegistry in org.eclipse.imp.runtime before it has been properly
> initialized.
>
> This is because LPGRuntimePlugin.start() will run before
> org.eclipse.imp.runtime's RuntimePlugin.earlyStartup(), and the latter
> initializes the language registry.
>
> My patch partly fixes this, but assumes that org.eclipse.imp.runtime's
> earlyStartup() will execute before org.eclipse.imp.lpg.runtime's
> earlyStartup(). I've not ensured that this is guaranteed all the time,
> but I'll talk to some PDE guys and check it out. In practice, it works
> well, but that might just be an implementation detail and not part of
> the startup spec.

To my not-so-utter-amazement, it turned out to be an implementation
detail. I've also discovered a couple of other locations that may end up
calling LanguageRegistry.findLanguage(...) before the registry has been
initialized. There are new patches on bug 221887 which deal with this.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [now with patches] [message #19494 is a reply to message #18235] Fri, 23 May 2008 03:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: crapo.research.ge.com

I don't see anything very recent on this subject. Does IMP work now with
Eclipse 3.3? The 1.74 release or only from source?
Re: IMP on Eclipse 3.3 [now with patches] [message #19538 is a reply to message #19494] Sun, 25 May 2008 02:32 Go to previous messageGo to next message
Jin Missing name is currently offline Jin Missing nameFriend
Messages: 100
Registered: July 2009
Senior Member
the offical svn code seem supporting eclipse 3.4 now. try it.

"Andy" <crapo@research.ge.com>
??????:7908be1ecf308b3f4d0de6b531e3675b$1@www.eclipse.org...
>I don't see anything very recent on this subject. Does IMP work now with
>Eclipse 3.3? The 1.74 release or only from source?
>
Re: IMP on Eclipse 3.3 [now with patches] [message #19794 is a reply to message #19494] Tue, 27 May 2008 14:27 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Andy wrote:
> I don't see anything very recent on this subject. Does IMP work now with
> Eclipse 3.3? The 1.74 release or only from source?

Hi All,

Sorry for not posting about this earlier, but we were hoping to make an
announcement when we had a release on the update site (still a couple of
things to do before that's ready, but should be very soon).

Anyway, yes, the latest code in SVN trunk now runs under 3.3, and (we
hope) 3.4. I believe it should still run on 3.2 as well, but we've mostly
moved to 3.3+ for our development (finally!), so there may be issues there.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://www.eclipse.org/imp)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [message #569456 is a reply to message #16599] Tue, 19 February 2008 21:55 Go to previous message
Mike Morearty is currently offline Mike MoreartyFriend
Messages: 4
Registered: July 2009
Junior Member
By the way, I had a typo on my email name, should have been mmoreart.
Re: IMP on Eclipse 3.3 [message #569498 is a reply to message #16599] Wed, 20 February 2008 21:00 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Mike Morearty wrote:
> Hi, I was wondering -- the binary download from sourceforge targets
> Eclipse 3.2.2, and when I tried ths source download, it appeared that
> that, too, only works on 3.2.2 (e.g. there was a call to an internal PDE
> function which is missing or changed in 3.3). Do I have that right? Is
> work being done to get it working on Eclipse 3.3?

Yes, at the moment, we still have a few 3.2 dependencies. We aren't working
actively on this at the moment, but a couple of people have expressed an
interest in helping out. I'll ping them and let them speak up so we can all
coordinate our efforts.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [message #569697 is a reply to message #16652] Sat, 23 February 2008 03:22 Go to previous message
prasad is currently offline prasadFriend
Messages: 22
Registered: July 2009
Junior Member
hi,
did anybody resolved these issues ? Does anybody have imp working with
eclipse 3.3 yet ?

thanks
Prasad


"Robert M. Fuhrer" <rfuhrer@watson.ibm.com> wrote in message
news:fpi4df$khd$1@build.eclipse.org...
> Mike Morearty wrote:
>> Hi, I was wondering -- the binary download from sourceforge targets
>> Eclipse 3.2.2, and when I tried ths source download, it appeared that
>> that, too, only works on 3.2.2 (e.g. there was a call to an internal PDE
>> function which is missing or changed in 3.3). Do I have that right? Is
>> work being done to get it working on Eclipse 3.3?
>
> Yes, at the moment, we still have a few 3.2 dependencies. We aren't
> working
> actively on this at the moment, but a couple of people have expressed an
> interest in helping out. I'll ping them and let them speak up so we can
> all
> coordinate our efforts.
>
> --
> Cheers,
> -- Bob
>
> --------------------------------
> Robert M. Fuhrer
> Research Staff Member
> Programming Technologies Dept.
> IBM T.J. Watson Research Center
>
> IMP Team Lead (http://eclipse-imp.sourceforge.net)
> X10: Productivity for High-Performance Parallel Programming
> (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [message #569742 is a reply to message #16716] Sun, 02 March 2008 21:47 Go to previous message
Karl Trygve Kalleberg is currently offline Karl Trygve KallebergFriend
Messages: 7
Registered: July 2009
Junior Member
prasad wrote:
> hi,
> did anybody resolved these issues ? Does anybody have imp working with
> eclipse 3.3 yet ?

I've been working on it. There are a couple of really nasty race
conditions in the startup of the imp.runtime and lpg.runtime that I had
to attack. I've a partial fix for that now, but given the way the IMP
language registry API is designed, I suspect we will require some nifty
mutexes and jobs to come up with a future-proof solution.

Anyway, my current solution works, and I got away with the pesky thread
error popup I always get on 3.3.

I've noticed that IMP will appear on the Eclipse.org infrastructure
shortly, so I will post my patches there once I get it all to compile
again with the latest CVS changes that happened this week.

Beware: the patches as they stand, are not a complete solution to
running this on 3.3. I still get bunches of strange exceptions when I
try to use IMP in 3.3, but at least all plugins seem to initialize
properly now.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [message #569768 is a reply to message #18153] Fri, 07 March 2008 15:32 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Karl Trygve Kalleberg wrote:
> prasad wrote:
>> hi,
>> did anybody resolved these issues ? Does anybody have imp working with
>> eclipse 3.3 yet ?
>
> I've been working on it. There are a couple of really nasty race
> conditions in the startup of the imp.runtime and lpg.runtime that I had
> to attack. I've a partial fix for that now, but given the way the IMP
> language registry API is designed, I suspect we will require some nifty
> mutexes and jobs to come up with a future-proof solution.
>
> Anyway, my current solution works, and I got away with the pesky thread
> error popup I always get on 3.3.
>
> I've noticed that IMP will appear on the Eclipse.org infrastructure
> shortly, so I will post my patches there once I get it all to compile
> again with the latest CVS changes that happened this week.
>
> Beware: the patches as they stand, are not a complete solution to
> running this on 3.3. I still get bunches of strange exceptions when I
> try to use IMP in 3.3, but at least all plugins seem to initialize
> properly now.

Thanks, Karl! This is extremely helpful! If you can post some details
about the race conditions you've found, that might help in diagnosing
some other issues I've seen in the X10DT on MacOS X.

As for IMP on eclipse.org, we are going to try very hard to get the
source up there before EclipseCon (which starts March 17th). Or at
least get the import request to the eclipse.org webmeister.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Re: IMP on Eclipse 3.3 [now with patches] [message #569815 is a reply to message #18168] Fri, 07 March 2008 18:38 Go to previous message
Karl Trygve Kalleberg is currently offline Karl Trygve KallebergFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Bob

> Thanks, Karl! This is extremely helpful! If you can post some details
> about the race conditions you've found, that might help in diagnosing
> some other issues I've seen in the X10DT on MacOS X.

In short: The LPGRuntimePlugin in org.eclipse.imp.lpg.runtime calls the
LanguageRegistry in org.eclipse.imp.runtime before it has been properly
initialized.

This is because LPGRuntimePlugin.start() will run before
org.eclipse.imp.runtime's RuntimePlugin.earlyStartup(), and the latter
initializes the language registry.

My patch partly fixes this, but assumes that org.eclipse.imp.runtime's
earlyStartup() will execute before org.eclipse.imp.lpg.runtime's
earlyStartup(). I've not ensured that this is guaranteed all the time,
but I'll talk to some PDE guys and check it out. In practice, it works
well, but that might just be an implementation detail and not part of
the startup spec.


I've put my patch set up here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=221887

It should be all that you need to get IMP CVS HEAD of 20080221 to build
and run on 3.3. I've not verified that everything works, but the
resulting code can bootstrap itself on 3.3 (which can bootstrap itself
on 3.3, ....), so at least it's sufficient to do bootstrap IMP.

It turned out that getting the thing to build on 3.2 for 3.2 was a lot
more work than originally anticipated, but with good help from Jurgen, I
managed to get some clean 3.2 compiles, and those are what I used to
inch my way over to the 3.3 platform eventually:)

> As for IMP on eclipse.org, we are going to try very hard to get the
> source up there before EclipseCon (which starts March 17th). Or at
> least get the import request to the eclipse.org webmeister.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [now with patches] [message #569890 is a reply to message #18202] Mon, 10 March 2008 16:03 Go to previous message
Karl Trygve Kalleberg is currently offline Karl Trygve KallebergFriend
Messages: 7
Registered: July 2009
Junior Member
Hi myself

> In short: The LPGRuntimePlugin in org.eclipse.imp.lpg.runtime calls the
> LanguageRegistry in org.eclipse.imp.runtime before it has been properly
> initialized.
>
> This is because LPGRuntimePlugin.start() will run before
> org.eclipse.imp.runtime's RuntimePlugin.earlyStartup(), and the latter
> initializes the language registry.
>
> My patch partly fixes this, but assumes that org.eclipse.imp.runtime's
> earlyStartup() will execute before org.eclipse.imp.lpg.runtime's
> earlyStartup(). I've not ensured that this is guaranteed all the time,
> but I'll talk to some PDE guys and check it out. In practice, it works
> well, but that might just be an implementation detail and not part of
> the startup spec.

To my not-so-utter-amazement, it turned out to be an implementation
detail. I've also discovered a couple of other locations that may end up
calling LanguageRegistry.findLanguage(...) before the registry has been
initialized. There are new patches on bug 221887 which deal with this.


Cheers,

-- Karl T
Re: IMP on Eclipse 3.3 [now with patches] [message #570502 is a reply to message #18235] Fri, 23 May 2008 03:19 Go to previous message
Andy is currently offline AndyFriend
Messages: 12
Registered: July 2009
Junior Member
I don't see anything very recent on this subject. Does IMP work now with
Eclipse 3.3? The 1.74 release or only from source?
Re: IMP on Eclipse 3.3 [now with patches] [message #570516 is a reply to message #19494] Sun, 25 May 2008 02:32 Go to previous message
Jin Missing name is currently offline Jin Missing nameFriend
Messages: 100
Registered: July 2009
Senior Member
the offical svn code seem supporting eclipse 3.4 now. try it.

"Andy" <crapo@research.ge.com>
??????:7908be1ecf308b3f4d0de6b531e3675b$1@www.eclipse.org...
>I don't see anything very recent on this subject. Does IMP work now with
>Eclipse 3.3? The 1.74 release or only from source?
>
Re: IMP on Eclipse 3.3 [now with patches] [message #570652 is a reply to message #19494] Tue, 27 May 2008 14:27 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Andy wrote:
> I don't see anything very recent on this subject. Does IMP work now with
> Eclipse 3.3? The 1.74 release or only from source?

Hi All,

Sorry for not posting about this earlier, but we were hoping to make an
announcement when we had a release on the update site (still a couple of
things to do before that's ready, but should be very soon).

Anyway, yes, the latest code in SVN trunk now runs under 3.3, and (we
hope) 3.4. I believe it should still run on 3.2 as well, but we've mostly
moved to 3.3+ for our development (finally!), so there may be issues there.

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://www.eclipse.org/imp)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
Previous Topic:Test of generated parser/lexer
Next Topic:IMP bugs on eclipse.org Bugzilla
Goto Forum:
  


Current Time: Fri Mar 29 14:22:01 GMT 2024

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

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

Back to the top