[ 
https://issues.apache.org/jira/browse/CAMEL-22383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016550#comment-18016550
 ] 

Cameron Fitzwater commented on CAMEL-22383:
-------------------------------------------

[~davsclaus] 

Right... and this makes sense when it comes to java dsl, as // is for java 
comment, but for yaml the comment syntax is #. So using #// in YAML seems 
redundant and very confusing.

 

If there is disagreement, then at a minimum, docs could be updated to include a 
mention of this syntax so that the next person trying this doesn't get stuck?

https://camel.apache.org/manual/camel-jbang.html#_editing_code_using_vscode_or_idea_editors

> fix jbang yaml dsl DEPS syntax
> ------------------------------
>
>                 Key: CAMEL-22383
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22383
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Cameron Fitzwater
>            Priority: Minor
>
> Currently, when using YAML DSL, the syntax that seems to work for including 
> dependencies is:
> #//DEPS camel-http
> #//DEPS camel-jsonpath
> #//DEPS camel:jq
>  
> This seems a quirky/hacky.
>  
> I didn't find any good documentation on this either, so I had to review the 
> code in order to determine what syntax to use (fortunately something did 
> work, so listing this as a minor issue).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to