cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-6822) Plugman usage compatible with Windows platforms
Date Fri, 30 May 2014 17:49:04 GMT


ASF subversion and git services commented on CB-6822:

Commit 9a8914fdf1bfe9c8b1f6c3cb9eaaa5abd496c257 in cordova-mobile-spec's branch refs/heads/master
from [~martin.c.glez.glez]
[;h=9a8914f ]

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.

/path/to/nodejs/node createmobilespec.js [args]
process.argv[0] it will retrieve: /path/to/nodejs/node
to invoke plugman main.js file.

This closes #66

> Plugman usage compatible with Windows platforms
> -----------------------------------------------
>                 Key: CB-6822
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>    Affects Versions: 3.5.0
>         Environment: Windows 7 & 8
>            Reporter: Martin Gonzalez
>              Labels: createmobilespec, mobilespec
>             Fix For: 3.6.0
> When the --plugman arguments is used to create the mobilespec project using the createmobilespec
nodejs module, it fails the plugins installation under windows.
> Reason:
> At:
> The plugman main js script is called, but for windows it only means open the js file
with an editor, and for Linux based os uses the #!/usr/bin/env node line at the top of the
file to invoke nodejs and execute the file.
> For the Windows platform it's required provide the node command.

This message was sent by Atlassian JIRA

View raw message