Community
Participate
Working Groups
BuildId: 3.7M4 In debugging my program, I wanted to pass an argument to my program with a value that looks like a variable. That is: -Dlog.location=${user.home}/logs The debugger refused to launch with an error: "reference to underfined variable user.home". Unfortunately I can't seem to find anything in the documentation to suggest a way to escape the $ to prevent the substring from being evaluated. None of the obvious escapes worked: \${user.home} $${user.home} '${user.home}' ${dollar}{user.home} (I wanted to test some code to ensure that *it* did the variable substitution.)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Bug is still valid.
I just encountered it. It is a very annoying bug. I found a way to make it work: -Dlog.location=$'{user.home}'/logs