You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Yasuharu Seki (JIRA)" <ji...@apache.org> on 2016/08/22 03:24:20 UTC
[jira] [Created] (CB-11730) plugman miss the last file/folder when
installing plugin on windows
Yasuharu Seki created CB-11730:
----------------------------------
Summary: plugman miss the last file/folder when installing plugin on windows
Key: CB-11730
URL: https://issues.apache.org/jira/browse/CB-11730
Project: Apache Cordova
Issue Type: Bug
Components: Plugman
Affects Versions: 6.0.0
Environment: Windows
plugman --version
1.2.1
cordova --version
6.3.1
Reporter: Yasuharu Seki
Priority: Trivial
Steps to reproduce:
- Create simple plugin
$ plugman create --name SimplePlugin --plugin_id org.simple.plugin --plugin_version 1.0.0
- Create cordova project it includes the name of plugin
$ cordova create SimplePlugin_TestBed
- Install the plugin into the created project
$ cordova plugin add ../SimplePlugin
-> Check the plugins/org.simple.plugin folder
Find www/ folder is missing.
The reason is filenames.indexOf(relativeRootFolder) returns -1 when the target folder name cannot find in the plugin folder.
The original code works good when the project is on the child folder.
[plugin]/[project of plugin_testbed]
But does not the project as sibling.
[plugin]
[project of plugin_testbed]
--
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