Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1491170400 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[10:21:52] <​ppatiern>​ Hi guys, what is the right place and way to get the updated vertxbus.js file to include in a simple web page ?
 +
 +[10:27:52] <​tsegismont>​ Hi ppatiern , have a look at http://​vertx.io/​docs/​vertx-web/​java/#​_sockjs_event_bus_bridge
 +
 +[10:28:06] <​tsegismont>​ You have different options, cdnjs, bower, npm
 +
 +[10:28:14] <​tsegismont>​ or maven artifact
 +
 +[10:28:35] <​tsegismont>​ The "right way" depends on the app you're working on I guess
 +
 +[10:29:06] <​ppatiern>​ tsegismont: I have just a Vert.x application which starts an HTTP server and then a "​webroot"​ under resources ... I'd like to add there the vertx bus JS library for the HTML pages I have
 +
 +[10:29:36] <​ppatiern>​ the main application is in Java ... it does some things and one of them is starting this HTTP server for exposing a simple web application
 +
 +[10:30:07] <​tsegismont>​ ppatiern, in the music store demo, I use the Maven dep plugin
 +
 +[10:30:08] <​tsegismont>​ https://​github.com/​tsegismont/​vertx-musicstore/​blob/​master/​pom.xml#​L114-L138
 +
 +[10:30:24] <​tsegismont>​ and then  mvn dependency:​[email protected] when I change the stack version
 +
 +[10:31:43] <​ppatiern>​ tsegismont: thanks !
 +
 +[10:31:49] <​tsegismont>​ you're welcome
 +
 +[11:08:04] <​pmlopes>​ @ppatiern if you want just html, you can use CDNJS https://​cdnjs.com/​libraries/​vertx
 +
 +[11:08:20] <​pmlopes>​ it's just a link you need to add to your html
 +
 +[11:23:39] <​ppatiern>​ pmlopes: thanks it's another options but the main thing is that I discovered I was using an old JS file with old API :-)
 +
 +[12:19:59] *** ChanServ sets mode: +o temporal_
 +
 +[12:50:16] *** ChanServ sets mode: +o temporalfox
 +
 +[13:17:30] *** ChanServ sets mode: +o temporalfox
 +
 +[14:51:45] *** ChanServ sets mode: +o temporal_
 +
 +[17:27:21] *** ChanServ sets mode: +o temporalfox
 +
 +[18:58:46] *** ChanServ sets mode: +o temporalfox