You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/01/20 20:15:32 UTC

[GitHub] [camel-k] doru1004 edited a comment on pull request #1816: Add option to save transitive dependencies into custom location

doru1004 edited a comment on pull request #1816:
URL: https://github.com/apache/camel-k/pull/1816#issuecomment-763904913


   I am in favor of kamel local build. I agree that we can limit it to output just the dependencies, or just the properties even. Ultimately when it is run in full, `kamel local build` will have to create a persistent set of files that can then be handed over to kamel local run. This is what I meant by creating a directory structure.
   
   ```
   kamel local build --output-directory <dir-name> route1.java route2.yaml
   ```
   
   This should output something like:
   ```
   <dir-name>/dependencies : containing all the jars
   <dir-name>/properties: containing all the property files
   <dir-name>/routes: containing all the route files
   ```
   
   We can then run this locally by just invoking:
   ```
   kamel local run --integration-dir <dir-name>
   ```
   This command will use all the files in the directory structure above to run the integration.


----------------------------------------------------------------
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:
users@infra.apache.org