You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ripple.apache.org by "Arzhan Kinzhalin (JIRA)" <ji...@apache.org> on 2015/10/14 19:45:05 UTC

[jira] [Resolved] (RIPPLE-93) Cordova prepare logic is sensitive to the current working directory

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

Arzhan Kinzhalin resolved RIPPLE-93.
------------------------------------
    Resolution: Fixed

> Cordova prepare logic is sensitive to the current working directory
> -------------------------------------------------------------------
>
>                 Key: RIPPLE-93
>                 URL: https://issues.apache.org/jira/browse/RIPPLE-93
>             Project: Apache Ripple
>          Issue Type: Bug
>            Reporter: Arzhan Kinzhalin
>            Assignee: Arzhan Kinzhalin
>
> When the ripple is started from a directory that is not the emulated project, {{cordoba prepare}} would always fail (rightfully so) because ripple attempts to run it on the current working directory and not on the project. This is inconvenient and unnecessary.
> An example of the command line which would fail to properly prepare the project:
> {noformat}
> <kai@prodigy(s000).709 ~>
> --> ~/src/ripple-virgin/bin/ripple emulate --path ~/src/sample
> INFO: Could not find cordova as a local module. Expecting to find it installed globally.
> INFO: Server instance running on: http://localhost:4400
> INFO: CORS XHR proxy service on: http://localhost:4400/ripple/xhr_proxy
> INFO: JSONP XHR proxy service on: http://localhost:4400/ripple/jsonp_xhr_proxy
> Cordova 3.0 Project detected...
> INFO: Set Device User Agent (String): "Mozilla/5.0 (webOS/2.0; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Pre/2.0"
> refreshing project (platform: android) ...
> Failed to execute command: cordova prepare. Make sure you've installed cordova.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)