Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B46811FA7 for ; Wed, 30 Jul 2014 22:13:15 +0000 (UTC) Received: (qmail 82564 invoked by uid 500); 30 Jul 2014 22:13:15 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 82538 invoked by uid 500); 30 Jul 2014 22:13:15 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 82516 invoked by uid 99); 30 Jul 2014 22:13:14 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 22:13:14 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 559FF9BA511; Wed, 30 Jul 2014 22:13:14 +0000 (UTC) From: rodms10 To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org Message-ID: Subject: [GitHub] cordova-firefoxos pull request: Fixing error on new CLI/LIB: cp: n... Content-Type: text/plain Date: Wed, 30 Jul 2014 22:13:14 +0000 (UTC) GitHub user rodms10 opened a pull request: https://github.com/apache/cordova-firefoxos/pull/19 Fixing error on new CLI/LIB: cp: no such file or directory On latest versions of CLI and LIB a `cp: no such file or directory` error was being displayed on the console after adding firefoxos platform. This was happening because cordova's `platform add` code tries to copy `cordova.js` file from `www` to `platform_www`([code](https://github.com/apache/cordova-lib/commit/3695d6fef8998929189a36681bbe1f99c13f7887)), see [this change](https://github.com/apache/cordova-lib/commit/3695d6fef8998929189a36681bbe1f99c13f7887) for more info. In https://github.com/apache/cordova-firefoxos/commit/72c62a09060a9485d77fc93d84118f1e78706b5a we started moving `cordova.js` into `platform_www` as `prepare` would copy it to `www`. Fix is to copy `cordova.js` to `www` and let it be copied to `platform_www` by `platform add`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rodms10/cordova-firefoxos cp-error Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-firefoxos/pull/19.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19 ---- commit 20def3b060620e71113d8fa8c6cd671fb6ca2504 Author: Rodrigo Silveira Date: 2014-07-30T22:03:11Z Fixing error on new CLI/LIB: cp: no such file or directory: /Users/rodrigo/mozilla/cordova/delme/platforms/firefoxos/www/cordova.js ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---