Home » Archived » IMP » New installation doesn't create Ast package
New installation doesn't create Ast package [message #505100] |
Sat, 26 December 2009 21:09 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
Hi All,
I'm a newbie to Eclipse and IMP, thought I'd give it a try to implement an IDE for NBC, a language for the LEGO Mindstorms NXT brick, see: http://bricxcc.sourceforge.net/nbc/
This is mostly an exercise in learning the tools, but I don't seem to be able to get IMP up and running.
I've installed Galileo 3.5.1, IMP 0.1.88, LPG 2.0.17 and Polyglot 2.4.0, and I'm trying to follow the user guide. I created a new plugin, added a Prgramming Languge Descriptor, all seems to work fine, but when I create a LPG Grammar with Parser Wrapper for IMP, It creates skeleton .g and .gi files, NbcASTNodeLocater and NbcParseController classes, but no Ast package, so the classes don't work. In the Eclipse error log it has errors like:
Failed to create extension: astAdapter
org.eclipse.imp.utils.ExtensionException: No such language service extension point defined: org.eclipse.imp.runtime.astAdapter
at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio nForPlugin(ExtensionFactory.java:115)
at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio nForPlugin(ExtensionFactory.java:156)
at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio n(ExtensionFactory.java:53)
....
and
An internal error occurred during: "LPG ParserScheduler for NbcParser.g".
java.lang.NullPointerException
at org.eclipse.imp.parser.SimpleLPGParseController.isKeyword(Si mpleLPGParseController.java:186)
at org.eclipse.imp.lpg.editor.TokenColorer.getColoring(TokenCol orer.java:58)
...
and
Error running parser for language LPG and input NbcParser.g:
java.lang.NullPointerException
at org.eclipse.core.internal.runtime.Activator.getURLConverter( Activator.java:313)
at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.j ava:205)
at org.eclipse.imp.lpg.builder.LPGBuilder.getDefaultIncludePath (LPGBuilder.java:392)
...
Note, I had to import lpg.generator.win32_x86 into my workspace to get the lpgexe to work, but it now seems to work fine, I can run it from the command line. Running it on the skeleton .g & .gi files creates a whole bunch of classes, but still no Ast package.
Can anyone point me in the right direction?
Thanks in advance
ROSCO
|
|
|
Re: New installation doesn't create Ast package [message #516719 is a reply to message #505100] |
Wed, 24 February 2010 21:35 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
Hi,
I just noticed that no one responded to this message. [Sorry! Thought I
had already...]
The version of IMP you're using is pretty old. Have you given this a try
with something more recent?
On 12/26/09 4:09 PM, Rosco wrote:
> Hi All,
>
> I'm a newbie to Eclipse and IMP, thought I'd give it a try to implement
> an IDE for NBC, a language for the LEGO Mindstorms NXT brick, see:
> http://bricxcc.sourceforge.net/nbc/
>
> This is mostly an exercise in learning the tools, but I don't seem to be
> able to get IMP up and running.
>
> I've installed Galileo 3.5.1, IMP 0.1.88, LPG 2.0.17 and Polyglot 2.4.0,
> and I'm trying to follow the user guide. I created a new plugin, added a
> Prgramming Languge Descriptor, all seems to work fine, but when I create
> a LPG Grammar with Parser Wrapper for IMP, It creates skeleton .g and
> .gi files, NbcASTNodeLocater and NbcParseController classes, but no Ast
> package, so the classes don't work. In the Eclipse error log it has
> errors like:
>
> Failed to create extension: astAdapter
> org.eclipse.imp.utils.ExtensionException: No such language service
> extension point defined: org.eclipse.imp.runtime.astAdapter
> at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio
> nForPlugin(ExtensionFactory.java:115)
> at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio
> nForPlugin(ExtensionFactory.java:156)
> at org.eclipse.imp.utils.ExtensionFactory.createServiceExtensio
> n(ExtensionFactory.java:53)
> ...
>
> and
> An internal error occurred during: "LPG ParserScheduler for NbcParser.g".
> java.lang.NullPointerException
> at org.eclipse.imp.parser.SimpleLPGParseController.isKeyword(Si
> mpleLPGParseController.java:186)
> at org.eclipse.imp.lpg.editor.TokenColorer.getColoring(TokenCol
> orer.java:58)
> ..
>
> and
>
> Error running parser for language LPG and input NbcParser.g:
> java.lang.NullPointerException
> at org.eclipse.core.internal.runtime.Activator.getURLConverter(
> Activator.java:313)
> at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.j ava:205)
> at org.eclipse.imp.lpg.builder.LPGBuilder.getDefaultIncludePath
> (LPGBuilder.java:392)
> ..
>
> Note, I had to import lpg.generator.win32_x86 into my workspace to get
> the lpgexe to work, but it now seems to work fine, I can run it from the
> command line. Running it on the skeleton .g & .gi files creates a whole
> bunch of classes, but still no Ast package.
>
> Can anyone point me in the right direction?
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #519095 is a reply to message #519078] |
Sat, 06 March 2010 11:34 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
OK got that installed, but now it gets:
Missing requirement: IMP Program Database (Incubation) 0.1.22 (org.eclipse.imp.pdb 0.1.22) requires 'bundle org.eclipse.imp.pdb.values 0.0.0' but it could not be found
I don't even have IMP PDB installed, is it required? If so, where can I get it?
Thanks
ROSCO
Rosco wrote on Sat, 06 March 2010 01:45 | Hi Bob, thanks for the reply.
I just tried to upgrade, but at the end got the following error:
Missing requirement: SMAP Builder (Incubation) 0.1.89.2 (org.eclipse.imp.smapifier 0.1.89.2) requires 'bundle org.eclipse.imp.java.hosted 0.0.0' but it could not be found
Is this a dependency problem? Can I manually install that package?
Robert M. Fuhrer wrote on Wed, 24 February 2010 16:35 | Hi,
I just noticed that no one responded to this message. [Sorry! Thought I
had already...]
The version of IMP you're using is pretty old. Have you given this a try
with something more recent?
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
|
|
Re: New installation doesn't create Ast package [message #519422 is a reply to message #519095] |
Mon, 08 March 2010 13:46 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/6/10 6:34 AM, Rosco wrote:
> OK got that installed, but now it gets:
>
> Missing requirement: IMP Program Database (Incubation) 0.1.22
> (org.eclipse.imp.pdb 0.1.22) requires 'bundle org.eclipse.imp.pdb.values
> 0.0.0' but it could not be found
>
> I don't even have IMP PDB installed, is it required? If so, where can I
> get it?
Are you installing via the Eclipse Update Manager?
I ask this in part b/c the IMP PDB (org.eclipse.imp.pdb) is available on
the same update site, but it's also part of the IMP Analysis feature,
which I somewhat doubt you're using.
The best way to install is to install features via the Update Manager,
rather than, say, dropping individual plugins into the "dropins" folder
of a p2-enabled Eclipse (in case that's what you're doing).
At the top level, here are the feature-level offerings:
- In the simplest case, you only need the IMP runtime feature. This is
probably what 90% of IMP-based IDE developers (and their users) need.
- If you're developing an IDE for a language that extends Java, or runs
on a JVM, you also need org.eclipse.imp.java.hosted.
- If you're using the source formatting support, you also need
org.eclipse.imp.formatting and sdf_eclipse_installer_feature.
- If you want to use the IMP Analysis framework (still a work in progress,
but parts are usable), use the org.eclipse.imp.analysis feature.
- For the meta-tooling (the various wizards that help you create your
IDE), install org.eclipse.imp.metatooling.
- If you're using LPG for your parser implementation, you probably want
the LPG grammar IDE, which is in the org.eclipse.imp.lpg feature.
Does this help?
> Rosco wrote on Sat, 06 March 2010 01:45
>> Hi Bob, thanks for the reply.
>>
>> I just tried to upgrade, but at the end got the following error:
>>
>> Missing requirement: SMAP Builder (Incubation) 0.1.89.2
>> (org.eclipse.imp.smapifier 0.1.89.2) requires 'bundle
>> org.eclipse.imp.java.hosted 0.0.0' but it could not be found
>>
>> Is this a dependency problem? Can I manually install that package?
>>
>> Robert M. Fuhrer wrote on Wed, 24 February 2010 16:35
>> > Hi,
>> > > I just noticed that no one responded to this message. [Sorry!
>> Thought I
>> > had already...]
>> > > The version of IMP you're using is pretty old. Have you given this
>> a try
>> > with something more recent?
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #520583 is a reply to message #505100] |
Fri, 12 March 2010 22:04 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
Hi Bob, thanks for the response.
Yes I am using the Update Manager. I reverted back to before I started all this, and tried again.
BTW I'm using the update site at http://download.eclipse.org/technology/imp/updates/ is that correct?
I chose the IMP IDE runtime, but expanded it and de-selected the IMP support for java hosted languages, as my project is not based on Java. The confirmation screen showed only the runtime and source formatting packages. I confirmed, it got to the end but then got another dependency error:
Cannot complete the install because one or more required items could not be found.
Software currently installed: IMP Source Formatting Support (Incubation) 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14 (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier 0.0.0' but it could not be found
Cannot satisfy dependency:
From: IMP Source Formatting Support (Incubation) 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
To: org.eclipse.imp.box [0.1.14]
[Edit]
I tried again, but de-selected the source formatting package, and it completed successfully. I also successfully installed LPG parser, so I will come back to the source formatting at a later date.
[Edit2]
I thought I'd try installing the meta-tooling to make life a little easier, but got the following:
Cannot complete the install because one or more required items could not be found.
Software currently installed: IMP Language Meta-Tooling (Incubation) 0.1.96 (org.eclipse.imp.metatooling.feature.group 0.1.96)
Missing requirement: IMP Presentation Specifications (Incubation) 0.1.7 (org.eclipse.imp.presentation 0.1.7) requires 'bundle org.eclipse.imp.smapifier 0.0.0' but it could not be found
Cannot satisfy dependency:
From: IMP Language Meta-Tooling (Incubation) 0.1.96 (org.eclipse.imp.metatooling.feature.group 0.1.96)
To: org.eclipse.imp.presentation [0.1.7]
ROSCO
[Updated on: Fri, 12 March 2010 22:42] Report message to a moderator
|
|
|
Re: New installation doesn't create Ast package [message #520659 is a reply to message #520583] |
Sat, 13 March 2010 21:19 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/12/10 5:04 PM, Rosco wrote:
> Hi Bob, thanks for the response.
>
> Yes I am using the Update Manager. I reverted back to before I started
> all this, and tried again.
>
> BTW I'm using the update site at
> http://download.eclipse.org/technology/imp/updates/ is that correct?
Yes, that's the right update site URL.
> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
> support for java hosted languages, as my project is not based on Java.
> The confirmation screen showed only the runtime and source formatting
> packages. I confirmed, it got to the end but then got another dependency
> error:
Are you saying that the source formatting feature was automatically selected
for you, or that you selected it? If you selected it, do you need the source
formatting support?
> Cannot complete the install because one or more required items could not
> be found.
> Software currently installed: IMP Source Formatting Support (Incubation)
> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
> (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier
> 0.0.0' but it could not be found
> Cannot satisfy dependency:
> From: IMP Source Formatting Support (Incubation) 0.1.5
> (org.eclipse.imp.formatting.feature.group 0.1.5)
> To: org.eclipse.imp.box [0.1.14]
Hmmm... I didn't think box should depend on smapifier (which is in the
java-hosted language support feature). I'll have to look into that.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #520725 is a reply to message #520659] |
Sun, 14 March 2010 22:09 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
> On 3/12/10 5:04 PM, Rosco wrote:
>> Hi Bob, thanks for the response.
>>
>> Yes I am using the Update Manager. I reverted back to before I started
>> all this, and tried again.
>>
>> BTW I'm using the update site at
>> http://download.eclipse.org/technology/imp/updates/ is that correct?
>
> Yes, that's the right update site URL.
>
>> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>> support for java hosted languages, as my project is not based on Java.
>> The confirmation screen showed only the runtime and source formatting
>> packages. I confirmed, it got to the end but then got another dependency
>> error:
>
> Are you saying that the source formatting feature was automatically
> selected
> for you, or that you selected it? If you selected it, do you need the
> source
> formatting support?
>
>> Cannot complete the install because one or more required items could not
>> be found.
>> Software currently installed: IMP Source Formatting Support (Incubation)
>> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>> (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier
>> 0.0.0' but it could not be found
>> Cannot satisfy dependency:
>> From: IMP Source Formatting Support (Incubation) 0.1.5
>> (org.eclipse.imp.formatting.feature.group 0.1.5)
>> To: org.eclipse.imp.box [0.1.14]
>
> Hmmm... I didn't think box should depend on smapifier (which is in the
> java-hosted language support feature). I'll have to look into that.
Odd; I'm not sure why the box bundle declared a dependency on the smapifier
bundle. The code certainly didn't need it.
This is fixed, and is in the new release (just published today).
Thanks for pointing this out!
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #522114 is a reply to message #520725] |
Sat, 20 March 2010 07:41 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09 | On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
> On 3/12/10 5:04 PM, Rosco wrote:
>> Hi Bob, thanks for the response.
>>
>> Yes I am using the Update Manager. I reverted back to before I started
>> all this, and tried again.
>>
>> BTW I'm using the update site at
>> http://download.eclipse.org/technology/imp/updates/ is that correct?
>
> Yes, that's the right update site URL.
>
>> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>> support for java hosted languages, as my project is not based on Java.
>> The confirmation screen showed only the runtime and source formatting
>> packages. I confirmed, it got to the end but then got another dependency
>> error:
>
> Are you saying that the source formatting feature was automatically
> selected
> for you, or that you selected it? If you selected it, do you need the
> source
> formatting support?
It was automatically selected.
>> Cannot complete the install because one or more required items could not
>> be found.
>> Software currently installed: IMP Source Formatting Support (Incubation)
>> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>> (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier
>> 0.0.0' but it could not be found
>> Cannot satisfy dependency:
>> From: IMP Source Formatting Support (Incubation) 0.1.5
>> (org.eclipse.imp.formatting.feature.group 0.1.5)
>> To: org.eclipse.imp.box [0.1.14]
>
> Hmmm... I didn't think box should depend on smapifier (which is in the
> java-hosted language support feature). I'll have to look into that.
Odd; I'm not sure why the box bundle declared a dependency on the smapifier
bundle. The code certainly didn't need it.
This is fixed, and is in the new release (just published today).
Thanks for pointing this out!
(http://x10.sf.net)
|
No problem As you can probably tell I haven't been getting much time on this. But I tried to do an update today, and it failed with the following:
Cannot complete the install because one or more required items could not be found.
Software currently installed: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle lpg.runtime.java 2.0.17' but it could not be found
Cannot satisfy dependency:
From: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
To: org.eclipse.imp.runtime [0.1.104.v201003152144]
Regards
ROSCO
|
|
|
Re: New installation doesn't create Ast package [message #522775 is a reply to message #522114] |
Tue, 23 March 2010 16:32 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/20/10 3:41 AM, Rosco wrote:
> Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09
>> On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
>> > On 3/12/10 5:04 PM, Rosco wrote:
>> >> Hi Bob, thanks for the response.
>> >>
>> >> Yes I am using the Update Manager. I reverted back to before I started
>> >> all this, and tried again.
>> >>
>> >> BTW I'm using the update site at
>> >> http://download.eclipse.org/technology/imp/updates/ is that correct?
>> >
>> > Yes, that's the right update site URL.
>> >
>> >> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>> >> support for java hosted languages, as my project is not based on Java.
>> >> The confirmation screen showed only the runtime and source formatting
>> >> packages. I confirmed, it got to the end but then got another
>> dependency
>> >> error:
>> >
>> > Are you saying that the source formatting feature was automatically
>> > selected
>> > for you, or that you selected it? If you selected it, do you need the
>> > source
>> > formatting support?
>>
>> It was automatically selected.
>>
>> >> Cannot complete the install because one or more required items
>> could not
>> >> be found.
>> >> Software currently installed: IMP Source Formatting Support
>> (Incubation)
>> >> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>> >> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>> >> (org.eclipse.imp.box 0.1.14) requires 'bundle
>> org.eclipse.imp.smapifier
>> >> 0.0.0' but it could not be found
>> >> Cannot satisfy dependency:
>> >> From: IMP Source Formatting Support (Incubation) 0.1.5
>> >> (org.eclipse.imp.formatting.feature.group 0.1.5)
>> >> To: org.eclipse.imp.box [0.1.14]
>> >
>> > Hmmm... I didn't think box should depend on smapifier (which is in the
>> > java-hosted language support feature). I'll have to look into that.
>>
>> Odd; I'm not sure why the box bundle declared a dependency on the
>> smapifier
>> bundle. The code certainly didn't need it.
>>
>> This is fixed, and is in the new release (just published today).
>>
>> Thanks for pointing this out!
>> (http://x10.sf.net)
>
>
> No problem :) As you can probably tell I haven't been getting much time
> on this. But I tried to do an update today, and it failed with the
> following:
>
> Cannot complete the install because one or more required items could not
> be found.
> Software currently installed: IMP Runtime (Incubation)
> 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group
> 0.1.104.v201003152144)
> Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144
> (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle
> lpg.runtime.java 2.0.17' but it could not be found
> Cannot satisfy dependency:
> From: IMP Runtime (Incubation) 0.1.104.v201003152144
> (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
> To: org.eclipse.imp.runtime [0.1.104.v201003152144]
I'm not sure at the moment what this problem is, but I'm looking into it.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #523206 is a reply to message #522775] |
Thu, 25 March 2010 14:27 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
I'm still not sure why p2 "couldn't find lpg.runtime.java 2.0.17", since
it really was on the update site. My best guess at this point is that p2
got confused by the packaging change in the LPG Runtime that occurred at
version 2.0.17.
The work-around (or perhaps the genuine solution) was to create a new
version of LPG -- 2.0.18 -- that has exactly the same code, so that p2
sees an updated version of LPG that contains both the "real" runtime
bundle (lpg.runtime.java) and the "bridge" bundle (lpg.runtime).
The new release is up on the IMP update site. I've tested this, and it
fixes the install problem for me.
Please let me know if you still have problems with the new release.
On 3/23/10 5:24 PM, Robert M. Fuhrer wrote:
> On 3/20/10 3:41 AM, Rosco wrote:
>> Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09
>>> On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
>>> > On 3/12/10 5:04 PM, Rosco wrote:
>>> >> Hi Bob, thanks for the response.
>>> >>
>>> >> Yes I am using the Update Manager. I reverted back to before I
>>> started
>>> >> all this, and tried again.
>>> >>
>>> >> BTW I'm using the update site at
>>> >> http://download.eclipse.org/technology/imp/updates/ is that correct?
>>> >
>>> > Yes, that's the right update site URL.
>>> >
>>> >> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>>> >> support for java hosted languages, as my project is not based on
>>> Java.
>>> >> The confirmation screen showed only the runtime and source formatting
>>> >> packages. I confirmed, it got to the end but then got another
>>> dependency
>>> >> error:
>>> >
>>> > Are you saying that the source formatting feature was automatically
>>> > selected
>>> > for you, or that you selected it? If you selected it, do you need the
>>> > source
>>> > formatting support?
>>>
>>> It was automatically selected.
>>>
>>> >> Cannot complete the install because one or more required items
>>> could not
>>> >> be found.
>>> >> Software currently installed: IMP Source Formatting Support
>>> (Incubation)
>>> >> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>>> >> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>>> >> (org.eclipse.imp.box 0.1.14) requires 'bundle
>>> org.eclipse.imp.smapifier
>>> >> 0.0.0' but it could not be found
>>> >> Cannot satisfy dependency:
>>> >> From: IMP Source Formatting Support (Incubation) 0.1.5
>>> >> (org.eclipse.imp.formatting.feature.group 0.1.5)
>>> >> To: org.eclipse.imp.box [0.1.14]
>>> >
>>> > Hmmm... I didn't think box should depend on smapifier (which is in the
>>> > java-hosted language support feature). I'll have to look into that.
>>>
>>> Odd; I'm not sure why the box bundle declared a dependency on the
>>> smapifier
>>> bundle. The code certainly didn't need it.
>>>
>>> This is fixed, and is in the new release (just published today).
>>>
>>> Thanks for pointing this out!
>>> (http://x10.sf.net)
>>
>>
>> No problem :) As you can probably tell I haven't been getting much time
>> on this. But I tried to do an update today, and it failed with the
>> following:
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>> Software currently installed: IMP Runtime (Incubation)
>> 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group
>> 0.1.104.v201003152144)
>> Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144
>> (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle
>> lpg.runtime.java 2.0.17' but it could not be found
>> Cannot satisfy dependency:
>> From: IMP Runtime (Incubation) 0.1.104.v201003152144
>> (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
>> To: org.eclipse.imp.runtime [0.1.104.v201003152144]
>
> I'm not sure at the moment what this problem is, but I'm looking into it.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #525057 is a reply to message #524843] |
Mon, 05 April 2010 15:20 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 4/2/10 6:15 PM, Rosco wrote:
> Hi Bob,
>
> That got IMP installed, thanks! Now to find time to actually use it...
Ok, that's good...
> Update: I tried to install the language meta-tooling(from install
> dialog), and got lots of errors like:
>
> No repository found containing:
> osgi.bundle,org.eclipse.imp.presentation,0.1.8.v201003241901
> No repository found containing:
> osgi.bundle,org.eclipse.imp.prefspecs,0.1.91.v201003241901
I just re-checked the update site, and the two bundles you mentioned are
there and world-readable, so the only thing that I can think of off the
top of my head is that network timeouts are getting misclassified as
"missing bundles". Do you see any sign of that happening in the Error Log?
> So I have no wizards :(
>
> Of course I COULD just do it all from scratch, but the speed I work that
> could take millenia :)
Yup, and you might say that's why we started the project. :-)
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #577543 is a reply to message #577523] |
Sat, 06 March 2010 11:34 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
OK got that installed, but now it gets:
Missing requirement: IMP Program Database (Incubation) 0.1.22 (org.eclipse.imp.pdb 0.1.22) requires 'bundle org.eclipse.imp.pdb.values 0.0.0' but it could not be found
I don't even have IMP PDB installed, is it required? If so, where can I get it?
Thanks
ROSCO
Rosco wrote on Sat, 06 March 2010 01:45
> Hi Bob, thanks for the reply.
>
> I just tried to upgrade, but at the end got the following error:
>
> Missing requirement: SMAP Builder (Incubation) 0.1.89.2 (org.eclipse.imp.smapifier 0.1.89.2) requires 'bundle org.eclipse.imp.java.hosted 0.0.0' but it could not be found
>
> Is this a dependency problem? Can I manually install that package?
>
> Robert M. Fuhrer wrote on Wed, 24 February 2010 16:35
> > Hi,
> >
> > I just noticed that no one responded to this message. [Sorry! Thought I
> > had already...]
> >
> > The version of IMP you're using is pretty old. Have you given this a try
> > with something more recent?
> >
> > --
> > Cheers,
> > -- Bob
> >
> > --------------------------------
> > Robert M. Fuhrer
> > Research Staff Member
> > Programming Technologies Dept.
> > IBM T.J. Watson Research Center
> >
> > IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
> > X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #577565 is a reply to message #577543] |
Mon, 08 March 2010 18:41 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/6/10 6:34 AM, Rosco wrote:
> OK got that installed, but now it gets:
>
> Missing requirement: IMP Program Database (Incubation) 0.1.22
> (org.eclipse.imp.pdb 0.1.22) requires 'bundle org.eclipse.imp.pdb.values
> 0.0.0' but it could not be found
>
> I don't even have IMP PDB installed, is it required? If so, where can I
> get it?
Are you installing via the Eclipse Update Manager?
I ask this in part b/c the IMP PDB (org.eclipse.imp.pdb) is available on
the same update site, but it's also part of the IMP Analysis feature,
which I somewhat doubt you're using.
The best way to install is to install features via the Update Manager,
rather than, say, dropping individual plugins into the "dropins" folder
of a p2-enabled Eclipse (in case that's what you're doing).
At the top level, here are the feature-level offerings:
- In the simplest case, you only need the IMP runtime feature. This is
probably what 90% of IMP-based IDE developers (and their users) need.
- If you're developing an IDE for a language that extends Java, or runs
on a JVM, you also need org.eclipse.imp.java.hosted.
- If you're using the source formatting support, you also need
org.eclipse.imp.formatting and sdf_eclipse_installer_feature.
- If you want to use the IMP Analysis framework (still a work in progress,
but parts are usable), use the org.eclipse.imp.analysis feature.
- For the meta-tooling (the various wizards that help you create your
IDE), install org.eclipse.imp.metatooling.
- If you're using LPG for your parser implementation, you probably want
the LPG grammar IDE, which is in the org.eclipse.imp.lpg feature.
Does this help?
> Rosco wrote on Sat, 06 March 2010 01:45
>> Hi Bob, thanks for the reply.
>>
>> I just tried to upgrade, but at the end got the following error:
>>
>> Missing requirement: SMAP Builder (Incubation) 0.1.89.2
>> (org.eclipse.imp.smapifier 0.1.89.2) requires 'bundle
>> org.eclipse.imp.java.hosted 0.0.0' but it could not be found
>>
>> Is this a dependency problem? Can I manually install that package?
>>
>> Robert M. Fuhrer wrote on Wed, 24 February 2010 16:35
>> > Hi,
>> > > I just noticed that no one responded to this message. [Sorry!
>> Thought I
>> > had already...]
>> > > The version of IMP you're using is pretty old. Have you given this
>> a try
>> > with something more recent?
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #577641 is a reply to message #520659] |
Sun, 14 March 2010 22:09 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
> On 3/12/10 5:04 PM, Rosco wrote:
>> Hi Bob, thanks for the response.
>>
>> Yes I am using the Update Manager. I reverted back to before I started
>> all this, and tried again.
>>
>> BTW I'm using the update site at
>> http://download.eclipse.org/technology/imp/updates/ is that correct?
>
> Yes, that's the right update site URL.
>
>> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>> support for java hosted languages, as my project is not based on Java.
>> The confirmation screen showed only the runtime and source formatting
>> packages. I confirmed, it got to the end but then got another dependency
>> error:
>
> Are you saying that the source formatting feature was automatically
> selected
> for you, or that you selected it? If you selected it, do you need the
> source
> formatting support?
>
>> Cannot complete the install because one or more required items could not
>> be found.
>> Software currently installed: IMP Source Formatting Support (Incubation)
>> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>> (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier
>> 0.0.0' but it could not be found
>> Cannot satisfy dependency:
>> From: IMP Source Formatting Support (Incubation) 0.1.5
>> (org.eclipse.imp.formatting.feature.group 0.1.5)
>> To: org.eclipse.imp.box [0.1.14]
>
> Hmmm... I didn't think box should depend on smapifier (which is in the
> java-hosted language support feature). I'll have to look into that.
Odd; I'm not sure why the box bundle declared a dependency on the smapifier
bundle. The code certainly didn't need it.
This is fixed, and is in the new release (just published today).
Thanks for pointing this out!
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: New installation doesn't create Ast package [message #577655 is a reply to message #520725] |
Sat, 20 March 2010 07:41 |
Rosco Messages: 12 Registered: December 2009 |
Junior Member |
|
|
Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09
> On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
> > On 3/12/10 5:04 PM, Rosco wrote:
> >> Hi Bob, thanks for the response.
> >>
> >> Yes I am using the Update Manager. I reverted back to before I started
> >> all this, and tried again.
> >>
> >> BTW I'm using the update site at
> >> http://download.eclipse.org/technology/imp/updates/ is that correct?
> >
> > Yes, that's the right update site URL.
> >
> >> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
> >> support for java hosted languages, as my project is not based on Java.
> >> The confirmation screen showed only the runtime and source formatting
> >> packages. I confirmed, it got to the end but then got another dependency
> >> error:
> >
> > Are you saying that the source formatting feature was automatically
> > selected
> > for you, or that you selected it? If you selected it, do you need the
> > source
> > formatting support?
>
> It was automatically selected.
>
> >> Cannot complete the install because one or more required items could not
> >> be found.
> >> Software currently installed: IMP Source Formatting Support (Incubation)
> >> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
> >> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
> >> (org.eclipse.imp.box 0.1.14) requires 'bundle org.eclipse.imp.smapifier
> >> 0.0.0' but it could not be found
> >> Cannot satisfy dependency:
> >> From: IMP Source Formatting Support (Incubation) 0.1.5
> >> (org.eclipse.imp.formatting.feature.group 0.1.5)
> >> To: org.eclipse.imp.box [0.1.14]
> >
> > Hmmm... I didn't think box should depend on smapifier (which is in the
> > java-hosted language support feature). I'll have to look into that.
>
> Odd; I'm not sure why the box bundle declared a dependency on the smapifier
> bundle. The code certainly didn't need it.
>
> This is fixed, and is in the new release (just published today).
>
> Thanks for pointing this out!
> (http://x10.sf.net)
No problem :) As you can probably tell I haven't been getting much time on this. But I tried to do an update today, and it failed with the following:
Cannot complete the install because one or more required items could not be found.
Software currently installed: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle lpg.runtime.java 2.0.17' but it could not be found
Cannot satisfy dependency:
From: IMP Runtime (Incubation) 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
To: org.eclipse.imp.runtime [0.1.104.v201003152144]
Regards
ROSCO
|
|
|
Re: New installation doesn't create Ast package [message #577666 is a reply to message #577655] |
Tue, 23 March 2010 21:24 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 3/20/10 3:41 AM, Rosco wrote:
> Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09
>> On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
>> > On 3/12/10 5:04 PM, Rosco wrote:
>> >> Hi Bob, thanks for the response.
>> >>
>> >> Yes I am using the Update Manager. I reverted back to before I started
>> >> all this, and tried again.
>> >>
>> >> BTW I'm using the update site at
>> >> http://download.eclipse.org/technology/imp/updates/ is that correct?
>> >
>> > Yes, that's the right update site URL.
>> >
>> >> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>> >> support for java hosted languages, as my project is not based on Java.
>> >> The confirmation screen showed only the runtime and source formatting
>> >> packages. I confirmed, it got to the end but then got another
>> dependency
>> >> error:
>> >
>> > Are you saying that the source formatting feature was automatically
>> > selected
>> > for you, or that you selected it? If you selected it, do you need the
>> > source
>> > formatting support?
>>
>> It was automatically selected.
>>
>> >> Cannot complete the install because one or more required items
>> could not
>> >> be found.
>> >> Software currently installed: IMP Source Formatting Support
>> (Incubation)
>> >> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>> >> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>> >> (org.eclipse.imp.box 0.1.14) requires 'bundle
>> org.eclipse.imp.smapifier
>> >> 0.0.0' but it could not be found
>> >> Cannot satisfy dependency:
>> >> From: IMP Source Formatting Support (Incubation) 0.1.5
>> >> (org.eclipse.imp.formatting.feature.group 0.1.5)
>> >> To: org.eclipse.imp.box [0.1.14]
>> >
>> > Hmmm... I didn't think box should depend on smapifier (which is in the
>> > java-hosted language support feature). I'll have to look into that.
>>
>> Odd; I'm not sure why the box bundle declared a dependency on the
>> smapifier
>> bundle. The code certainly didn't need it.
>>
>> This is fixed, and is in the new release (just published today).
>>
>> Thanks for pointing this out!
>> (http://x10.sf.net)
>
>
> No problem :) As you can probably tell I haven't been getting much time
> on this. But I tried to do an update today, and it failed with the
> following:
>
> Cannot complete the install because one or more required items could not
> be found.
> Software currently installed: IMP Runtime (Incubation)
> 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group
> 0.1.104.v201003152144)
> Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144
> (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle
> lpg.runtime.java 2.0.17' but it could not be found
> Cannot satisfy dependency:
> From: IMP Runtime (Incubation) 0.1.104.v201003152144
> (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
> To: org.eclipse.imp.runtime [0.1.104.v201003152144]
I'm not sure at the moment what this problem is, but I'm looking into it.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #577697 is a reply to message #577666] |
Thu, 25 March 2010 14:27 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
I'm still not sure why p2 "couldn't find lpg.runtime.java 2.0.17", since
it really was on the update site. My best guess at this point is that p2
got confused by the packaging change in the LPG Runtime that occurred at
version 2.0.17.
The work-around (or perhaps the genuine solution) was to create a new
version of LPG -- 2.0.18 -- that has exactly the same code, so that p2
sees an updated version of LPG that contains both the "real" runtime
bundle (lpg.runtime.java) and the "bridge" bundle (lpg.runtime).
The new release is up on the IMP update site. I've tested this, and it
fixes the install problem for me.
Please let me know if you still have problems with the new release.
On 3/23/10 5:24 PM, Robert M. Fuhrer wrote:
> On 3/20/10 3:41 AM, Rosco wrote:
>> Robert M. Fuhrer wrote on Sun, 14 March 2010 18:09
>>> On 3/13/10 4:19 PM, Robert M. Fuhrer wrote:
>>> > On 3/12/10 5:04 PM, Rosco wrote:
>>> >> Hi Bob, thanks for the response.
>>> >>
>>> >> Yes I am using the Update Manager. I reverted back to before I
>>> started
>>> >> all this, and tried again.
>>> >>
>>> >> BTW I'm using the update site at
>>> >> http://download.eclipse.org/technology/imp/updates/ is that correct?
>>> >
>>> > Yes, that's the right update site URL.
>>> >
>>> >> I chose the IMP IDE runtime, but expanded it and de-selected the IMP
>>> >> support for java hosted languages, as my project is not based on
>>> Java.
>>> >> The confirmation screen showed only the runtime and source formatting
>>> >> packages. I confirmed, it got to the end but then got another
>>> dependency
>>> >> error:
>>> >
>>> > Are you saying that the source formatting feature was automatically
>>> > selected
>>> > for you, or that you selected it? If you selected it, do you need the
>>> > source
>>> > formatting support?
>>>
>>> It was automatically selected.
>>>
>>> >> Cannot complete the install because one or more required items
>>> could not
>>> >> be found.
>>> >> Software currently installed: IMP Source Formatting Support
>>> (Incubation)
>>> >> 0.1.5 (org.eclipse.imp.formatting.feature.group 0.1.5)
>>> >> Missing requirement: Box Formatting Plug-in (Incubation) 0.1.14
>>> >> (org.eclipse.imp.box 0.1.14) requires 'bundle
>>> org.eclipse.imp.smapifier
>>> >> 0.0.0' but it could not be found
>>> >> Cannot satisfy dependency:
>>> >> From: IMP Source Formatting Support (Incubation) 0.1.5
>>> >> (org.eclipse.imp.formatting.feature.group 0.1.5)
>>> >> To: org.eclipse.imp.box [0.1.14]
>>> >
>>> > Hmmm... I didn't think box should depend on smapifier (which is in the
>>> > java-hosted language support feature). I'll have to look into that.
>>>
>>> Odd; I'm not sure why the box bundle declared a dependency on the
>>> smapifier
>>> bundle. The code certainly didn't need it.
>>>
>>> This is fixed, and is in the new release (just published today).
>>>
>>> Thanks for pointing this out!
>>> (http://x10.sf.net)
>>
>>
>> No problem :) As you can probably tell I haven't been getting much time
>> on this. But I tried to do an update today, and it failed with the
>> following:
>>
>> Cannot complete the install because one or more required items could not
>> be found.
>> Software currently installed: IMP Runtime (Incubation)
>> 0.1.104.v201003152144 (org.eclipse.imp.runtime.feature.group
>> 0.1.104.v201003152144)
>> Missing requirement: IMP Runtime (Incubation) 0.1.104.v201003152144
>> (org.eclipse.imp.runtime 0.1.104.v201003152144) requires 'bundle
>> lpg.runtime.java 2.0.17' but it could not be found
>> Cannot satisfy dependency:
>> From: IMP Runtime (Incubation) 0.1.104.v201003152144
>> (org.eclipse.imp.runtime.feature.group 0.1.104.v201003152144)
>> To: org.eclipse.imp.runtime [0.1.104.v201003152144]
>
> I'm not sure at the moment what this problem is, but I'm looking into it.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Re: New installation doesn't create Ast package [message #577740 is a reply to message #577731] |
Mon, 05 April 2010 15:20 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
On 4/2/10 6:15 PM, Rosco wrote:
> Hi Bob,
>
> That got IMP installed, thanks! Now to find time to actually use it...
Ok, that's good...
> Update: I tried to install the language meta-tooling(from install
> dialog), and got lots of errors like:
>
> No repository found containing:
> osgi.bundle,org.eclipse.imp.presentation,0.1.8.v201003241901
> No repository found containing:
> osgi.bundle,org.eclipse.imp.prefspecs,0.1.91.v201003241901
I just re-checked the update site, and the two bundles you mentioned are
there and world-readable, so the only thing that I can think of off the
top of my head is that network timeouts are getting misclassified as
"missing bundles". Do you see any sign of that happening in the Error Log?
> So I have no wizards :(
>
> Of course I COULD just do it all from scratch, but the speed I work that
> could take millenia :)
Yup, and you might say that's why we started the project. :-)
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Goto Forum:
Current Time: Thu Sep 26 21:13:48 GMT 2024
Powered by FUDForum. Page generated in 0.07141 seconds
|