Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Negating/Evaluating boolean variable
Negating/Evaluating boolean variable [message #1709348] Sun, 27 September 2015 10:28 Go to next message
Johannes Dorn is currently offline Johannes DornFriend
Messages: 61
Registered: June 2013
Member
I have a boolean variable that the user can set via a checkbox during the setup.

For using its value later on, i would like to negate that value.
So, if the value is true, i want to write "false" in an Eclipse Ini task.

Is this possible somehow?

Alternatively, i could execute two different tasks with conditional logic evaluating the variable, but i am pretty sure this is not supported.

The third option would of course be to rephrase the label of the variable so that the meaning is negated already, but i would prefer one of the other options.
Re: Negating/Evaluating boolean variable [message #1710093 is a reply to message #1709348] Sun, 04 October 2015 07:48 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Johannes,

Comments below.

On 27/09/2015 12:28 PM, Johannes Dorn wrote:
> I have a boolean variable that the user can set via a checkbox during
> the setup.
>
> For using its value later on, i would like to negate that value.
> So, if the value is true, i want to write "false" in an Eclipse Ini task.
>
> Is this possible somehow?
Not yet, but I suppose we could define/implement a "not" filter that
would do this.
>
> Alternatively, i could execute two different tasks with conditional
> logic evaluating the variable, but i am pretty sure this is not
> supported.
No conditionality is supported at this time.
>
> The third option would of course be to rephrase the label of the
> variable so that the meaning is negated already, but i would prefer
> one of the other options.
Yes, that could be awkward. A new filter should be trivial to support...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Import custom .setup file into default eclipse-installer
Next Topic:Specify architecture in product setup file
Goto Forum:
  


Current Time: Fri Dec 27 01:32:38 GMT 2024

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

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

Back to the top