Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main/kotlin/org/vertx/demo
README.md
pom.xml

README.md

Kotlin Example

This project illustrates how to configure the Vert.x Maven Plugin to develop and package an application using Kotlin:

  • package your application as a fat jar
  • enable the redeployment of the application during development

Redeployment

First, launch the application in redeploy mode using:

mvn compile vertx:run

Then, open a browser to http://localhost:8080, you should see the message. Edit the org.vertx.demo.MyKotlinVerticle verticle and the redeployment is triggered.

When done with development, hit CTRL+C.

Packaging

Package the application using:

mvn clean package

The fat-jar is executable, so run it using:

java -jar target/kotlin-example-0.1-SNAPSHOT.jar 

Hit CTRL+C to stop the process.