Arzhan Kinzhalin created RIPPLE-93:
--------------------------------------

             Summary: 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)

Reply via email to