[jbosstools-issues] [JBoss JIRA] (JBIDE-18711) Cordova plugin addition and removal fails when config.xml is in a linked folder
Gorkem Ercan (JIRA)
issues at jboss.org
Fri Nov 21 07:59:39 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gorkem Ercan updated JBIDE-18711:
---------------------------------
Description:
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]
was:
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.
> 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.1.CR1
>
>
> 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]
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list