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: 107
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: 189
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: Wed Nov 14 17:34:39 GMT 2018

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

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

Back to the top