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

Joe Bowser updated CB-9686:
---------------------------
    Component/s:     (was: Android)
                 CordovaLib

> Adding Android platform puts folders in wrong place
> ---------------------------------------------------
>
>                 Key: CB-9686
>                 URL: https://issues.apache.org/jira/browse/CB-9686
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>         Environment: Debian 8 "Jessie" Stable
> Node v4.1.0
> Npm v3.3.3
> Cordova 5.1.1, 5.3.1 & 5.3.2-dev (I tried different versions)
>            Reporter: Xandor Schiefer
>            Priority: Minor
>
> When I run `cordova platform add android`, it adds the platform and plugins 
> folders to the current directory's parent, i.e. it creates `../platforms` and 
> `../plugins` instead of `./platforms` and `./plugins`.
> It also doesn't seem to edit the config.xml file whether I run it with the 
> `--save` flag or without.
> The cordova project folder is in a subdirectory of the git repo's root folder:
> {quote}
> .
> ├── app
> ├── bower_components
> ├── bower.json
> ├── cordova
> ├── Gruntfile.js
> ├── node_modules
> ├── package.json
> └── www
> {quote}
> When I run `cordova platform add android` whilst my working directory is the 
> `cordova` folder, the repo root looks like this:
> {quote}
> .
> ├── app
> ├── bower_components
> ├── bower.json
> ├── cordova
> ├── Gruntfile.js
> ├── node_modules
> ├── package.json
> ├── platforms
> ├── plugins
> └── www
> {quote}
> When I did this on OS X (in that case `cordova platform add ios`), the 
> folders were created as expected (i.e. in the `cordova` folder, not the repo 
> root). Cordova version 5.3.1, Node version 4.1.0 and Npm version 3.3.3 on OS 
> X 10.10.5.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to