Skip to main content



      Home
Home » Eclipse Projects » Oomph » Oomph enables the "Build Automatically" preference when it finishes the installation
Oomph enables the "Build Automatically" preference when it finishes the installation [message #1706164] Mon, 24 August 2015 06:10 Go to next message
Eclipse UserFriend
I have the model configured with the following recorded preference:

<?xml version="1.0" encoding="UTF-8"?>
<setup:PreferenceTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    key="/instance/org.eclipse.core.resources/description.autobuilding"
    value="false"/>


During the installation and when it's already performing the final build, the "Build automatically" preference is disabled. But after the installation finishes, the preference is enabled automatically, ignoring the recorded preference.

Is this the expected behavior of Oomph or might it be some wrong configuration in my model?
Re: Oomph enables the &quot;Build Automatically&quot; preference when it finishes the instal [message #1706169 is a reply to message #1706164] Mon, 24 August 2015 07:15 Go to previous messageGo to next message
Eclipse UserFriend
Silvestre,

No, it's just not something we ever took into consideration. We
remember the state up front, and restore that initial state, regardless
of what preference tasks might have done to change it. We probably need
special case handling for this particular preferences. It would likely
also be bad if a preference task enabled it during the task execution
because then builds would kick in before everything is setup and ready
for a build; that's the whole reason for disabling it in the first place.

Please open a bugzilla and we'll see how best to handle this...


On 24/08/2015 12:10 PM, Silvestre Martins wrote:
> I have the model configured with the following recorded preference:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:PreferenceTask
> xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> key="/instance/org.eclipse.core.resources/description.autobuilding"
> value="false"/>
>
>
> During the installation and when it's already performing the final
> build, the "Build automatically" preference is disabled. But after the
> installation finishes, the preference is enabled automatically,
> ignoring the recorded preference.
>
> Is this the expected behavior of Oomph or might it be some wrong
> configuration in my model?
>
Re: Oomph enables the &quot;Build Automatically&quot; preference when it finishes the instal [message #1706182 is a reply to message #1706169] Mon, 24 August 2015 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ed,
ok, I see.
I though this was already handled in a special way, since IIRC this preference (at least in the past) was one of those that was suggested to be configured when we're running Oomph in simple mode (together with Enconding, etc.).


Re: Oomph enables the &quot;Build Automatically&quot; preference when it finishes the instal [message #1706183 is a reply to message #1706182] Mon, 24 August 2015 09:28 Go to previous message
Eclipse UserFriend
Bugzilla created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475705
Previous Topic:Import external Library
Next Topic:Oomph Error when importing projects into workspace
Goto Forum:
  


Current Time: Tue Jul 08 16:22:04 EDT 2025

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

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

Back to the top