Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5036

Build fails when project path contains whitespace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      Ubuntu 12.04
      Cordova 3.1.0-0.1.0

      Description

      If project's path contains white space, build action fails with

      [Error: An error occurred while building the android project. Buildfile: /home/vriha/temp/hello does not exist!
      Build failed
      ERROR: Failed to clean android project.
      Buildfile: /home/vriha/temp/hello does not exist!
      Build failed
      
      ]
      

      To reproduce, please try:

      $ pwd
      /home/vriha/temp
      $ cordova create 'hello ahoj' com.example.hello HelloWorld
      $ cd  hello\ ahoj/
      $ cordova platform add android
      $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git
      $ cordova build
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lorin.beer Lorin Beer
                Reporter:
                vriha Láďa Říha
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: