>>>>> Steinar Bang <[email protected]>:

>>>>> Steinar Bang <[email protected]>:
> [snip!]

>> But the conclusion is that I'm pretty sure neither bundle:watch nor
>> bundle:update works for watching a remote repository, or update a
>> bundle installed from a remote repository.

> (But I will be very happy to be proved wrong...)

The bundle:watch command doesn't work for watching snapshots being
deployed to a remote repository.

However, the bundle:update command works just fine for updating a
snapshot installed from a remote maven repository.

Pushing changes to master, triggered a new travis build that deployed to
the maven repository at https://maven.bang.priv.no/repository/

I did "ssh -p 8101 karaf@localhost" to log into the karaf console, and
then gave the following commands to update all of my snapshot bundles:
 bundle:update no.priv.bang.ukelonn.api
 bundle:update no.priv.bang.ukelonn.db.liquibase
 bundle:update no.priv.bang.ukelonn.db.postgresql
 bundle:update no.priv.bang.ukelonn

After this I verified that the GUI of the webapp showed the new changes
I wanted deployed.

It isn't "bundle:watch *", but it is a lot simpler than doing git pull
and "mvn clean install" as user karaf (I did it by creating shell
scripts I started from the karaf console).

(After looking at the code, I have no idea why "bundle:update" works,
but I can see that it does...)

Reply via email to