GitHub user martincgg opened a pull request:
https://github.com/apache/cordova-mobile-spec/pull/66
[CB-6822] plugman compatible on Windows platforms
When createmobilespec module is used and the --plugman argument is
present, it will determine if the development platform is windows to add
node as part of the command.
process.argv[0] it will retrieve the node from the current process, and
it will cover the scenario where the nodejs installation it has a custom
path or it's not present in system PATH environmental variable.
If:
/path/to/nodejs/node createmobilespec.js [args]
process.argv[0] it will retrieve: /path/to/nodejs/node
to invoke plugman main.js file.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/martincgg/cordova-mobile-spec CB-6822
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-mobile-spec/pull/66.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 #66
----
commit 1b140bca76c826d3eae09b35da2d1d84face3a0c
Author: Martin Gonzalez <[email protected]>
Date: 2014-05-30T16:26:40Z
[CB-6822] plugman compatible with windows
When createmobilespec module is used and the --plugman argument is
present, it will determine if the development platform is windows to add
node as part of the command.
process.argv[0] it will retrieve the node from the current process, and
it will cover the scenario where the nodejs installation it has a custom
path or it's not present in system PATH environmental variable.
If:
/path/to/nodejs/node createmobilespec.js [args]
process.argv[0] it will retrieve: /path/to/nodejs/node
to invoke plugman main.js 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.
---