Differences

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

Link to this comparison view

irc:1478559600 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[09:55:51] *** ChanServ sets mode: +o temporalfox
 +
 +[10:03:16] *** ChanServ sets mode: +o temporalfox
 +
 +[10:15:10] *** ChanServ sets mode: +o temporalfox
 +
 +[10:32:36] *** ChanServ sets mode: +o temporalfox
 +
 +[10:35:25] *** ChanServ sets mode: +o temporalfox
 +
 +[12:07:58] *** ChanServ sets mode: +o temporalfox
 +
 +[13:05:40] <​davsclaus>​ dont vert.x have its own maven plugin to package a java project ?
 +
 +[13:05:50] <​davsclaus>​ i have only seen example using the horrible complex maven shade plugin
 +
 +[13:05:58] <​davsclaus>​ comparing to SB or WF-Swarm
 +
 +[13:06:12] <​davsclaus>​ where you just add their mvn plugin with 5 lines of xml and OOTB it builds what you need
 +
 +[13:06:47] <​davsclaus>​ this is horrible in 2016
 +
 +[13:06:47] <​davsclaus>​ https://​github.com/​fabric8-quickstarts/​vertx-web/​blob/​master/​pom.xml#​L67
 +
 +[13:34:29] <​cescoffier>​ davsclaus : no we don't
 +
 +[13:34:40] <​cescoffier>​ davsclaus : you can use anything to package a vert.x app
 +
 +[13:34:54] <​cescoffier>​ davsclaus : you don't have a package it actually
 +
 +[13:35:05] <​davsclaus>​ cescoffier well i want something simpel to package it as a fatjar
 +
 +[13:35:08] <​davsclaus>​ just like the others can do
 +
 +[13:35:36] <​davsclaus>​ and btw is there a main class from vertx to start and run a vechicle
 +
 +[13:35:38] <​cescoffier>​ davsclaus : we generally use the shader plugin in Maven, and the shadowJar plugin in Gradle
 +
 +[13:35:39] <​davsclaus>​ this example dont work
 +
 +[13:36:00] <​davsclaus>​ https://​github.com/​fabric8-quickstarts/​vertx-web
 +
 +[13:36:15] <​cescoffier>​ davsclaus : this example use the Vert.x Launcher (just a convenient main class) and should deploy the SimpleWeb verticle
 +
 +[13:36:15] <​davsclaus>​ cescoffier easy of use, the shade is horrible to configure
 +
 +[13:36:58] <​davsclaus>​ this is wrong
 +
 +[13:36:59] <​davsclaus>​ https://​github.com/​fabric8-quickstarts/​vertx-web/​blob/​master/​pom.xml#​L128
 +
 +[13:37:07] <​davsclaus>​ that class dont exists
 +
 +[13:37:34] <​davsclaus>​ ah let me try
 +
 +[13:37:35] <​davsclaus>​ io.vertx.core.Launcher
 +
 +[13:37:52] <​cescoffier>​ Launcher is the main class (the class with public static void main(String[] args) {...}
 +
 +[13:38:04] <​cescoffier>​ I'm confused by the line 113
 +
 +[13:38:15] <​cescoffier>​ who is this HelloWorldEmbedded ?
 +
 +[13:38:19] <​davsclaus>​ yeah its a copy from old example
 +
 +[13:38:35] <​davsclaus>​ https://​github.com/​fabric8-quickstarts/​vertx-simple
 +
 +[13:38:43] <​davsclaus>​ this works because its not a vehicle
 +
 +[13:38:46] <​davsclaus>​ but a plain main
 +
 +[13:38:58] <​davsclaus>​ so they wanted to do a new example that uses a vehicle
 +
 +[13:39:02] <​davsclaus>​ but now it wont start
 +
 +[13:39:08] <​davsclaus>​ neither using mvn exec:java
 +
 +[13:39:11] <​davsclaus>​ or in a container
 +
 +[13:39:20] <​davsclaus>​ so is there some way to make it work
 +
 +[13:39:38] <​davsclaus>​ i assume you can package a vehicle as fat jar or point to some java main from vertx
 +
 +[13:39:42] <​davsclaus>​ that just boots it up
 +
 +[13:39:50] <​davsclaus>​ PRs is welcome
 +
 +[13:39:59] <​davsclaus>​ all to make vert.x run in the cloud
 +
 +[13:40:58] <​cescoffier>​ davsclaus Yes
 +
 +[13:41:40] <​cescoffier>​ davsclaus : It's exactly what is done in: https://​github.com/​vert-x3/​vertx-maven-starter/​blob/​master/​pom.xml
 +
 +[13:46:11] *** ChanServ sets mode: +o temporalfox
 +
 +[14:31:36] *** ChanServ sets mode: +o temporalfox
 +
 +[15:51:58] <​pikajude>​ hello, how do i make the logger log to a file as well as stdout in java
 +
 +[15:57:36] <​tsegismont>​ pikajude, not Vert.x specific, you can find plenty of examples on google
 +
 +[16:01:46] <​pikajude>​ well I was hoping to be able to continue using the vertx logger
 +
 +[16:01:57] <​pikajude>​ is it possible with the vertx logger or no?
 +
 +[16:25:03] *** ChanServ sets mode: +o temporalfox
 +
 +[17:24:00] *** ChanServ sets mode: +o temporalfox
 +
 +[18:00:41] *** ChanServ sets mode: +o temporalfox
 +
 +[23:56:22] <​whitingjr>​ hi, I am trying to build master for vertx-web, maven is throwing an error. unable to resolve class io.vertx.lang.groovy.InternalHelper
 +
 +[23:56:28] <​whitingjr>​ anyone seen this ?