Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2074

easy way to auto-reload addons being developed

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.6.0.Final
    • None
    • Addon Development
    • None

    Description

      So Apache Karaf has a nice command "dev:watch *"
      http://karaf.apache.org/manual/latest-2.x/commands/dev-watch.html

      which looks at all the currently installed bundles; figures out the mvn coords and where they are in the ~/.m2/repository; then any which are SNAPSHOT versions it watches them; if they get rebuilt it auto-reloads them.

      It'd be great to have the same kinda thing in Forge for when you're working on an addon; then every time you do a mvn build, forge would reload it on the fly so you could try it out for real in a forge shell.

      Right now it seems pretty slow to install newly built addons; anything to make the development a bit more RAD would be really cool.

      e.g. a new command, something like...

      addon-watch *
      

      which uses the currently loaded jars and applies the wildcard to filter the SNAPSHOT builds to watch in ~/.m2/repository to detect if a build is done; then it'd invoke the addon-install command with the updated jar

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            jastrachan_jira James Strachan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: