cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Moore (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4002) Hook processing should ignore dotfiles
Date Tue, 25 Jun 2013 14:56:22 GMT
Dan Moore created CB-4002:
-----------------------------

             Summary: Hook processing should ignore dotfiles
                 Key: CB-4002
                 URL: https://issues.apache.org/jira/browse/CB-4002
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.9.0
         Environment: cordova cli 2.9.0rc1
            Reporter: Dan Moore
            Assignee: Filip Maj
            Priority: Trivial


If you have any dotfiles (.scriptname.swp) in your .cordova/hooks/after_* directory, a build
will fail with this message:

---------
/bin/sh: /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp: Text file busy

Error: Script "/path/.cordova/hooks/after_prepare/.replace_config_values.js.swp" exited with
non-zero status code. Aborting. Output: /bin/sh: /path/.cordova/hooks/after_prepare/.replace_config_values.js.swp:
Text file busy

    at /usr/local/lib/node_modules/cordova/src/hooker.js:85:30
    at /usr/local/lib/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
    at ChildProcess.exithandler (child_process.js:641:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Process.ChildProcess._handle.onexit (child_process.js:802:5)
---------

These dotfiles are there because I'm editing the script, and want to be able to re-edit it
quickly.  Sure would be nice if any files starting with dot were ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message