doru1004 commented 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:
us...@infra.apache.org


Reply via email to