Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the redeploy documentation #1961

Merged
merged 2 commits into from
May 9, 2017
Merged

Improve the redeploy documentation #1961

merged 2 commits into from
May 9, 2017

Conversation

cescoffier
Copy link
Contributor

Explicitly mention the --java-opts parameter used to configure the forked process.
This issue is related to #1960 (and hopefully fix it)

Explicitly mention the —java-opts parameter used to configure the forked process.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Copy link

@javadevmtl javadevmtl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@jponge jponge self-requested a review May 2, 2017 07:24
Copy link
Member

@jponge jponge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM minor straightforward comments

@@ -1235,14 +1235,15 @@ java io.vertx.core.Launcher run org.acme.MyVerticle --redeploy="**/*.class" --l

The redeployment process is implemented as follows. First your application is launched as a background application
(with the `start` command). On matching file changes, the process is stopped and the application is restarted.
This way avoids leaks.
This way avoids leaks (as the process is restarted).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplify:

This avoids leaks, as the process is restarted.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong place for my comments, should be in package-info.java

@@ -1272,7 +1273,14 @@ java -jar build/libs/my-fat-jar.jar --redeploy="src/**/*.java" --on-redeploy='./

The "on-redeploy" option specifies a command invoked after the shutdown of the application and before the
restart. So you can hook your build tool if it updates some runtime artifacts. For instance, you can launch `gulp`
or `grunt` to update your resources.
or `grunt` to update your resources. Don't forget that passing parameter to your application requires the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parameter_s_

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
@cescoffier
Copy link
Contributor Author

Thanks @jponge! I've updated the PR.

@vietj vietj merged commit 0312239 into master May 9, 2017
@vietj vietj removed the to review label May 9, 2017
@vietj vietj deleted the improve-redeploy-doc branch May 18, 2017 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants