Patrik Karlström created NETBEANS-4782:
------------------------------------------

             Summary: Quick Search Provider wizard localizes wrong element in 
layer.xml 
                 Key: NETBEANS-4782
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4782
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 12.0, 12.1
            Reporter: Patrik Karlström


The generated layer.xml localizes the wrong element,
the file object and not the folder of the file object.
 
The automatic generated one.

{{<?xml version="1.0" encoding="UTF-8"?>}}
{{<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" 
"[http://www.netbeans.org/dtds/filesystem-1_2.dtd]";>}}
{{<filesystem>}}
{{    <folder name="QuickSearch">}}
{{        <folder name="Bookmarks">}}
{{            <attr name="command" stringvalue="b"/>}}
{{            <attr name="position" intvalue="0"/>}}
{{            <file 
name="org-mapton-bookmarks-bookmarkQuickSearchProvider.instance">}}
{{                <attr name="displayName" 
bundlevalue="org.mapton.bookmarks.Bundle#QuickSearch/Bookmarks/org-mapton-bookmarks-BookmarkQuickSearchProvider.instance"/>}}
{{            </file>}}
{{        </folder>}}
{{    </folder>}}
{{</filesystem>}}
 
My manually fixed variant. 
{{<?xml version="1.0" encoding="UTF-8"?>}}
{{<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" 
"[http://www.netbeans.org/dtds/filesystem-1_2.dtd]";>}}
{{<filesystem>}}
{{    <folder name="QuickSearch">}}
{{        <folder name="Bookmarks">}}
{{            <attr name="command" stringvalue="b"/>}}
{{            <attr name="position" intvalue="0"/>}}
{{            <attr name="displayName" 
bundlevalue="org.mapton.bookmarks.Bundle#QuickSearch/Bookmarks"/>}}
{{            <file 
name="org-mapton-bookmarks-BookmarkQuickSearchProvider.instance"/>}}
{{        </folder>}}
{{    </folder>}}
{{</filesystem>}}
 
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to