]
Alexey Kazakov updated JBIDE-18711:
-----------------------------------
Fix Version/s: 4.2.3.Beta1
(was: 4.2.3.Final)
Cordova plugin addition and removal fails when config.xml is in a
linked folder
-------------------------------------------------------------------------------
Key: JBIDE-18711
URL:
https://issues.jboss.org/browse/JBIDE-18711
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.2.0.Final
Environment: Oracle JDK 1.8.0_05, Mac OS X Mavericks
Reporter: Vineet Reynolds
Assignee: Gorkem Ercan
Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
When config.xml is present in an Eclipse Linked folder (not in a symbolic link), then
attempting to add or remove plugins (and possibly other operations on config.xml) fails
with a spurious NullPointerException (without a stacktrace).
This pretty much means that the Hybrid Mobile application project with a linked folder
for 'www' is in a read-only state for plugin addition/removal. If any plugin
should be added or removed, the linked folder must be dropped, converted to an ordinary
folder (or symbolic link), and then re-created after modifications.
To verify
1. create a new project
2. copy www folder to an alternate location
3. remove www folder
4.add www folder from alternate location as a linked folder (New Folder > Advanced>
Link to alternate location)
5. add cordova plugins to the project. [Check they are added]