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.
Summary: | Classpath for tests too long on windows | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Harness | Assignee: | pgebauer <pgebauer> |
Status: | NEW --- | ||
Severity: | normal | CC: | anebuzelsky, jkovalsky, tzezula |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 8.1 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Logs for successful and failed run.
Try to pass classpath using jar file manifest attribute. |
Description
Jiri Skrivanek
2016-03-10 10:33:07 UTC
In fact the commit is correct. Before the commit the command line was shorter, but incorrect as it was missing the extra module classpath elements which was causing that tests depending on nb-javacapi did not work. Created attachment 158946 [details]
Try to pass classpath using jar file manifest attribute.
I tried but if NetBeans are on other disk than repository it fails during build: BUILD FAILED D:\hg\core-main\j2ee.kit\register_server.xml:6: The following error occurred while executing this line: D:\hg\core-main\nbbuild\templates\common.xml:717: The following error occurred while executing this line: D:\hg\core-main\nbbuild\templates\common.xml:774: The following error occurred while executing this line: D:\hg\core-main\nbbuild\templates\common.xml:746: No suitable relative path from D:\hg\core-main\j2ee.kit\build\test\qa-functional\results to C:\netbeans\platform\modules\org-netbeans-libs-junit4.jar If we are on the same disk it fails loading WatchProjects class: java.lang.NoClassDefFoundError: org/netbeans/test/ide/WatchProjects at org.netbeans.test.j2ee.J2EEValidation.testWebApplication(J2EEValidation.java:159) Petře, any update on this? Thanks! |