Grails
  1. Grails
  2. GRAILS-7045

Inline plugin loading broken on Windows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: 1.3.7, 1.4-M1
    • Labels:
      None
    • Environment:
      Windows Vista, Windows 7

      Description

      After upgrading to 1.3.6 Grails build process cannot locate inline plugins on Windows. Colleges using Linux have no problems but we have confirmed this on multiple Windows machines:

      Cannot add location [D:\Users\Adi\Documents\NetBeansProjects\SmartSecurity\smart-security-server] as an inline plugin dependencies due to I/O error: The filename, directory name, or volume label syntax is incorrect
      

        Activity

        Hide
        Adam Sandor added a comment -

        One more detail: we were upgrading from 1.3.5 - everything was ok there

        Show
        Adam Sandor added a comment - One more detail: we were upgrading from 1.3.5 - everything was ok there
        Hide
        Malte Huebner added a comment - - edited

        Yes, I can confirm this behaviour. I think I have to go back to 1.3.5.

        Cannot add location [D:/projekte/INNOBOX_Store/trunk/store-core] as an inline plugin dependencies due to I/O error
        
        Show
        Malte Huebner added a comment - - edited Yes, I can confirm this behaviour. I think I have to go back to 1.3.5. Cannot add location [D:/projekte/INNOBOX_Store/trunk/store-core] as an inline plugin dependencies due to I/O error
        Hide
        Malte Huebner added a comment - - edited

        Workaround:
        If your inline plugins and your project are located on the same virtual drive you can use absolute linux style paths in your BuildConfig.groovy:

        change
        grails.plugin.location.'store-core' = 'D:/projekte/INNOBOX_Store/trunk/store-core'
        
        to
        grails.plugin.location.'store-core' = '/projekte/INNOBOX_Store/trunk/store-core'
        
        Show
        Malte Huebner added a comment - - edited Workaround: If your inline plugins and your project are located on the same virtual drive you can use absolute linux style paths in your BuildConfig.groovy: change grails.plugin.location.'store-core' = 'D:/projekte/INNOBOX_Store/trunk/store-core' to grails.plugin.location.'store-core' = '/projekte/INNOBOX_Store/trunk/store-core'
        Hide
        Peter Ledbrook added a comment -

        I've tracked down the problem but need to work out how to fix and test for regressions.

        Show
        Peter Ledbrook added a comment - I've tracked down the problem but need to work out how to fix and test for regressions.
        Hide
        Malte Huebner added a comment -

        Peter, please have a look at this one: http://jira.codehaus.org/browse/GRAILS-7103
        Perhaps these two issues can be fixed in one go. It would be great if they could be included in 1.3.7.

        Show
        Malte Huebner added a comment - Peter, please have a look at this one: http://jira.codehaus.org/browse/GRAILS-7103 Perhaps these two issues can be fixed in one go. It would be great if they could be included in 1.3.7.
        Hide
        Peter Ledbrook added a comment -

        Fixed in the 1.3.x and master branches.

        Show
        Peter Ledbrook added a comment - Fixed in the 1.3.x and master branches.
        Hide
        Malte Huebner added a comment -

        Thank you!

        Show
        Malte Huebner added a comment - Thank you!

          People

          • Assignee:
            Peter Ledbrook
            Reporter:
            Adam Sandor
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development