Re: escape $ in java_opts in cf manifest.yaml


Sridhar Vennela
 

Hi Amit,

Try this.. Let me know.

2 -Dkey=$value -Dkey=\\\\\$value

https://cf-docs.jp-east-1.paas.cloud.global.fujitsu.com/en/manual/faq/faq/topics/c-faq-33.html

Sridhar

On Fri, Nov 25, 2016 at 11:25 PM, Amit k <amitvickysss(a)gmail.com> wrote:

Hi,

I am unable to find a proper way to escape the $ sign in the cf manifest
yaml file.
I have tried \\$ and \$ but it doesnt work, when java application reads it.


What should be proper way to escape the $ sign so that my java application
gets it with $ in the value.

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.