This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 138346 [details] output window Please try: - create a new HTML5 Cordova application - build it - open plugins.properties - remove all plugins but org.apache.cordova.core.device=https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git - in project node in Projects, invoke either Clean or Clean & Build => action fails (output window content attached). It looks like it is necessary to remove "all" plugins' folders in [project]/plugins and also file [project]/plugins/android.json. However on Clean&Build action, file android.json does not seem to be correctly re-created, as it contains only {"prepare_queue":{"installed":[],"uninstalled":[]},"config_munge":{},"installed_plugins":{},"dependent_plugins":{}} But if you configure new project to contain only this one plugin prior first run/build, android.json looks like {"prepare_queue":{"installed":[],"uninstalled":[]},"config_munge":{"res/xml/config.xml":{"/*":{"<feature name=\"Device\"><param name=\"android-package\" value=\"org.apache.cordova.core.Device\" /></feature>":1}}},"installed_plugins":{"org.apache.cordova.core.device":{"PACKAGE_NAME":"com.coolappz.HTML5Application5"}},"dependent_plugins":{}} Product Version: NetBeans IDE Dev (Build Cordova 3.0 Support-14-on-20130806) Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 138347 [details] IDE log
Removing plugins using Cordova CLI does update android.json properly and also removes plugin's folder, e.g. cordova plugin rm org.apache.cordova.core.console
our build script just calls Cordova CLI and does cordova plugin rm It looks like bug in cordova https://issues.apache.org/jira/browse/CB-4433
should be fixed in cordova