You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "M (JIRA)" <ji...@apache.org> on 2019/02/13 10:47:00 UTC

[jira] [Created] (NETBEANS-2113) duplicate 'packFileListElem' items in 'configurations.xml'

M created NETBEANS-2113:
---------------------------

             Summary: duplicate 'packFileListElem' items in 'configurations.xml'
                 Key: NETBEANS-2113
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2113
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 8.2
         Environment: Linux Mint 19
            Reporter: M


Every time a C++ project configurations.xml is saved (e.g. when adding/removing source files or changing project settings), one or more duplicate XML elements are added, so the project file keeps growing and growing. I have to periodically clean up the file by hand in a text editor. It is also possible to use the project settings packaging section to remove items, but even if all items are removed, Netbeans will re-add them the next time the project file is saved.

I don't use the packaging feature in this project, and never (to my knowledge) changed any packaging settings from their defaults.

Example:
{code:java}
<packaging> <packType>Debian</packType> <packFileList> <packFileListElem type="File" to="${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" from="${OUTPUT_PATH}" perm="755" owner="root" group="bin"/> <packFileListElem type="File" to="${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" from="${OUTPUT_PATH}" perm="755" owner="root" group="bin"/> <packFileListElem type="File" to="${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" from="${OUTPUT_PATH}" perm="755" owner="root" group="bin"/> <packFileListElem type="File" to="${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" from="${OUTPUT_PATH}" perm="755" owner="root" group="bin"/> <packFileListElem type="File" to="${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" from="${OUTPUT_PATH}" perm="755" owner="root" group="bin"/>
...
{code}
I'm happy to provide more information if needed.

If I understand correctly, the C/C++ module is temporarily unsupported during the move to Apache, but I'd like to request to keep this ticked open until it becomes supported again, rather than be marked as invalid.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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