{"action":"closed","issue":{"url":"https://api.github.com/repos/honeyAndSw/vertx-microservices-workshop-scala/issues/2","repository_url":"https://api.github.com/repos/honeyAndSw/vertx-microservices-workshop-scala","labels_url":"https://api.github.com/repos/honeyAndSw/vertx-microservices-workshop-scala/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/honeyAndSw/vertx-microservices-workshop-scala/issues/2/comments","events_url":"https://api.github.com/repos/honeyAndSw/vertx-microservices-workshop-scala/issues/2/events","html_url":"https://github.com/honeyAndSw/vertx-microservices-workshop-scala/issues/2","id":186309463,"number":2,"title":"Set Main-Class/Main-Verticle","user":{"login":"honeyAndSw","id":5697944,"avatar_url":"https://avatars.githubusercontent.com/u/5697944?v=3","gravatar_id":"","url":"https://api.github.com/users/honeyAndSw","html_url":"https://github.com/honeyAndSw","followers_url":"https://api.github.com/users/honeyAndSw/followers","following_url":"https://api.github.com/users/honeyAndSw/following{/other_user}","gists_url":"https://api.github.com/users/honeyAndSw/gists{/gist_id}","starred_url":"https://api.github.com/users/honeyAndSw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeyAndSw/subscriptions","organizations_url":"https://api.github.com/users/honeyAndSw/orgs","repos_url":"https://api.github.com/users/honeyAndSw/repos","events_url":"https://api.github.com/users/honeyAndSw/events{/privacy}","received_events_url":"https://api.github.com/users/honeyAndSw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T15:14:03Z","updated_at":"2016-11-04T15:56:23Z","closed_at":"2016-11-04T15:56:23Z","body":"[Using the Launcher in fat jars](https://github.com/honeyAndSw/vertx-lang-scala/blob/master/vertx-lang-scala/src/main/asciidoc/scala/index.adoc#using-the-launcher-in-fat-jars)\r\n> To use the Launcher class in a fat-jar just set the Main-Class of the MANIFEST to io.vertx.core.Launcher. In addition, set the Main-Verticle MANIFEST entry to the name of your main verticle.\r\n> By default, it executed the run command. However, you can configure the default command by setting the Main-Command MANIFEST entry. The default command is used if the fat jar is launched without a command.\r\n\r\n[sbt - Configure packaging](http://www.scala-sbt.org/0.13/docs/Howto-Package.html)\r\n: Read MANIFEST in build.sbt\r\n```\r\npackageOptions in (Compile, packageBin) +=  {\r\n  val file = new java.io.File(\"META-INF/MANIFEST.MF\")\r\n  val manifest = Using.fileInputStream(file)( in => new java.util.jar.Manifest(in) )\r\n  Package.JarManifest( manifest )\r\n}\r\n```"}}
{"actor":{"display_login":"honeyAndSw"}}