Hi, The pleasure is all mine. TestFinder fails, but the build succeeds. I guess the reason is 'test\script' is absolute, and not relative to the project ant 'base'.
get-testng: check-testng: check-external-tests: compile-test: [javac] Compiling 89 source files to C:\use\eclipse\workspace\nashorn\build\test\classes [copy] Copying 1 file to C:\use\eclipse\workspace\nashorn\build\test\classes\META-INF\services [copy] Copying 1 file to C:\use\eclipse\workspace\nashorn\build\test\classes\jdk\nashorn\internal\runtime\test\resources [copy] Copying 3 files to C:\use\eclipse\workspace\nashorn\build\test\classes\jdk\nashorn\api\scripting\test\resources [jar] Building jar: C:\use\eclipse\workspace\nashorn\build\nashorn-internal-tests.jar [jar] Building jar: C:\use\eclipse\workspace\nashorn\build\nashorn-api-tests.jar generate-policy-file: test262-parallel: [java] WARNING: test\script\external\test262\test\suite not found or not a directory [java] Exception in thread "main" java.nio.file.NoSuchFileException: test\script\external\test262\test\suite [java] at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) [java] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) [java] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) [java] at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53) [java] at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38) [java] at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:193) [java] at java.nio.file.Files.readAttributes(Files.java:1737) [java] at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:225) [java] at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276) [java] at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322) [java] at java.nio.file.Files.walkFileTree(Files.java:2662) [java] at jdk.nashorn.internal.test.framework.TestFinder.findTests(TestFinder.java:163) [java] at jdk.nashorn.internal.test.framework.TestFinder.findAllTests(TestFinder.java:129) [java] at jdk.nashorn.internal.test.framework.ParallelTestRunner.suite(ParallelTestRunner.java:322) [java] at jdk.nashorn.internal.test.framework.ParallelTestRunner.<init>(ParallelTestRunner.java:106) [java] at jdk.nashorn.internal.test.framework.ParallelTestRunner.main(ParallelTestRunner.java:437) [java] Java Result: 1 test262parallel: BUILD SUCCESSFULTotal time: 2 minutes 9 seconds From: Michael Haupt <michael.ha...@oracle.com> To: Nashorn-dev <nashorn-dev@openjdk.java.net> Sent: Wednesday, July 8, 2015 2:44 PM Subject: Re: Build fails on Windows ... and if you'd like to do us a favour, please run "ant clean test test262parallel" in the nashorn/make directory and let us know if anything breaks. :-) Best, Michael > Am 08.07.2015 um 14:43 schrieb Michael Haupt <michael.ha...@oracle.com>: > > Hi Ahmed, > >> Am 08.07.2015 um 13:27 schrieb Ahmed Ashour <asash...@yahoo.com>: >> There is also #2 for the javadoc target, I am not sure if something can done >> there. > > oops. Sorry, I missed that. This was also fixed [3,4]. > > Best, > > Michael > > [3] https://bugs.openjdk.java.net/browse/JDK-8130307 > [4] http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/becb3bb6a422 -- <http://www.oracle.com/> Dr. Michael Haupt | Principal Member of Technical Staff Phone: +49 331 200 7277 | Fax: +49 331 200 7561 Oracle Java Platform Group | LangTools Team | Nashorn Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment