Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Disable "Build Automatically" for a new product
Disable "Build Automatically" for a new product [message #334952] Wed, 11 March 2009 16:46 Go to next message
Carlos  is currently offline Carlos Friend
Messages: 16
Registered: July 2009
Junior Member
Hello,

I've created a new product based on Eclipse and I want to set the "Build
Automatically" setting off by default, this is, when the product is first
launched and a new workspace is created. And of course, when subsequent
new workspaces are created.

Once the workspace is created, it is the user's responsibility to
enable/disable this setting, but I don't mind. I just care about the
default behavior.

I've found how to do it programatically, but I guess there must be a way
to do it using plugin customization files, settings files or something
similar.

Thank you very much!
Re: Disable "Build Automatically" for a new product [message #334985 is a reply to message #334952] Fri, 13 March 2009 16:37 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There's a pref that controls it, the value stored in
org.eclipse.core.resources.ResourcesPlugin.PREF_AUTO_BUILDIN G

With the pref and the plugin, you should be able to set the default to
false in your plugin_customization.ini file (find the correct plugin to
use as well)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Activity : can I use negative lookahead in a patternBinding (i.e "hide every contribution from
Next Topic:Bundle update and buddy classloading
Goto Forum:
  


Current Time: Mon Nov 24 14:09:49 GMT 2014

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

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