Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Using Variables in project setup files
Using Variables in project setup files [message #1817105] Fri, 15 November 2019 14:48 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

I would like to define and use custom variables as explaining in https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Declaring_and_Using_Variables

Declaration is easy, right mouse click, New Child -> Variable

<setupTask
xsi:type="setup:VariableTask"
id="test"
name="test"
label="Testing">
<description>test</description>
</setupTask>

But if I DnD the setup file to the Oomph installer second page, I do not see this new variable. See screenshot.

What do I do wrong?

Best regards, Lars
Re: Using Variables in project setup files [message #1817124 is a reply to message #1817105] Fri, 15 November 2019 17:38 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Without the bigger context I would say you do nothing wrong. You should just not expect a variable that is not used anywhere to be prompted by the installer. Use it in some other task's attribute(s) and you should see it on the Variables page.

Re: Using Variables in project setup files [message #1817126 is a reply to message #1817124] Fri, 15 November 2019 17:51 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

> Use it in some other task's attribute(s) and you should see it on the Variables page.

Sounds reasonable. :-) Will try this next week, thanks.
Previous Topic:Using the Git clone location to build working sets
Next Topic:Rerunning setup task does not recreate the working sets
Goto Forum:
  


Current Time: Thu Apr 25 08:04:24 GMT 2024

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

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

Back to the top