cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rodms10 <...@git.apache.org>
Subject [GitHub] cordova-firefoxos pull request: Fixing error on new CLI/LIB: cp: n...
Date Wed, 30 Jul 2014 22:13:14 GMT
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 <rodrigos@outlook.com>
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.
---

Mime
View raw message