So it is looking in the local .m2/repository path or elsewhere?  If the
former, then I suppose this should be sufficient as the built JAR will be
uploaded to .m2/repository/path/to/bundle.jar.


jbonofre wrote
> Hi,
> 
> bundle:watch works only for mvn URL containing SNAPSHOT by default.
> 
> Regards
> JB
> 
> On 11/20/2015 06:32 AM, asookazian2 wrote:
>> I am currently using the following cmd to update an existing bundle:
>>
>> update 384 file:/path/to/bundleFoo.jar
>> refresh 384
>>
>> According to this doc:
>> https://karaf.apache.org/manual/latest/commands/bundle-watch.html
>>
>> The param for the bundle:watch cmd is URLs (bundle IDs or URLs)
>>
>> I'd like to have a specific file location/JAR be auto-reloaded and
>> refreshed
>> whenever the JAR is rebuilt by 'maven clean install'.  What is the syntax
>> to
>> achieve same result as update/refresh cmds above with bundle:watch? 
>> Also,
>> how often does bundle:watch poll for changes to the file?
>>
>> thx.
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/using-bundle-watch-for-bundle-refreshes-and-updates-tp4043630.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
> 
> -- 
> Jean-Baptiste Onofré

> jbonofre@

> http://blog.nanthrax.net
> Talend - http://www.talend.com





--
View this message in context: 
http://karaf.922171.n3.nabble.com/using-bundle-watch-for-bundle-refreshes-and-updates-tp4043630p4043645.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to