ppalaga opened a new issue #868: Add templates config option to the Mustache 
extension
URL: https://github.com/apache/camel-quarkus/issues/868
 
 
   The mustache extension requires that the application developers use 
`quarkus.native.additional-build-args 
=-H:ResourceConfigurationFiles=resources-config.json` 
https://github.com/apache/camel-quarkus/pull/866/files#diff-8dd2b01ede99ee34a76c5e27361d4825R17
 to add the templates to the native image.
   
   This solution has several drawbacks: 
   
   * It is not ergonomic
   * It is not consistent with how we did similar things in other extensions so 
far and 
   * It breaks the portability of the test to `quarkus-platform` - one would 
have to copy the json file manually.
   
   There are two ways this handled in other extensions: 
   
   1. Include/exclude patterns like in 
https://github.com/apache/camel-quarkus/blob/master/extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java#L75-L100
   
   2. List of files or directories like in 
https://github.com/apache/camel-quarkus/pull/864/commits/161ddb1e6d530aaf3283d445761d30ff0c8f1cb7#diff-56b018479519fc93fac85a776b5c285aR38

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to