cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xandor Schiefer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-9686) Adding Android platform puts folders in wrong place
Date Tue, 22 Sep 2015 20:32:04 GMT

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

Xandor Schiefer updated CB-9686:
--------------------------------
    Priority: Minor  (was: Major)

> 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: Android
>         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.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message