Closed alexlehm closed 9 years ago
Is this still an issue Alex?
I have created a small project that shows the issue, either I am calling the script in a way that doesn't work or it is not finding the file inside the jar sometimes.
https://drone.io/github.com/alexlehm/vertx-mail-js-test/2 https://github.com/alexlehm/vertx-mail-js-test
Your example is failing because jvm-npm.js in your case is inside the vertx-lang-js that you included as a Maven dependency.
JSRunner is something that is intended to be used inside the vertx-lang-js project where it would be found on the file system.
What is it you're trying to achieve by this example?
Initially I used that to run Javascript test files in eclipse, if that doesn't work at all, i think we can just close the issue
I am occasionally getting unit test failures with a filenotfound exception inside the js jar in the local maven repo dir. When I run the tests once more, it usually disappears. This shows on 2 different CI systems (vertx jenkins and drone.io)
https://gist.github.com/alexlehm/3948f0f71114e23dd064 the unit test is this file: https://github.com/vert-x3/vertx-mail-service/blob/master/src/test/java/io/vertx/ext/mail/JavascriptTest.java