Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to disable automatic preferences initialization for debug configuration?
How to disable automatic preferences initialization for debug configuration? [message #1700662] Mon, 06 July 2015 09:56 Go to next message
Oleksii Kushnir is currently offline Oleksii KushnirFriend
Messages: 2
Registered: May 2015
Location: Kyiv
Junior Member
Hi,

I'm developing plugin and want to disable automatic preferences population for my testing workspace. Hope we have a key that could be passed to the VM arguments and will disable automatic preferences population.
Re: How to disable automatic preferences initialization for debug configuration? [message #1700717 is a reply to message #1700662] Mon, 06 July 2015 15:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
You can use -Doomph.setup.skip=true to disable automatic task execution
on startup. This disables all setup tasks, not just preference tasks,
but I assume that's what you want.

On 06/07/2015 5:27 PM, Oleksii Kushnir wrote:
> Hi,
>
> I'm developing plugin and want to disable automatic preferences
> population for my testing workspace. Hope we have a key that could be
> passed to the VM arguments and will disable automatic preferences
> population.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to disable automatic preferences initialization for debug configuration? [message #1700728 is a reply to message #1700717] Mon, 06 July 2015 16:55 Go to previous messageGo to next message
Oleksii Kushnir is currently offline Oleksii KushnirFriend
Messages: 2
Registered: May 2015
Location: Kyiv
Junior Member
Thanks. Problem was solved.
Re: How to disable automatic preferences initialization for debug configuration? [message #1701810 is a reply to message #1700717] Wed, 15 July 2015 21:56 Go to previous messageGo to next message
Raffi Khatchadourian is currently offline Raffi KhatchadourianFriend
Messages: 8
Registered: July 2015
Junior Member

Do I need to add this for every launch configuration I create? How can I add it to the arguments that appear by default?
Re: How to disable automatic preferences initialization for debug configuration? [message #1701826 is a reply to message #1701810] Thu, 16 July 2015 04:38 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 16.07.2015 um 03:53 schrieb Raffi Khatchadourian:
> Do I need to add this for every launch configuration I create? How can I add it to the arguments that appear by default?
I think you can add them under Preferences -> Plugin Development -> Target Platform. There, double-click your target and
go to the Arguments tab.

I suspect you use your Running Platform as a target. For various reasons it might be better to define your own
specialized target and only include the plugins you really need, not all the tools that are installed in your host IDE.

Cheers
/Eike

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


Previous Topic:eclipse.exe missing in provisioned product
Next Topic:control org.eclipse.oomph.p2 settings upfront
Goto Forum:
  


Current Time: Sun Dec 08 23:10:54 GMT 2024

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

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

Back to the top