GitHub user masakura opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/82

    Fix build error no orog.apache.cordova.file

    Although uses the org.apache.cordova.file.FileUtils package in 
ac4af88f551406fa7b38a1343a3fc423a9ae9233, there is no dependency 
org.apache.cordova.file plugin.
    
    ```
    $ cordova --version
    4.3.0
    $ cordova create cordova1
    $ cd cordova1
    $ cordova platform add android
    $ cordova plugin add https://github.com/apache/cordova-plugin-camera.git
    $ cordova build
    ...
    Running command: 
/home/masakura/Documents/tmp/cordova1/platforms/android/cordova/build 
    Buildfile: 
/home/masakura/??????????????????/tmp/cordova1/platforms/android/build.xml does 
not exist!
    Build failed
    
    
/home/masakura/ドキュメント/tmp/cordova1/platforms/android/cordova/node_modules/q/q.js:126
                        throw e;
                              ^
    Error code 1 for command: ant with args: 
debug,-f,/home/masakura/ドキュメント/tmp/cordova1/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
    ERROR building one of the platforms: Error: 
/home/masakura/Documents/tmp/cordova1/platforms/android/cordova/build: Command 
failed with exit code 8
    You may not have the required environment or OS to build this project
    Error: 
/home/masakura/Documents/tmp/cordova1/platforms/android/cordova/build: Command 
failed with exit code 8
        at ChildProcess.whenDone 
(/home/masakura/.nvm/v0.10.38/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
        at ChildProcess.emit (events.js:98:17)
        at maybeClose (child_process.js:766:16)
        at Process.ChildProcess._handle.onexit (child_process.js:833:5)
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/masakura/cordova-plugin-camera 
fix-build-error-no-file-plugin

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/82.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 #82
    
----
commit 3f6c73e2f0870f8952f06a1037cc97dbe7f2feb3
Author: Tomo Masakura <[email protected]>
Date:   2015-04-02T08:28:33Z

    Fix build error no orog.apache.cordova.file

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to