This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139736 - Comments removed from project.xml after adding test dependency
Summary: Comments removed from project.xml after adding test dependency
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 14:49 UTC by Ivan Sidorkin
Modified: 2008-07-14 21:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2008-07-11 14:49:22 UTC
Product Version: NetBeans IDE Dev (Build 200807080009)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

I have netbeans module project.
here is part of project.xml file:

<test-dependencies>
                <test-type>
                    <name>qa-functional</name>
                    <!-- my comments -->
                    <test-dependency>
                        <code-name-base>org.netbeans.modules.project.ant</code-name-base>
                        <compile-dependency/>
                    </test-dependency>
                </test-type>
            </test-dependencies>

If I add new Functional Test Dependency using context menu in project tree - my comments will be removed.
Comment 1 Tomas Danek 2008-07-11 16:52:57 UTC
yes, comments are not handled. IMHO P4, since comments in project.xml is not ordinary usecase.
Comment 2 Jesse Glick 2008-07-14 21:10:04 UTC
True. You can keep comments outside <test-dependencies>, I think, or at least at the top of the file.