[
https://issues.apache.org/jira/browse/CB-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664983#comment-13664983
]
Angela Fowler commented on CB-3364:
-----------------------------------
Thanks for the new version. I still have some questions about the README.
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"
},
However 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.
Secondly, 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?
Thirdly, 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 : I've used npm successfully in cordova-js which has several dependencies
installed and listed.
> README not up to date
> ---------------------
>
> Key: CB-3364
> URL: https://issues.apache.org/jira/browse/CB-3364
> Project: Apache Cordova
> Issue Type: Task
> Components: Android
> Affects Versions: 2.6.0, 2.7.0
> Environment: Windows
> Reporter: Angela Fowler
> Assignee: Joe Bowser
> Priority: Minor
> Labels: documentation
>
> Some of this also applies to the readme at
> https://github.com/apache/cordova-android
> 1. Instructions to move the codec jar to the libs folder but this is done in
> Windows create.js script. Maybe the bash script doesn't download it, perhaps
> split up the instructions for Windows and Linux/Unix?
> 2. Instructions to install node.js and npm to use the create script but I had
> problems with npm and uninstalled it. I created projects with create.bat
> (runs create.js) and use the emulator etc in Eclipse so it would be nice if
> the README gave more detail about what npm is really needed for.
> 3. Contains references to http://incubator.apache.org/cordova/ and
> https://github.com/KentBeck/junit which no longer exist
> Also the bin\package.json also refers to the incubator site which doesn't
> exist
> "url": "http://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git"
> Should a separate issue be created for this?
--
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