[ 
https://issues.apache.org/jira/browse/CB-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Fowler reopened CB-3605:
-------------------------------


The README refers to a number of scripts which do not exist in the bin 
directory.

https://github.com/apache/cordova-android/blob/master/README.md
./bin/bench ............................ generate a bench proj (Joe removed in 
his fork?)
./bin/autotest ......................... test the cli tools
./bin/test ............................. run mobile-spec

The package.json refers to scripts which do not exist in bin.

https://github.com/apache/cordova-android/blob/master/bin/package.json
"bin": {
    ...,
    "bench": "./bench",
    "autotest": "./autotest",
    "BOOM": "./BOOM",
    "test": "./test"
  },

If npm is not required on Windows the README should be modified.

This is an issue which needs to be tracked and resolved.
                
> package.json bin scripts 
> -------------------------
>
>                 Key: CB-3605
>                 URL: https://issues.apache.org/jira/browse/CB-3605
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.7.0
>         Environment: Windows
>            Reporter: Angela Fowler
>            Assignee: Joe Bowser
>            Priority: Minor
>
> The "Cordova Android Developer Tools" section talks about installing the 
> dependencies however the package.json does not contain any dependencies. It 
> contains a "bin" which maps command names to local file names.
> "bin":
> { "create": "./create", "bench": "./bench", "autotest": "./autotest", "BOOM": 
> "./BOOM", "test": "./test" }
> 1. The only command in the bin directory is create (and also update which is 
> not in package.json bin).
> The autotest and test exist in the cordova-cli project but only for ios.
> I could not find bench or BOOM.
> 2. The create script is a bash script. There is also a create.js and 
> create.bat for Windows which does not appear to require npm.
> Is there any use for npm on Windows in cordova-android?
> 3. Is this how npm looks when correctly installed for cordova-android? Could 
> it have failed somehow because the repository is pointing to incubator?
> c:\development\cordova-2.7.0\cordova-android\bin>npm list npm WARN 
> package.json [email protected] No README.md file found!
> [email protected] c:\development\cordova-2.7.0\cordova-android\bin
> └── (empty)
> Note : npm runs successfully in cordova-js which has several dependencies 
> installed and listed.

--
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

Reply via email to