[ 
https://issues.apache.org/jira/browse/CB-8694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388485#comment-14388485
 ] 

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:

{code}
createmobilespec.js --ios --android --plugins cb8739
{code}

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:

{code}
createmobilespec.js --android --plugins --ios cb8739
{code}


> Replace dependency plugin with plugin list parameter in createmobilespec
> ------------------------------------------------------------------------
>
>                 Key: CB-8694
>                 URL: https://issues.apache.org/jira/browse/CB-8694
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to