Josh Soref created CB-5971:
------------------------------
Summary: cordova create temp something.default will break android
badly
Key: CB-5971
URL: https://issues.apache.org/jira/browse/CB-5971
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.3.0
Reporter: Josh Soref
steps:
{quote}
{{cordova create temp something.default}}
{{cd temp}}
{{cordova platform add android}}
{{cordova build}}
{quote}
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)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)