Antonio Vieiro created NETBEANS-6372: ----------------------------------------
Summary: cnd/cpplite commit-validation fails Key: NETBEANS-6372 URL: https://issues.apache.org/jira/browse/NETBEANS-6372 Project: NetBeans Issue Type: Bug Components: cnd - Other, platform - Filesystems Reporter: Antonio Vieiro While trying to integrate cnd and cpplite, the "commit-validation" fails with the following two errors: h3. Error one: Missing "weight" attribute, see also [https://bz.apache.org/netbeans/show_bug.cgi?id=141925] {noformat} Some modules override some files without using the weight attribute correctly OptionsDialog/CPlusPlus.instance is provided by: [org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor] org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=&C/C++, iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, position=700} org.netbeans.modules.cpplite.editor: content = '', attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, keywords=C C++, keywordsCategory=CPPLite, position=715} Some modules conflict on the definition of position for Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, org.netbeans.modules.cpplite.project=650} junit.framework.AssertionFailedError: Some modules override some files without using the weight attribute correctly OptionsDialog/CPlusPlus.instance is provided by: [org.netbeans.modules.cnd.toolchain.ui, org.netbeans.modules.cpplite.editor] org.netbeans.modules.cnd.toolchain.ui: content = '', attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=&C/C++, iconBase=org/netbeans/modules/cnd/toolchain/ui/options/cnd_32.png, position=700} org.netbeans.modules.cpplite.editor: content = '', attributes = {advancedOptionsFolder=OptionsDialog/CPlusPlus, categoryName=C/C++, iconBase=org/netbeans/modules/cpplite/editor/lsp/options/cnd_32.png, keywords=C C++, keywordsCategory=CPPLite, position=715} Some modules conflict on the definition of position for Templates/Project/Native: {org.netbeans.modules.cnd.makeproject.ui=850, org.netbeans.modules.cpplite.project=650} at org.netbeans.core.validation.ValidateLayerConsistencyTest.testLayerOverrides(ValidateLayerConsistencyTest.java:668) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82){noformat} h3. Error Two: cpplite is missing a "position" attribute {code:java} No warnings relating to folder ordering; cf: http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt Not all children in OptionsDialog/CPlusPlus/ marked with the position attribute: [cpplite.instance], but some are: [ToolsTab.instance, ProjectsTab.instance, CodeAssistanceTab.instance, OtherOptionsTab.instance] junit.framework.AssertionFailedError: No warnings relating to folder ordering; cf: http://deadlock.netbeans.org/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/build/generated/layers.txt Not all children in OptionsDialog/CPlusPlus/ marked with the position attribute: [cpplite.instance], but some are: [ToolsTab.instance, ProjectsTab.instance, CodeAssistanceTab.instance, OtherOptionsTab.instance] at org.netbeans.core.validation.ValidateLayerConsistencyTest.assertNoErrors(ValidateLayerConsistencyTest.java:157) at org.netbeans.core.validation.ValidateLayerConsistencyTest.testFolderOrdering(ValidateLayerConsistencyTest.java:806) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- 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