You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/07/03 20:44:19 UTC

[jira] [Resolved] (CB-4002) Hook processing should ignore dotfiles

     [ https://issues.apache.org/jira/browse/CB-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-4002.
---------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

This is now fixed and available on npm cordova@2.9.1.
                
> 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
>             Fix For: 3.0.0
>
>
> 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