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.
I trying to update PMD plugin but 'ant fix-test-dependecies' fails: java.io.IOException: You must declare either <suite-component/> or <standalone/> for an external module in /opt/devel/sf/pmd-netbeans at org.netbeans.nbbuild.ModuleListParser.<init>(ModuleListParser.java:568) at org.netbeans.nbbuild.FixTestDependencies.getModuleList(FixTestDependencies.java:212) at org.netbeans.nbbuild.FixTestDependencies.execute(FixTestDependencies.java:118) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) If I fix FixTestDependencies:96 to refer to TYPE_STANDALONE I get NPE later because 'project' property is not set: --- Nested Exception --- java.lang.NullPointerException at java.io.File.<init>(File.java:194) at org.netbeans.nbbuild.ModuleListParser.scanStandaloneSource(ModuleListParser.java:516) at org.netbeans.nbbuild.ModuleListParser.<init>(ModuleListParser.java:562) at org.netbeans.nbbuild.FixTestDependencies.getModuleList(FixTestDependencies.java:212) at org.netbeans.nbbuild.FixTestDependencies.execute(FixTestDependencies.java:118) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) If you want to try you can take sources of PMD plugin either as binary or using anonymous CVS chechout from pmd.sf.net
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/FixTestDependencies.java,v <-- FixTestDependencies.java new revision: 1.12; previous revision: 1.11
Thanks
Didn't you mean M5? Is this FIXED or not?
Yes, it's probably fixed. I have to only test it and write (reuse) test.
Verified by test. RCS file: /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/FixTestDependenciesProjectStandalonePass.xml,v done Checking in FixTestDependenciesProjectStandalonePass.xml; /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/FixTestDependenciesProjectStandalonePass.xml,v <-- FixTestDependenciesProjectStandalonePass.xml initial revision: 1.1 done Checking in FixTestDependenciesTest.java; /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/FixTestDependenciesTest.java,v <-- FixTestDependenciesTest.java new revision: 1.6; previous revision: 1.5 done RCS file: /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/FixTestDependenciesProjectStandalone.xml,v done Checking in FixTestDependenciesProjectStandalone.xml; /cvs/nbbuild/test/unit/src/org/netbeans/nbbuild/FixTestDependenciesProjectStandalone.xml,v <-- FixTestDependenciesProjectStandalone.xml initial revision: 1.1 done
v