Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Escape ${} in "Resource Creation"
Escape ${} in "Resource Creation" [message #1767794] Tue, 11 July 2017 07:41 Go to next message
Boris Brodski is currently offline Boris BrodskiFriend
Messages: 112
Registered: July 2009
Senior Member
Hi,

I would like to create a file on installation. For this I'm using "Resource Creation" with Target URL and Content.

Now my content contains ${...} variables, that should stay unexpanded.

So how can I qoute "${...}" within the content of the "Resource Creation"?

Thank you!
Re: Escape ${} in "Resource Creation" [message #1767852 is a reply to message #1767794] Tue, 11 July 2017 15:33 Go to previous message
Abel Hegedus is currently offline Abel HegedusFriend
Messages: 197
Registered: September 2015
Senior Member
Based on the Setup Authoring wiki https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Declaring_and_Using_Variables :
Quote:
To prevent a variable reference from being expanded (e.g. you actually want to have the value '${var}' and not the value of "var"), you need to escape the variable syntax with an extra double dollar character. So "$${var}" will result in "${var}".
Previous Topic:Remove eclipse from the end of the installation directory
Next Topic:Ordering of dynamic working sets
Goto Forum:
  


Current Time: Fri Apr 19 01:46:46 GMT 2024

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

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

Back to the top