-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
GWT Super DevMode from the command line #6582
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…t at 127.0.0.1 only
azatsarynnyy
requested review from
riuvshin,
skabashnyuk and
vparfonov
as code owners
October 5, 2017 06:32
benoitf
added
status/code-review
This issue has a pull request posted for it and is awaiting code review completion by the community.
kind/bug
Outline of a bug - must adhere to the bug report template.
labels
Oct 5, 2017
Build # 4002 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/4002/ to view the results. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/4015/ |
azatsarynnyy
removed
the
status/code-review
This issue has a pull request posted for it and is awaiting code review completion by the community.
label
Oct 10, 2017
will be provided as part of #6602 |
benoitf
added
the
status/code-review
This issue has a pull request posted for it and is awaiting code review completion by the community.
label
Oct 10, 2017
azatsarynnyy
changed the title
[WIP] GWT Super DevMode from the command line
GWT Super DevMode from the command line
Oct 11, 2017
benoitf
removed
the
status/code-review
This issue has a pull request posted for it and is awaiting code review completion by the community.
label
Nov 2, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
CQ https://dev.eclipse.org/ipzilla/show_bug.cgi?id=14390
What does this PR do?
Introduces a way of launching GWT's CodeServer (Super DevMode) for Che sources with a command line and not depend on GWT plugin provided by the concrete IDE: GWT Eclipse Plugin, GWT Plugin for IntelliJ IDEA Ultimate Edition etc.
How does it work?
In order to launch GWT Super DevMode for the Che sources the following command is proposed to use:
mvn clean gwt:codeserver -pl :assembly-ide-war -am -Psdm
There're three main parts:
mvn gwt:codeserver
, relies on the aggregator goalcodeserver
of thenet.ltgt.gwt.maven:gwt-maven-plugin
. This goal runs GWT's CodeServer with the necessary parameters and the correct classpath.-pl :assembly-ide-war -am
in order the speed-up launching of the GWT's CodeServer by skipping the most of the maven modules which don't contain the client code.clean
cycle andsdm
maven profile are mandatory for now but they'll become unnecessary after complete migration to the new maven plugin. Since we still use both the legacyorg.codehouse.mojo:gwt-maven-plugin
and the newnet.ltgt.gwt.maven:gwt-maven-plugin
all settings related to the new plugin have been placed within the separate maven profilesdm
in order to avoid some configuration troubles. It's planned to remove this profile after complete migration to the new maven plugin.So now there're several options available for launching GWT Super DevMode with the proposed command line.
Launch GWT Super DevMode (inside a container) working on the Che sources in Che IDE
Caveat: GWT CodeServer works really slow inside a Docker container.
GWT SDM for Che
within theRun
goalche
project is selected in the Project ExplorerLaunch GWT Super DevMode on the local machine (works with any IDE)
:/data
volume is mounted, then go to your workspace's folder withininstance/data/workspaces/
and there you should findche
folder contains your Che's project sources. E.g., cd /home/user/che/data/instance/data/workspaces/wksp-2hpp/che.mvn clean gwt:codeserver -pl :assembly-ide-war -am -Psdm
Launch GWT Super DevMode in IDEA (including IDEA CE w/o GWT plugin provided)
What issues does this PR fix or reference?
#2595
Release Notes
Docs PR