cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Weber (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10921) Plugin not installed when spec=directory
Date Tue, 22 Mar 2016 00:37:25 GMT

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

Jacob Weber updated CB-10921:
-----------------------------
    Attachment: log.txt
                config.xml

> Plugin not installed when spec=directory
> ----------------------------------------
>
>                 Key: CB-10921
>                 URL: https://issues.apache.org/jira/browse/CB-10921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.0.0
>         Environment: Mac OS 10.11.3.
>            Reporter: Jacob Weber
>            Priority: Minor
>         Attachments: config.xml, log.txt
>
>
> When I use {{<plugin>}} with spec set to a local directory, it doesn't seem to
install the plugin.
> I started with a new project, with no plugins or platforms. Then I added specific {{<engine>}}
versions to config.xml. Finally I added a {{<plugin>}} with a local directory:
> {code}
>     <engine name="ios" spec="~4.1.0" />
>     <engine name="android" spec="~5.1.1" />
>     <plugin name="cordova-plugin-whitelist" spec="1" />
>     <plugin name="cordova-plugin-testplugin" spec="/Users/someone/TestPlugin" />
> {code}
> When I run {{cordova prepare}}, it says:
> {code}
> Copying plugin "/Users/someone/TestPlugin" => "/Users/someone/CordovaTest/plugins/cordova-plugin-testplugin"
> {code}
> but it doesn't actually copy the plugin there. Nor does it make any changes to either
platform's {{config.xml}} file, or to any other config files.
> On the other hand, if I manually install the plugin using {{cordova plugin add /Users/someone/TestPlugin}},
it works.
> See attached log.
> Side note: it seems to be repeating certain steps for every plugin installed. For example,
it repeats:
> {code}
> Wrote out Android application name to "CordovaTest"
> Wrote out Android package name to "com.test.cordovatest"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message