Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-907

Grails plugin fails to install on windows

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.0 M4, 3.0
    • None
    • None
    • None

      more details here: http://n4.nabble.com/Getting-a-Plugin-Listing-on-grails-org-td1577549.html#a1577549

      Moving the plugin from https://svn... to http://plugins.grails.org ... could be a good way to work around this problem.

            [CLOV-907] Grails plugin fails to install on windows

            Kaj Hejer added a comment -

            Thanks for answering! It turned out that this was my mistake. I had some problems with my cacerts file. After fixing those problems, installing plugin works just perfect

            Kaj Hejer added a comment - Thanks for answering! It turned out that this was my mistake. I had some problems with my cacerts file. After fixing those problems, installing plugin works just perfect

            Nick added a comment -

            Hi Kaj,

            Thanks for mentioning this here.
            The current workaround would be to define the non-ssl location of the plugin like so:

            grails install-plugin http://plugins.grails.org/grails-clover/trunk/grails-clover-3.0.0.zip
            

            Could you please also mail the grails user mailing list with this problem and see if there are any better suggestions for having the problem fixed?
            AFAICT, this is a grails specific problem, and not necessarily a Clover plugin problem? I may however me be wrong here.

            Cheers,
            Nick

            Nick added a comment - Hi Kaj, Thanks for mentioning this here. The current workaround would be to define the non-ssl location of the plugin like so: grails install-plugin http: //plugins.grails.org/grails-clover/trunk/grails-clover-3.0.0.zip Could you please also mail the grails user mailing list with this problem and see if there are any better suggestions for having the problem fixed? AFAICT, this is a grails specific problem, and not necessarily a Clover plugin problem? I may however me be wrong here. Cheers, Nick

            Kaj Hejer added a comment -

            I see a similar issue when installing webflow on MacOS X 10.6.3 with jdv 1.6:

            $ grails install-plugin webflow
            Welcome to Grails 1.2.2 - http://grails.org/
            Licensed under Apache Standard License 2.0
            Grails home is set to: /Users/kajh/bin/grails

            Base Directory: /Users/kajh/src/medark/trunk
            Resolving dependencies...
            Dependencies resolved in 1091ms.
            Running script /Users/kajh/bin/grails/scripts/InstallPlugin.groovy
            Environment set to development
            Reading remote plugin list ...
            [get] Getting: https://svn.codehaus.org/grails/trunk/grails-plugins/grails-webflow/tags/RELEASE_1_3_0_RC1/grails-webflow-1.3.0.RC1.zip
            [get] To: /Users/kajh/.grails/1.2.2/plugins/grails-webflow-1.3.0.RC1.zip
            [get] Error getting https://svn.codehaus.org/grails/trunk/grails-plugins/grails-webflow/tags/RELEASE_1_3_0_RC1/grails-webflow-1.3.0.RC1.zip to /Users/kajh/.grails/1.2.2/plugins/grails-webflow-1.3.0.RC1.zip
            : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
            at org.apache.tools.ant.taskdefs.Get.execute(Get.java:82)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)

            Kaj Hejer added a comment - I see a similar issue when installing webflow on MacOS X 10.6.3 with jdv 1.6: $ grails install-plugin webflow Welcome to Grails 1.2.2 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /Users/kajh/bin/grails Base Directory: /Users/kajh/src/medark/trunk Resolving dependencies... Dependencies resolved in 1091ms. Running script /Users/kajh/bin/grails/scripts/InstallPlugin.groovy Environment set to development Reading remote plugin list ... [get] Getting: https://svn.codehaus.org/grails/trunk/grails-plugins/grails-webflow/tags/RELEASE_1_3_0_RC1/grails-webflow-1.3.0.RC1.zip [get] To: /Users/kajh/.grails/1.2.2/plugins/grails-webflow-1.3.0.RC1.zip [get] Error getting https://svn.codehaus.org/grails/trunk/grails-plugins/grails-webflow/tags/RELEASE_1_3_0_RC1/grails-webflow-1.3.0.RC1.zip to /Users/kajh/.grails/1.2.2/plugins/grails-webflow-1.3.0.RC1.zip : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at org.apache.tools.ant.taskdefs.Get.execute(Get.java:82) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348)

            Nick added a comment -

            I couldn't reproduce this problem on windows Vista, running JDK 1.6 .

            Please re-open if your mileage varies.

            In case of SSL problems, the clover plugin is also available from: http://plugins.grails.org/grails-clover/tags/
            Therefore, the following will install version 0.2 of the plugin:

            grails install-plugin http://plugins.grails.org/grails-clover/tags/RELEASE_0_2/grails-clover-0.2.zip

            Nick added a comment - I couldn't reproduce this problem on windows Vista, running JDK 1.6 . Please re-open if your mileage varies. In case of SSL problems, the clover plugin is also available from: http://plugins.grails.org/grails-clover/tags/ Therefore, the following will install version 0.2 of the plugin: grails install-plugin http://plugins.grails.org/grails-clover/tags/RELEASE_0_2/grails-clover-0.2.zip

              npellow Nick
              npellow Nick
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified