IDE agnostic way to launch GWT Super DevMode #7084
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Artem Zatsarynnyi [email protected]
What does this PR do?
Brings IDE agnostic way to launch GWT Super DevMode for the Che project's sources. It's required for developing Che in Che.
To achieve that the following steps have been done:
gwt-lib
lifecycle which does all necessary work for packaging project as a GWT lib jar;gwt-app
lifecycle.Launching GWT Super DevMode
The main command to launch Super DevMode is pretty simple -
mvn gwt:codeserver
. It has to be executed from the root folder of the Che project.Note that there are a couple of additional options which are strongly encouraged to use to speed up the Super DevMode launching:
-pl :che-ide-gwt-app -am
to process only those modules on which IDE app depends on and ignore modules which don't contain GWT sources (e. g. server modules);-Pfast
to skip additional code checks which are unnecessary during launching Super DevMode.So the recommended command looks as follows:
mvn gwt:codeserver -pl :che-ide-gwt-app -am -Pfast
Developing Che in Che
There are two ways available to launch Super DevMode for developing Che in Che.
Launching GWT CodeServer on a local machine
:/data
volume is mounted, then go to your workspace's folder withininstance/data/workspaces/
and there you should findche
folder contains your Che project's sources. E.g.,cd /home/user/che/data/instance/data/workspaces/wksp-2hpp/che
.mvn gwt:codeserver -pl :che-ide-gwt-app -am -Pfast
Launching GWT CodeServer inside a machine (docker container) with Che project's sources
Create and run a command of type
GWT SDM for Che
within theRun
goal.For convenience, use toolbar
Run
button for launching Super DevModeWhen CodeServer is launched go to the
Servers
tab to get the CodeServer URLWhat issues does this PR fix or reference?
#6602
Release Notes
Docs PR