Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:10 Go to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
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 11:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
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?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
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 13:17 Go to previous messageGo to next message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
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 13:28 Go to previous message
Silvestre Martins is currently offline Silvestre MartinsFriend
Messages: 84
Registered: July 2009
Member
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: Sun Dec 08 06:37:30 GMT 2024

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

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

Back to the top