Skip to content

Add possibility to change widgetset compilation style for superdevmode in command line - #104

Open
wbadam wants to merge 1 commit into
vaadin:masterfrom
wbadam:style-param
Open

Add possibility to change widgetset compilation style for superdevmode in command line#104
wbadam wants to merge 1 commit into
vaadin:masterfrom
wbadam:style-param

Conversation

@wbadam

@wbadam wbadam commented Aug 4, 2017

Copy link
Copy Markdown

Resolves #103


This change is Reviewable

@CLAassistant

CLAassistant commented Aug 4, 2017

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Artur-

Artur- commented Aug 8, 2017

Copy link
Copy Markdown
Member

How does this differ from using -Dgwt.style?

@wbadam

wbadam commented Aug 8, 2017

Copy link
Copy Markdown
Author

It doesn't differ, the style parameter currently isn't passed further to the Codeserver in vaadin-maven-plugin, i.e. -Dgwt.style has no effect.

The same is implemented in this commit in gwt-maven-plugin: gwt-maven-plugin/gwt-maven-plugin@5eb7189 but was never introduced here.

@Artur-

Artur- commented Aug 9, 2017

Copy link
Copy Markdown
Member

I see, so it's missing a "superdevmode" keyword from the summary


Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@wbadam wbadam changed the title Add possibility to change widgetset compilation style from command line Add possibility to change widgetset compilation style for superdevmode in command line Aug 9, 2017
@wbadam

wbadam commented Aug 9, 2017

Copy link
Copy Markdown
Author

Yes, sorry, the ticket I opened (#103) does have the keyword but forgot to mention it in the PR


Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@hesara

hesara commented Aug 29, 2017

Copy link
Copy Markdown
Contributor

Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


src/main/java/org/codehaus/mojo/gwt/shell/AbstractGwtShellMojo.java, line 92 at r1 (raw file):

     */
    @Parameter(defaultValue = "OBF", property = "gwt.style")
    protected String style;

Why make this protected instead of simply using getStyle() that also CompileMojo uses?


Comments from Reviewable

@wbadam

wbadam commented Aug 30, 2017

Copy link
Copy Markdown
Author

Review status: all files reviewed at latest revision, 1 unresolved discussion.


src/main/java/org/codehaus/mojo/gwt/shell/AbstractGwtShellMojo.java, line 92 at r1 (raw file):

Previously, hesara (Henri Sara) wrote…

Why make this protected instead of simply using getStyle() that also CompileMojo uses?

Could do that as well if you prefer, I copied the changes from gwt-maven-plugin https://github.com/gwt-maven-plugin/gwt-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/gwt/shell/AbstractGwtShellMojo.java#L80


Comments from Reviewable

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.

Add possibility to change widgetset compilation style for superdevmode in command line

4 participants