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

Summary: Comments removed from project.xml after adding test dependency
Product: apisupport Reporter: Ivan Sidorkin <ivansidorkin>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.