[
https://issues.apache.org/jira/browse/CB-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720174#comment-13720174
]
Filip Maj commented on CB-4350:
-------------------------------
Problem 1: the shell script stub of {{check_reqs}} in the windows phone repos
are not executable, thus the permission denied problem. This needs to be
addressed at the library level.
Problem 2: the shell script stubs should also exit out with a non-zero exit
code (currently it does not explicitly exit with any code so implicitly this
means a zero exit code).
> bad errors when trying to add win* platforms on mac
> ---------------------------------------------------
>
> Key: CB-4350
> URL: https://issues.apache.org/jira/browse/CB-4350
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Windows 8, WP7, WP8
> Affects Versions: 3.0.0
> Environment: Mac
> Reporter: Mike Sierra
> Assignee: Filip Maj
> Priority: Minor
>
> Output follows. When trying to add win8, should inform the platform is not
> available on Mac, not that the platform is unrecognized. For wp7/wp8, errors
> don't make sense.
> Ulothrix:hello sierra$ cordova platform add win8
> [Error: Platform "win8" not recognized as core cordova platform.]
> Ulothrix:hello sierra$ cordova platform add wp7
> [Error: /bin/sh:
> /Users/sierra/.cordova/lib/wp8/cordova/3.0.0/wp7/bin/check_reqs: Permission
> denied
> ]
> Ulothrix:hello sierra$ cordova platform add wp8
> [Error: /bin/sh:
> /Users/sierra/.cordova/lib/wp8/cordova/3.0.0/wp8/bin/check_reqs: Permission
> denied
> ]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira