Hi,
Is there a reason why bundle:watch won’t work in the following scenario?
- Install and start SNAPSHOT bundle from maven.
- execute bundle:'watch —start '
- rebuild bundle with ‘clean install’
Expect bundle to be updated, but nothing happens… (Executing 'update '
does load the new version….)
Hi Erwin,
I guess your SNAPSHOT is on a remote repo. For now, watch just works
with SNAPSHOT updated in your local .m2/repository.
Regards
JB
On 11/23/2016 12:13 AM, Erwin Hogeweg wrote:
Hi,
Is there a reason why bundle:watch won’t work in the following scenario?
- Install and start SNAPSH
JB,
> I guess your SNAPSHOT is on a remote repo.
Nope, local.
> For now, watch just works with SNAPSHOT updated in your local .m2/repository.
That's where it is.
Erwin
>
> Regards
> JB
>
>> On 11/23/2016 12:13 AM, Erwin Hogeweg wrote:
>> Hi,
>>
>> Is there a reason why bundle:watch won’t
Hmmm, and I guess that it contains SNAPSHOT in the version, right ?
Let me try to reproduce ?
Regards
JB
On 11/23/2016 10:11 AM, Erwin Hogeweg wrote:
JB,
I guess your SNAPSHOT is on a remote repo.
Nope, local.
For now, watch just works with SNAPSHOT updated in your local .m2/repository.
Never tried this style.
Do you have any issues when just using bundle:watch *
Christian
On 23.11.2016 00:13, Erwin Hogeweg wrote:
Hi,
Is there a reason why bundle:watch won’t work in the following scenario?
- Install and start SNAPSHOT bundle from maven.
- execute bundle:'watch —start '
- re
By the way, the watcher is based on the mvn regex by default.
I have to check the bundle ID matching (I remember I did something
around that while ago).
Regards
JB
On 11/23/2016 10:11 AM, Erwin Hogeweg wrote:
JB,
I guess your SNAPSHOT is on a remote repo.
Nope, local.
For now, watch ju
Christian,
> Do you have any issues when just using bundle:watch *
Yes, same issue.
Erwin
>
> Christian
>
> On 23.11.2016 00:13, Erwin Hogeweg wrote:
>> Hi,
>>
>> Is there a reason why bundle:watch won’t work in the following scenario?
>>
>> - Install and start SNAPSHOT bundle from maven.
>>
JB,
> Hmmm, and I guess that it contains SNAPSHOT in the version, right ?
Correct.
bundle:watch *
Watched URLs/IDs:
*
karaf@root>bundle:watch --start
Starting watch
Watched URLs/IDs:
*
karaf@root>la
START LEVEL 100 , List Threshold: 0
ID | State| Lvl | Version | Name
JB,
> I guess your SNAPSHOT is on a remote repo. For now, watch just works with
> SNAPSHOT updated in your local .m2/repository.
Are you sure that only SNAPSHOT bundles are watched?
If I look in the BundleWatchImpl class I see this:
...
for (String bundleURL : watchURLs) {
// Transform into r
P….
Of course this was a USER error.
The bundle filename contained SNAPSHOT, but I had the bundle installed without
version, just group and artifact ID… so is wasn’t picked up in the
BundleWatcherImpl.isMavenSnapshotUrl() call.
After installing it with the /1.0.0-SNAPSHOT included, the wa
Hi Erwin,
good you found your problem ;)
Thanks for the update.
Regards
JB
On 11/24/2016 04:10 PM, Erwin Hogeweg wrote:
P….
Of course this was a USER error.
The bundle filename contained SNAPSHOT, but I had the bundle installed
without version, just group and artifact ID… so is wasn’t p
11 matches
Mail list logo