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

cordova create temp something.default will break android badly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • None
    • None

    Description

      steps:

      cordova create temp something.default
      cd temp
      cordova platform add android
      cordova build

      expected results:
      if something.default is a bad name, then cordova create or the android platform should tell me that in a clear way

      actual results:
      BUILD FAILED
      adt-bundle-mac-x86_64-20130917/sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
      adt-bundle-mac-x86_64-20130917/sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.

      Total time: 17 seconds
      Error code 1 for command: ant with args: debug,-f,/private/tmp/temp/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen

      at ChildProcess.<anonymous> (cordova-cli/src/compile.js:65:22)
      at ChildProcess.EventEmitter.emit (events.js:98:17)
      at maybeClose (child_process.js:735:16)
      at Socket.<anonymous> (child_process.js:948:11)
      at Socket.EventEmitter.emit (events.js:95:17)
      at Pipe.close (net.js:466:12)

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              jsoref Josh Soref
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: