Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Perform set up tasks and user.setup(Clicking on "Perform Setup Tasks..." doesn't do anything.)
Perform set up tasks and user.setup [message #1425786] Wed, 17 September 2014 21:10 Go to next message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 383
Registered: March 2011
Senior Member
I'm trying to add a feature to an IDE installed with the latest Oomph (1.0.0 Build 456). My understanding is that the preferred way to do this would be to modify the user.setup file to add a new p2 director with the feature. Is that correct?

Well, I tried that, making sure to add the correct .feature.group as requirement and the repository, but when I click on "Perform Setup Tasks..." it only pops up the window as shown in the attached file with only the "Cancel" button enabled, so it doesn't execute any setup tasks. Furthermore, if I restart the IDE, no setup tasks seem to be executed.

Is this a bug? If not, how can I install a feature which is not part of a setup model?



Re: Perform set up tasks and user.setup [message #1425794 is a reply to message #1425786] Wed, 17 September 2014 21:24 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1199
Registered: July 2009
Location: Canada
Senior Member

Hi, Ernesto,

This happens when a NullPointerException happens fairly early on in
trying to load the setup model.

IIRC, you're working with the Papyrus setup model, correct? Since the
Papyrus project branched, the setup model is now only being maintained
on the master branch. So, if you used Oomph to install a Papyrus
development environment that clones the Luna maintenance branch of the
git repo, your Papyrus IDE will find its reference to its setup model
redirected to the obsolete version of the model in the Luna maintenance
branch and an NPE ensues.

I need to delete the Papyrus setup model from the Luna maintenance
branch in git so that only the master version exists.

Cheers,

Christian


On 2014-09-17 21:10:16 +0000, Ernesto Posse said:

> I'm trying to add a feature to an IDE installed with the latest Oomph
> (1.0.0 Build 456). My understanding is that the preferred way to do
> this would be to modify the user.setup file to add a new p2 director
> with the feature. Is that correct?
>
> Well, I tried that, making sure to add the correct .feature.group as
> requirement and the repository, but when I click on "Perform Setup
> Tasks..." it only pops up the window as shown in the attached file with
> only the "Cancel" button enabled, so it doesn't execute any setup
> tasks. Furthermore, if I restart the IDE, no setup tasks seem to be
> executed.
>
> Is this a bug? If not, how can I install a feature which is not part of
> a setup model?
>
>
>
>
> <image>
Re: Perform set up tasks and user.setup [message #1425800 is a reply to message #1425794] Wed, 17 September 2014 21:34 Go to previous messageGo to next message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 383
Registered: March 2011
Senior Member
Hi Christian. Yes, I'm installing a Papyrus IDE.

So that means that if I select a Papyrus component I must choose the master stream for the component?

I'm asking because that stream says it's for Mars 1.1 and I wonder if that would lead to trouble if I choose Luna as the product.

Thanks
Re: Perform set up tasks and user.setup [message #1425886 is a reply to message #1425800] Thu, 18 September 2014 00:40 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1199
Registered: July 2009
Location: Canada
Senior Member

Hi, Ernesto,

No, for Luna maintenance development you must use the
streams/1.0-maintenance branch.

I have pushed a commit to the maintenance branch that removes the
obsolete Papyrus setup model. After your next pull, you should find
that the Oomph Installer is working again.

Cheers,

Christian


On 2014-09-17 21:34:33 +0000, Ernesto Posse said:

> Hi Christian. Yes, I'm installing a Papyrus IDE.
>
> So that means that if I select a Papyrus component I must choose the
> master stream for the component?
> I'm asking because that stream says it's for Mars 1.1 and I wonder if
> that would lead to trouble if I choose Luna as the product.
>
> Thanks
Re: Perform set up tasks and user.setup [SOLVED] [message #1427116 is a reply to message #1425886] Fri, 19 September 2014 18:38 Go to previous message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 383
Registered: March 2011
Senior Member
Thanks Christian. It worked.
Previous Topic:p2 & gmf errors
Next Topic:How to inherit a project from another in a different setup file
Goto Forum:
  


Current Time: Tue Mar 31 00:23:02 GMT 2020

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

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

Back to the top