Turning off auto-building [message #303148] |
Tue, 09 May 2006 13:25  |
Eclipse User |
|
|
|
Originally posted by: matt.querix.com
Hi all,
Our build system doesn't support auto-building. What's the best way of
turning it off programmatically for users of our plugins?
Thanks,
Matt
|
|
|
|
|
Re: Turning off auto-building [message #303221 is a reply to message #303211] |
Wed, 10 May 2006 10:43   |
Eclipse User |
|
|
|
Originally posted by: matt.querix.com
Hi Alex,
Our customers will not be existing Eclipse users adding a new plugin or
two. Our product is an new Eclipse-based IDE for a specialist language,
replacing our old IDE. Eventually we will want to hide the fact that our
product is build on top of Eclipse, much like Rational's Eclipse based
UML tools do. I very much doubt if our customers will have other types
of project in their workspace. Nevertheless, I agree that this is not nice.
Our existing users will not be used to Eclipse, and will be looking for
a build button. This only appears when auto-building is off. We don't
want to have to tell our customers first to install our product and then
to turn off auto building so that they can use it properly. I suppose I
could just add my own build actions to the toolbar and context menu
pretty easily...
Matt.
Alex Blewitt wrote:
> If I bought a product that disabled auto-building globally, I'd uninstall it, demand my money back, and write a scathing review on my blog.
>
> Seriously, if your products can't handle auto-build, then just ignore the auto build events, but don't prevent others from using it.
>
> Alex.
|
|
|
Re: Turning off auto-building [message #303245 is a reply to message #303221] |
Wed, 10 May 2006 13:27   |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Matt Dickie" <matt@querix.com> wrote in message
news:e3su41$joj$1@utils.eclipse.org...
> Hi Alex,
>
> Our customers will not be existing Eclipse users adding a new plugin or
> two. Our product is an new Eclipse-based IDE for a specialist language,
> replacing our old IDE. Eventually we will want to hide the fact that our
> product is build on top of Eclipse, much like Rational's Eclipse based UML
> tools do. I very much doubt if our customers will have other types of
> project in their workspace. Nevertheless, I agree that this is not nice.
>
> Our existing users will not be used to Eclipse, and will be looking for a
> build button. This only appears when auto-building is off. We don't want
> to have to tell our customers first to install our product and then to
> turn off auto building so that they can use it properly. I suppose I could
> just add my own build actions to the toolbar and context menu pretty
> easily...
You might be able to do what you want declaratively, rather than
programmatically as you had requested. For instance, at install time,
create the appropriate file under configuration/.settings. I'm not very
familiar with the product customization options for Eclipse (that is, the
options that allow pre-install-time customizing of products based on
Eclipse), but there are some.
|
|
|
Re: Turning off auto-building [message #303251 is a reply to message #303221] |
Wed, 10 May 2006 16:38   |
Eclipse User |
|
|
|
Originally posted by: john.eclipsefaq.org
You can customize preferences like this from your "product" plugin's
plugin_customization.ini file. See the file
eclipse/plugins/org.eclipse.sdk/plugin_customization.ini for an example
of how the Eclipse SDK configures its default preferences using this
method. The preference for autobuild is (from
ResourcesPlugin.PREF_AUTO_BUILDING):
org.eclipse.core.resources/description.autobuilding=true
--
Matt Dickie wrote:
> Hi Alex,
>
> Our customers will not be existing Eclipse users adding a new plugin or
> two. Our product is an new Eclipse-based IDE for a specialist language,
> replacing our old IDE. Eventually we will want to hide the fact that our
> product is build on top of Eclipse, much like Rational's Eclipse based
> UML tools do. I very much doubt if our customers will have other types
> of project in their workspace. Nevertheless, I agree that this is not nice.
>
> Our existing users will not be used to Eclipse, and will be looking for
> a build button. This only appears when auto-building is off. We don't
> want to have to tell our customers first to install our product and then
> to turn off auto building so that they can use it properly. I suppose I
> could just add my own build actions to the toolbar and context menu
> pretty easily...
>
> Matt.
>
>
> Alex Blewitt wrote:
>
>> If I bought a product that disabled auto-building globally, I'd
>> uninstall it, demand my money back, and write a scathing review on my
>> blog.
>>
>> Seriously, if your products can't handle auto-build, then just ignore
>> the auto build events, but don't prevent others from using it.
>>
>> Alex.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds