cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-8694) Replace dependency plugin with plugin list parameter in createmobilespec
Date Tue, 31 Mar 2015 13:01:53 GMT


Ian Clelland commented on CB-8694:

I think that this patch has introduced a command-line parsing error:

I tried this morning to create mobile spec with the command line:

createmobilespec.js --ios --android --plugins cb8739

Where {{cb8739}} is the name of the project to create (I checked the man page, and the code,
and I definitely didn't use {{--plugins=cb8739}})

{{createmobilespec.js}} interpreted the project name as a plugin name, and tried to download
it from the registry.

I had to switch the parameter order around to get it to build properly:

createmobilespec.js --android --plugins --ios cb8739

> Replace dependency plugin with plugin list parameter in createmobilespec
> ------------------------------------------------------------------------
>                 Key: CB-8694
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: mobile-spec
>            Reporter: Alexander Sorokin
>            Priority: Minor
> Now createmobilespec uses dependency plugin to specify the list of plugins to install.
> This approach has some limitations, for example after the app is created the user cannot
remove particular plugin because they all are listed as dependencies of dependency plugin.

> Though developers could want to add custom plugin(s) to mobile spec for testing. Also
some plugins could not be supported under particular platform and should not be installed.
> My proposal is to replace dependency plugin with new command line parameter for createmobilespec
to specify plugin list through CLI.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message