Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6455

"fabric:watch" command doesn't work for Fuse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3-patches
    • Component/s: Fabric8 v1
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1.unzip jboss-fuse-full-6.2.1.redhat-084.zip.
      2.uncomment "#admin=admin, ..." from "Fuse_HOME/etc/users.properties"
      3.build and install a bundle which name like "*-SNAPSHOT.jar".
      3.start fuse, create fabric.
      4.create a profile and add the above bundle to it.
      5.add this profile to root container.
      6.run commands fabric:watch * and fabric:watch --list|grep <bundle_name> to make sure this bundle is in the list.
      7.change bundle code then run mvn clean install.
      8.fabric is able to pick up the newest bundle automatically.

      But for jboss-fuse-karaf-6.3.0.redhat-187, after 6th step above, WARN message as below will be printed continuously:

      xxxx-xx-xx 13:33:33,097 | INFO  | Thread-87        | ProfileWatcherImpl               | 296 - io.fabric8.fabric-agent-commands - 1.2.0.redhat-630187 | Ignoring file /home//jboss-fuse-6.3.0.redhat-187/data/repository/xxx-SNAPSHOT.jar as it does not exist
      

      And undated bundle will not be picked up, it seems fabric:watch * is finding bundle in wrong path.
      Please kindly let us know if it is a bug.

      Show
      1.unzip jboss-fuse-full-6.2.1.redhat-084.zip . 2.uncomment "#admin=admin, ..." from "Fuse_HOME/etc/users.properties" 3.build and install a bundle which name like "*-SNAPSHOT.jar". 3.start fuse, create fabric. 4.create a profile and add the above bundle to it. 5.add this profile to root container. 6.run commands fabric:watch * and fabric:watch --list|grep <bundle_name> to make sure this bundle is in the list. 7.change bundle code then run mvn clean install . 8.fabric is able to pick up the newest bundle automatically. But for jboss-fuse-karaf-6.3.0.redhat-187 , after 6th step above, WARN message as below will be printed continuously: xxxx-xx-xx 13:33:33,097 | INFO | Thread-87 | ProfileWatcherImpl | 296 - io.fabric8.fabric-agent-commands - 1.2.0.redhat-630187 | Ignoring file /home//jboss-fuse-6.3.0.redhat-187/data/repository/xxx-SNAPSHOT.jar as it does not exist And undated bundle will not be picked up, it seems fabric:watch * is finding bundle in wrong path. Please kindly let us know if it is a bug.

      Description

      In Fuse 6.2.1, fabric:watch command will let fabric pick the latest bundle automatically when bundle code re-install.
      However the same step doesn't work for Fuse 6.3.0, error shows:

      xxxx-xx-xx 13:33:33,097 | INFO  | Thread-87        | ProfileWatcherImpl               | 296 - io.fabric8.fabric-agent-commands - 1.2.0.redhat-630187 | Ignoring file /home//jboss-fuse-6.3.0.redhat-187/data/repository/xxx-SNAPSHOT.jar as it does not exist
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                grgrzybek Grzegorz Grzybek
                Reporter:
                zhangxu1324 xu zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: