You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Byoungro So (JIRA)" <ji...@apache.org> on 2016/02/22 01:25:18 UTC

[jira] [Created] (CB-10660) uninstalling a plugin with tag failed

Byoungro So created CB-10660:
--------------------------------

             Summary: uninstalling a plugin with <framework> tag failed
                 Key: CB-10660
                 URL: https://issues.apache.org/jira/browse/CB-10660
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Byoungro So
            Assignee: Byoungro So


In the Intel XDK environment, we install the plugin in a separate area than the <project_root>/platforms/<platform> directory.
So, the src directory relative to the <project_root> directory may not exist.
Cordova-android's plugin handler removes the parent directory if the last framework subdirectory is removed.
This is done without checking the existence of the parent directory.
This causes the uninstallation of certain plugins to fail.
It is always safer to check the existence of the directory before it tries to remove the directory.



--
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