[
https://issues.apache.org/jira/browse/KARAF-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839304#comment-17839304
]
michael elbaz edited comment on KARAF-7826 at 4/21/24 12:56 AM:
----------------------------------------------------------------
Even more weird i finally fond that template in the generated jar bundle was
without this loop variable i use the maven plugin (related to ? maybe)
was (Author: michael992):
Even more weird i finally fond that template in the generated jar bundle was
without this loop variable i use the maven plugin
> Karaf + Freemarker
> ------------------
>
> Key: KARAF-7826
> URL: https://issues.apache.org/jira/browse/KARAF-7826
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.4.5
> Reporter: michael elbaz
> Priority: Major
>
> Hello i would like to report a bug using Karaf + camel-freemarker (3.22) when
> i try to use loop + counter
> ([https://freemarker.apache.org/docs/ref_builtins_loop_var.html#ref_builtin_counter)]
> {code:java}
> <#list ['a', 'b', 'c'] as i>
> ${i?counter}: ${i}
> </#list>{code}
> karaf output
> {code:java}
> : a
> : b
> : c{code}
> The loop counter are not printed is only happen inside Karaf but work on just
> running camel or using unit test
--
This message was sent by Atlassian Jira
(v8.20.10#820010)