Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-904

Attempting to deploy a plugin that cannot be found does not cause Forrest to halt

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.8
    • None
    • Normal

    Description

      If we add a required plugin and provide a local directory to retrieve the plugin from, but fail to provide a plugin descriptor for that plugin Forrest cannot find, and therefore cannot install the plugin.

      Having failed to deploy a required plugin Forrest should fail with an error, but it does not it continues to run. Even worse the output log gives no indication that a plugin was not correctly configured. It seems that our recent work on deploying plugins from local sources has broken the error checking for plugins.

      Here is the relevant section from a problem run (this plugin is on in a local directory, but does not appear in any plugins.xml descriptor for that directory):

            --------------------------------------------------------------
            Installing plugin: org.saafe.forrest.plugin.input.osCommerce
            --------------------------------------------------------------


      check-plugin:
      org.saafe.forrest.plugin.input.osCommerce is not available in the build dir. Try
      ing to fetch it...

      init-props:

      echo-settings:

      init-proxy:

      fetch-plugins-descriptors:

      fetch-plugin:
      Trying to find the description of org.saafe.forrest.plugin.input.osCommerce in t
      he different descriptor files
      Using the descriptor file D:\projects\forrestPlugins\org.saafe.forrest.plugin.in
      put.osCommerce\build\tmp\plugins-1.xml...
      Processing D:\projects\forrestPlugins\org.saafe.forrest.plugin.input.osCommerce\
      build\tmp\plugins-1.xml to D:\projects\forrestPlugins\org.saafe.forrest.plugin.i
      nput.osCommerce\build\tmp\pluginlist2fetchbuild.xml
      Loading stylesheet D:\openSource\forrest\main\var\pluginlist2fetch.xsl

      findPlugin:
      Using the descriptor file D:\projects\forrestPlugins\org.saafe.forrest.plugin.in
      put.osCommerce\build\tmp\plugins-2.xml...
      Processing D:\projects\forrestPlugins\org.saafe.forrest.plugin.input.osCommerce\
      build\tmp\plugins-2.xml to D:\projects\forrestPlugins\org.saafe.forrest.plugin.i
      nput.osCommerce\build\tmp\pluginlist2fetchbuild.xml
      Loading stylesheet D:\openSource\forrest\main\var\pluginlist2fetch.xsl

      findPlugin:

      unpack-plugin:

      install-plugin:

      configure-plugin:
      No locationmap provided for plugin org.saafe.forrest.plugin.input.osCommerce

      Attachments

        Activity

          rgardler Ross Gardler added a comment -
          Thanks Cyriaque, that was on my todo list for tonight.
          rgardler Ross Gardler added a comment - Thanks Cyriaque, that was on my todo list for tonight.

          People

            duc Cyriaque Dupoirieux
            rgardler Ross Gardler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: