[
https://issues.apache.org/jira/browse/BROOKLYN-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978880#comment-15978880
]
Geoff Macartney commented on BROOKLYN-485:
------------------------------------------
Just to play Devil's advocate - should it be changed to _support_ single
quotes, or to detect them and complain?
> Support single-quoted DSL function arguments
> --------------------------------------------
>
> Key: BROOKLYN-485
> URL: https://issues.apache.org/jira/browse/BROOKLYN-485
> Project: Brooklyn
> Issue Type: Improvement
> Reporter: Sam Corbett
> Priority: Minor
>
> The DSL should support function arguments in single quotes.
> This blueprint fails to deploy:
> {code}
> location: localhost
> services:
> - type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
> brooklyn.config:
> lc: true
> launch.command: $brooklyn:config('lc')
> checkRunning.command: true
> {code}
> The error is "Error evaluating node '$brooklyn:config('lc')': Expected a
> function name at position 17".
> {{DslParser}} and {{StringEscapes}} (the latter called via {{QuotedString}})
> should be changed to support single-quoted values.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)