[jbosstools-issues] [JBoss JIRA] (JBIDE-18711) Cordova plugin addition and removal fails when config.xml is in a linked folder

Vineet Reynolds (JIRA) issues at jboss.org
Mon Dec 15 01:51:30 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-18711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027545#comment-13027545 ] 

Vineet Reynolds commented on JBIDE-18711:
-----------------------------------------

[~tkriz], [~vpakan], please also verify JBIDE-18952 (a related issue involving import of projects with linked folders) in 4.2.1. This is a separate use-case though.

> 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.2.Final, 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]



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list