Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to un-import projects?
How to un-import projects? [message #1514801] Wed, 17 December 2014 16:19 Go to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Oomph 1.0.0.v20141217-0934 (build 709)

I can import projects easily using the Oomph Importer wizard. But how
can I un-import projects that I no longer need? Hitting the up-arrow
button removes a selection from the list at the bottom of the wizard
page if it hasn't yet been imported. But that button has no effect on
any project that had previously been imported.

TIA,

Christian
Re: How to un-import projects? [message #1514899 is a reply to message #1514801] Wed, 17 December 2014 17:59 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6683
Registered: July 2009
Senior Member
Am 17.12.2014 um 17:19 schrieb Christian W. Damus:
> Oomph 1.0.0.v20141217-0934 (build 709)
>
> I can import projects easily using the Oomph Importer wizard. But how can I un-import projects that I no longer need?
That's not possible with Oomph. We generally don't support any "un-perform" of tasks. Given that the task that
originally performed before you removed its Oomph project from your workspace.setup is no longer known to the
SetupTaskPerformer I don't even know how that could be done. It would certainly require fundamental design changes in Oomph.

One solution to your problem is to manually delete the unwanted workspace projects. Another one could be to delete your
workspace folder (assuming that it only contains .metadata that can be recreated by Oomph) and install again. Even
easier would be to just keep the .metadata/.plugins/org.eclipse.oomph.setup/workspace.setup file!


> Hitting the up-arrow button removes a selection from the list at the bottom of the wizard page if it hasn't yet been
> imported. But that button has no effect on any project that had previously been imported.
Yes, that just disassociates the selected Oomph projects from your workspace.setup.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: How to un-import projects? [message #1515599 is a reply to message #1514899] Thu, 18 December 2014 07:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33146
Registered: July 2009
Senior Member
Assuming Christian isn't asking for an Undo (which seems infeasible) one
can always open the Workspace setup and use the properties view to
remove streams from the Streams property.

On 17/12/2014 6:59 PM, Eike Stepper wrote:
> Am 17.12.2014 um 17:19 schrieb Christian W. Damus:
>> Oomph 1.0.0.v20141217-0934 (build 709)
>>
>> I can import projects easily using the Oomph Importer wizard. But how
>> can I un-import projects that I no longer need?
> That's not possible with Oomph. We generally don't support any
> "un-perform" of tasks. Given that the task that originally performed
> before you removed its Oomph project from your workspace.setup is no
> longer known to the SetupTaskPerformer I don't even know how that
> could be done. It would certainly require fundamental design changes
> in Oomph.
>
> One solution to your problem is to manually delete the unwanted
> workspace projects. Another one could be to delete your workspace
> folder (assuming that it only contains .metadata that can be recreated
> by Oomph) and install again. Even easier would be to just keep the
> .metadata/.plugins/org.eclipse.oomph.setup/workspace.setup file!
>
>
>> Hitting the up-arrow button removes a selection from the list at the
>> bottom of the wizard page if it hasn't yet been imported. But that
>> button has no effect on any project that had previously been imported.
> Yes, that just disassociates the selected Oomph projects from your
> workspace.setup.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to un-import projects? [message #1515964 is a reply to message #1515599] Thu, 18 December 2014 14:40 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Brilliant! Thanks, Ed and Eike. That was exactly what I needed, to
remove the stream from the workspace model. It works like a champ: I
deleted the projects and Oomph didn't restore them when I next started
Eclipse. Makes me wonder, though, why the up-arrow button in the
import wizard doesn't just do this edit to my workspace model for me ...

I've always been hesitant to mess about in those models in the toolbar
menu with the little bust-man, but now I feel like a Power User.

:-)

Christian


P.S. Thank you thank you thank you for moving the setup dialog into
the window trim!


On 2014-12-18 07:53:13 +0000, Ed Merks said:

> Assuming Christian isn't asking for an Undo (which seems infeasible)
> one can always open the Workspace setup and use the properties view to
> remove streams from the Streams property.
>
> On 17/12/2014 6:59 PM, Eike Stepper wrote:
>> Am 17.12.2014 um 17:19 schrieb Christian W. Damus:
>>> Oomph 1.0.0.v20141217-0934 (build 709)
>>>
>>> I can import projects easily using the Oomph Importer wizard. But how
>>> can I un-import projects that I no longer need?
>> That's not possible with Oomph. We generally don't support any
>> "un-perform" of tasks. Given that the task that originally performed
>> before you removed its Oomph project from your workspace.setup is no
>> longer known to the SetupTaskPerformer I don't even know how that could
>> be done. It would certainly require fundamental design changes in Oomph.
>>
>> One solution to your problem is to manually delete the unwanted
>> workspace projects. Another one could be to delete your workspace
>> folder (assuming that it only contains .metadata that can be recreated
>> by Oomph) and install again. Even easier would be to just keep the
>> .metadata/.plugins/org.eclipse.oomph.setup/workspace.setup file!
>>
>>
>>> Hitting the up-arrow button removes a selection from the list at the
>>> bottom of the wizard page if it hasn't yet been imported. But that
>>> button has no effect on any project that had previously been imported.
>> Yes, that just disassociates the selected Oomph projects from your
>> workspace.setup.
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
Re: How to un-import projects? [message #1516002 is a reply to message #1515964] Thu, 18 December 2014 15:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33146
Registered: July 2009
Senior Member
Christian,

Comments below.

On 18/12/2014 3:40 PM, Christian W. Damus wrote:
> Brilliant! Thanks, Ed and Eike. That was exactly what I needed, to
> remove the stream from the workspace model. It works like a champ: I
> deleted the projects and Oomph didn't restore them when I next started
> Eclipse. Makes me wonder, though, why the up-arrow button in the
> import wizard doesn't just do this edit to my workspace model for me ...
I suppose it could be used to arbitrarily change the workspace's
streams, but it is an "import wizard" so it seems a bit outside of the
scope of its intended purpose.
>
> I've always been hesitant to mess about in those models in the toolbar
> menu with the little bust-man, but now I feel like a Power User.
It's definitely expected that users will edit things like the
Installation or Workspace so include tasks that will affect just that
one installation or just that one workspace...
>
> :-)
>
> Christian
>
>
> P.S. Thank you thank you thank you for moving the setup dialog into
> the window trim!
Yes, that was a challenge because the workbench is slightly buggy with
respect to registering the exact location at which to place such trim
and with respect to toolbar visibility too. But it definitely seems
better that the wizard doesn't do actual significant work until you hit
finish and it's definitely convenient that the long running work can be
managed in the background!
>
>
> On 2014-12-18 07:53:13 +0000, Ed Merks said:
>
>> Assuming Christian isn't asking for an Undo (which seems infeasible)
>> one can always open the Workspace setup and use the properties view
>> to remove streams from the Streams property.
>>
>> On 17/12/2014 6:59 PM, Eike Stepper wrote:
>>> Am 17.12.2014 um 17:19 schrieb Christian W. Damus:
>>>> Oomph 1.0.0.v20141217-0934 (build 709)
>>>>
>>>> I can import projects easily using the Oomph Importer wizard. But
>>>> how can I un-import projects that I no longer need?
>>> That's not possible with Oomph. We generally don't support any
>>> "un-perform" of tasks. Given that the task that originally performed
>>> before you removed its Oomph project from your workspace.setup is no
>>> longer known to the SetupTaskPerformer I don't even know how that
>>> could be done. It would certainly require fundamental design changes
>>> in Oomph.
>>>
>>> One solution to your problem is to manually delete the unwanted
>>> workspace projects. Another one could be to delete your workspace
>>> folder (assuming that it only contains .metadata that can be
>>> recreated by Oomph) and install again. Even easier would be to just
>>> keep the .metadata/.plugins/org.eclipse.oomph.setup/workspace.setup
>>> file!
>>>
>>>
>>>> Hitting the up-arrow button removes a selection from the list at
>>>> the bottom of the wizard page if it hasn't yet been imported. But
>>>> that button has no effect on any project that had previously been
>>>> imported.
>>> Yes, that just disassociates the selected Oomph projects from your
>>> workspace.setup.
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Project import fails on non-existent source folder
Next Topic:[Announce] Oomph is Available in Mars M4
Goto Forum:
  


Current Time: Sat May 11 12:34:18 GMT 2024

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

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

Back to the top