[
https://issues.apache.org/jira/browse/CB-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168600#comment-15168600
]
ASF subversion and git services commented on CB-10660:
------------------------------------------------------
Commit 0a1b71f1252089f6ac0676ece4e2c5c126697b43 in cordova-android's branch
refs/heads/master from [~bso]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=0a1b71f ]
CB-10660 fixed the exception when removing a non-existing directory. This
closes #261
> 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
> Priority: Minor
> Labels: pendingPR, triaged
>
> 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: [email protected]
For additional commands, e-mail: [email protected]