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

jcesarmobile closed CB-6568.
----------------------------
    Resolution: Not A Problem

Cordova projects require the root www folder and the config.xml, that's what 
make them cordova projects and will show those errors if you remove one of them.
I'm not sure why you don't commit the www, but you are supposed to use the same 
www for all platforms, so you should commit it.

> Cordova cli commands not working if www folder is missing
> ---------------------------------------------------------
>
>                 Key: CB-6568
>                 URL: https://issues.apache.org/jira/browse/CB-6568
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli
>    Affects Versions: 3.4.0
>         Environment: windows
>            Reporter: Koray Balci
>            Priority: Minor
>
> When executing cordova commands in command prompt (eg. "cordova platforms"), 
> if www folder is missing, cordova responds: "Current working directory is not 
> a Cordova-based project", although this is not true. 
> I may have started the project for ios platform in osx, commit to source 
> control (ignoring www and merges folder, since the files there are copied in 
> a before_prepare script automatically) and checkout the repo from windows and 
> execute cli commands, it is confusing. When I create www folder manually, cli 
> commands are automatically recognized. I find checking www folder's existence 
> quite a simple but problematic method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to