nicolaferraro edited a comment on issue #1400: Add some sugar for additional 
sources
URL: https://github.com/apache/camel-k/pull/1400#issuecomment-615504396
 
 
   Mmh... save is not additive, while execution is:
   
   ```
   kamel run examples/simple.groovy --source examples/Master.java  --save
   ```
   
   Now in config you have:
   
   ```
   kamel:
     run:
       integration:
         simple:
           sources:
           - examples/Master.java
   
   ```
   
   Now you want to add a dependency:
   
   ```
   kamel run examples/simple.groovy -d camel-log  --save
   ```
   
   But what you have now in config is:
   ```
   kamel:
     run:
       integration:
         simple:
           dependencies:
           - camel-log
   ```
   
   I.e. the master integration is deleted. It's a choice, that is different 
from the current behavior.
   
   But the problem is that now the integration contains both sources (simple 
and Master).
   And if you run again `kamel run examples/simple.groovy` the Master source 
disappears.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to