Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Evaluation of dynamic filters
Evaluation of dynamic filters [message #1841780] Fri, 28 May 2021 12:45 Go to next message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
According to https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Conditional_Tasks filters can use variables.

Trying to extend on the keystore setup I wanted to make this part optional.
That's done by introducing a BOOLEAN variable "useroption.keystore.configure" and filteers on the respective CompoundTask holding the confguration variables (keystore location/password) and the CompoundTask holding the EclipseIni tasks.
Means if the Keystore configuration is not activated there will be no corresponf
After having had help solving some issues (in https://www.eclipse.org/forums/index.php/t/1108073/) in facing one quirk.

The setup is Win10 + Oomph 1.21.0 Build 5122 + " -vmargs -Duser.home=Z:\sandbox\USER-HOME -Doomph.setup.user.home.redirect=true" and "USER-HOME" is deleted after stopping the installer.
(the arguments are taken from https://www.eclipse.org/forums/index.php/t/1098807/)

Steps to reproduce:

  1. Clean sandbox directory
  2. Load setup file
  3. Select "Configure keystore" option
  4. Options for keystore appear (and would disappear on unselect)
  5. Next
  6. eclipse.ini settings do not appear on confirmation screen
  7. restart eclipse installer (without cleaning sandbox)
  8. Now the eclipse.ini settings appear (and can be enabled/disabled dynamically via the "Configure keystore" option)


Wondering why a restart of the eclipse installer is needed for the correct (or at least expected) behaviour and if there is a way I can fix my setup file.

Variables screens:
index.php/fa/40556/0/
index.php/fa/40557/0/

Confirmation screen (configuration selected without restart):
index.php/fa/40558/0/

Confirmation screen (configuration with restart):
index.php/fa/40559/0/

[Updated on: Fri, 28 May 2021 12:47]

Report message to a moderator

Re: Evaluation of dynamic filters [message #1841783 is a reply to message #1841780] Fri, 28 May 2021 14:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
It just works for me, both in the debug launch from my Oomph development workspace and launching from the command line with the 2021-06 M3 installer:

https://www.eclipse.org/downloads/packages/release/2021-06/m3

I see it creates the fake user home folder and that the task are present on not depending on the check box both initially and the next time...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Evaluation of dynamic filters [message #1841830 is a reply to message #1841783] Mon, 31 May 2021 13:31 Go to previous message
Victor Toni is currently offline Victor ToniFriend
Messages: 20
Registered: July 2009
Junior Member
Deleting and freshly installing the Eclipse Installer seems to have solved the issue.
Previously I was using the same version but that one has been continously updated from older version.
Sorry I missed to check that in advance with a clean install..

Thanks for helping out, Ed.
Previous Topic:VariableTask / EclipseIniTask gets omitted
Next Topic:Error while setup
Goto Forum:
  


Current Time: Fri Mar 29 12:41:50 GMT 2024

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

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

Back to the top