Vert.x 2.x is deprecated - use instead https://github.com/vert-x3/vertx-lang-js
Cloudbees Build Status
Use DynJS as your Javascript runtime instead of Rhino on vert.x 2.0.
This language module uses the vert.x Javascript API in mod-lang-js
with the DynJS runtime. The API documentation is the same as for lang-js
and lang-rhino
, and can be found
on the lang-js
CI server.
By default, vert.x runs Javascript with Rhino. Change this by creating a
langs.properties
file at the root of your project that looks like this.
dynjs=io.vertx~lang-dynjs~1.0.1:org.dynjs.vertx.DynJSVerticleFactory
.js=dynjs
Enjoy. And if you have any problems, hit us on on freenode at #dynjs or #vertx.