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.
* Run tests on a package * the following command is executed cd C:\seu\xxxx; JAVA_HOME=C:\\XXX\\Java\\jdk8 M2_HOME=C:\\seu\\maven\\apache-maven-3.0.5 cmd /c "\"\"C:\\seu\\maven\\apache-maven-3.0.5\\bin\\mvn.bat\" -Dtest=xxx.xxx.xxx.xxx.xxx.mdi.**.*Test -Dmaven.ext.class.path=C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-eventspy.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar;C:\\seu\\ide\\NetBeansDev201501190001\\java\\maven-nblib\\netbeans-cos.jar -Dfile.encoding=utf-8 --batch-mode -B -DskipGwtCompile -Dgwt.draftCompile=true surefire:test\"" EXPECTED: no duplicates of entries in maven.ext.class.path Product Version: NetBeans IDE Dev (Build 201501190001) Updates: Updates available Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
This seems to be controlled by MavenCommandLineExecutor and CosChecker. re-assigning for evaluation Thank you
not able to reproduce with Build 20150918-ca1f8e3e8ad3 and a plain maven project. also that from looking on the code, it is a mystery to me how this could happen. closing for now, but feel free to reopen in case this still occurs with an actual dev build. please provide also some information about tou project type, setup, etc. a sample project would be great thanks
Created attachment 156279 [details] Sample project (In reply to Tomas Stupka from comment #2) > not able to reproduce with Build 20150918-ca1f8e3e8ad3 and a plain maven > project. > also that from looking on the code, it is a mystery to me how this could > happen. > > closing for now, but feel free to reopen in case this still occurs with an > actual dev build. > > please provide also some information about tou project type, setup, etc. > a sample project would be great > > thanks Reopen. Still reproducible. Steps: * open the attached maven project * open NewClassTest in editor * right click in the editor and choose "Test file" * rerun the test several times via the green double-arrow button in the "Test Result" window -> Duplicated entries in -Dmaven.ext.class.path (at the first in the maven output) Product Version: NetBeans IDE Dev (Build 201509170002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Reopen. See details at https://netbeans.org/bugzilla/show_bug.cgi?id=249971#c3
fixed in jet-main #1a29e10cb9f7
Integrated into 'main-silver', will be available in build *201509190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1a29e10cb9f7 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #249971 - maven.ext.class.path is polluted with duplicated items