[
https://issues.apache.org/jira/browse/FELIX-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall updated FELIX-2433:
-----------------------------------
Fix Version/s: gogo-0.6.1
(was: gogo-0.8.0)
> [gogo] allow command expansion inside double quotes
> ---------------------------------------------------
>
> Key: FELIX-2433
> URL: https://issues.apache.org/jira/browse/FELIX-2433
> Project: Felix
> Issue Type: Improvement
> Components: Gogo Runtime
> Affects Versions: gogo-0.6.0
> Reporter: Derek Baum
> Assignee: Derek Baum
> Priority: Minor
> Fix For: gogo-0.6.1
>
>
> currently, gogo does not allow command execution inside double quotes, so for
> example many operations must be done in multiple stages, first assigning the
> result to a variable, for later inclusion in a double quoted string:
> val = ($props get "framework-packages")
> packages = $val
> val = ($props get "jre-1.6")
> packages = "$packages, $val"
> val = ($props get "sun-packages")
> packages = "$packages, $val"
> The improvement suggested is to make "$(...)" expand to execution within
> string variable expansion:
> packages = "$($props get framework-packages), $($props get 'jre-1.6'),
> $($props get 'sun-packages')"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.