brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <>
Subject [GitHub] brooklyn-server pull request #392: [WIP] $brooklyn:self().template("freemark...
Date Wed, 26 Oct 2016 10:47:00 GMT
Github user geomacy commented on a diff in the pull request:
    --- Diff: camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/parse/
    @@ -52,7 +53,29 @@ public Object next() {
             if (index >= expression.length())
                 throw new IllegalStateException("Unexpected end of expression to parse, looking
for content since position "+start);
    -        if (expression.charAt(index)=='"') {
    +        String multilineTemplatePrefix = "$brooklyn:template";
    --- End diff --
    Seems odd to have just `$brooklyn:template` and then the line break - can this not be
done something like
    $brooklyn:template: |
       my ${template} here

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message