Vert.x - vertx command line

Java Conceptuel Diagram

About

vertx is a command line utility tool that call the launcher class

This page is about the vertx client, for a vertx as an object instance, see the Vertx instance page

Installation

You get it with the full distribution

Usage

vertx --help
Usage: vertx [COMMAND] [OPTIONS] [arg...]

Commands:
    bare      Creates a bare instance of vert.x.
    list      List vert.x applications
    resolve   Resolve the vert.x stack according to the content the stack
              description.
    run       Runs a verticle called <main-verticle> in its own instance of
              vert.x.
    start     Start a vert.x application in background
    stop      Stop a vert.x application
    test      Runs a Vert.x Unit test called <test-verticle> in its own instance
              of vert.x.
    version   Displays the version.

Run 'vertx COMMAND --help' for more information on a command.

where:

As the vertx command is a wrapper around the launcher class, see the page Vert.x - Launcher class for its commands

FYI

The vertx.bat file looks like that

"%JAVA_EXE%" ^
  %JVM_OPTS% ^
  %JMX_OPTS% ^
  %JAVA_OPTS% ^
  %VERTX_SYNC_AGENT% ^
  %VERTX_OPTS% ^
  %VERTX_MODULE_OPTS% ^
  -Dvertx.cli.usage.prefix=vertx ^
  -Djava.util.logging.config.file="%VERTX_JUL_CONFIG%" ^
  -Dvertx.home="%VERTX_HOME%" ^
  -Dvertx.clusterManagerFactory="%VERTX_CLUSTERMANAGERFACTORY%" ^
  -classpath "%CLASSPATH%" ^
  io.vertx.core.Launcher ^
  %CMD_LINE_ARGS%

Documentation





Discover More
Java Conceptuel Diagram
How to handle a Vertx Failure in a composition ?

You can handle vertx failure with: the onFailure callback the err on the compose callback. Example:
Java Conceptuel Diagram
Java - Web Server

in Java vertx Java Built in - A micro framework for creating web applications in...
Card Puncher Data Processing
Python - Java

Python java implementation: Jython is used in: ODI Weblogic Py4J enables Python programs running in a Python interpreter to dynamically access Java objects...
Java Conceptuel Diagram
Vert.x - Distribution

The vert.x distribution is available as archive file or as docker A full distribution contains: the vertx client and all the vertx library
Java Conceptuel Diagram
Vert.x - Hot reloading / Live redeploy

This page is Hot reload in Vert.x On matching file changes, the process is stopped and the application is restarted. Live redeploy with the vertx command of: a verticle with the launcher...
Vertx Launcher Idea Run
Vert.x - Launcher class

The io/vertx/core/LauncherVertx launcher is one of the two way to start an application It is a launcher class that wraps the management of a vertx instance and the deployment of a main verticle. It can...
Java Conceptuel Diagram
Vert.x - Shell

A Vert.x Shell provides a remotely accessible shell available via Telnet, SSH that provides a variety of commands for interacting live with Vert.x services A Vert.x Shell can be provided via the deployment...
Java Conceptuel Diagram
Vert.x - Stack

With the vertx command line
Java Conceptuel Diagram
Vert.x - The launcher run command

The run command (Code) is a command of the launcher. It will: create a instance...
Java Conceptuel Diagram
Vert.x - Vertx Instance

A vertx instance is started normally with a verticle. See verticle run. You can also start bare Vert.x instances - i.e. instances that are not initially running any verticles. Why ? because they will...



Share this page:
Follow us:
Task Runner