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

Build fails when project path contains whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • cordova-cli
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: