Grails
  1. Grails
  2. GRAILS-8212

install-plugin command breaks when installing a zip packed plugin without directory prefix

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-RC1
    • Fix Version/s: 2.0-RC2
    • Component/s: Plugins
    • Labels:
      None

      Description

      When I use something like

      grails install-plugin some-plugin-0.0.1.zip

      Grails cli reports

      Error installing plugin: Cannot get property 'canonicalPath' on null object (Use --stacktrace to see the full trace) 

      Workaround is to put "./" before zip name as in

      grails install-plugin ./some-plugin-0.0.1.zip 

      Forum thread: http://grails.1312388.n4.nabble.com/FAO-Plugin-Authors-required-changes-for-Grails-2-0-td3927936.html

        Activity

        Hide
        Bobby Warner added a comment -

        For me, RC1 successfully installs a ZIP file plugin, but then can't find the plugin when running "grails compile" and throws an error.

        Show
        Bobby Warner added a comment - For me, RC1 successfully installs a ZIP file plugin, but then can't find the plugin when running "grails compile" and throws an error.
        Hide
        Damir Murat added a comment -

        I forgot to mention, I'm using Windows 7, which may be important for this issue, I guess.

        Show
        Damir Murat added a comment - I forgot to mention, I'm using Windows 7, which may be important for this issue, I guess.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Damir Murat
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development