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

Use JsType+Global.JSON instead AutoBean and fix gwt-maven-plugin #13

Closed
wants to merge 1 commit into from

Conversation

ibaca
Copy link
Collaborator

@ibaca ibaca commented May 21, 2017

Version rc-7 requires type:gwt-lib to correctly configure dependencies using devmode goal. And also, I have added a gwt maven plugin configuration to the root pom, I'm not sure how you are using devmode right now, but I think that you need to install before you can use it, isn't it? Now you can just use gwt:devmode in the root module and it just loads 3 examples at the same time.

I'm not sure if you really want to use AutoBean on purpose, but I think that if you are using elemental2 hehe you better do it all without "old gwt" magic. Using JsType+Global.JSON is the new AutoBean 😛.

… configuration

Version rc-7 requires type:gwt-lib to correctly configure dependencies using devmode goal.
@@ -41,6 +41,7 @@
<dependency>
<groupId>org.jboss.gwt.elemento</groupId>
<artifactId>elemento-core</artifactId>
<type>gwt-lib</type>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is not required, but as you are defining the version in the parent pom, this makes this version used by this dependency. You can instead remove the type and use ${project.version}.

@@ -102,6 +102,7 @@
<groupId>org.jboss.gwt.elemento</groupId>
<artifactId>elemento-core</artifactId>
<version>${project.version}</version>
<type>gwt-lib</type>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this fixes devmode... see tbroyer/gwt-maven-plugin#86

<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<inherited>false</inherited>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not inherited! this is only used during development to run devmode.

@pedjapesic
Copy link

+1 @ibaca. Replacing AutoBean with JsType+Global.JSON is great idea.

@ibaca
Copy link
Collaborator Author

ibaca commented May 21, 2017

Uhm, I'm going to split this PR in 2, 1.for autobean and another to the plugin, because the plugin configuration is no very IDE friendly, and because I just see that you use develop branch instead of master branch.

@ibaca ibaca closed this May 21, 2017
@ibaca ibaca deleted the master branch May 21, 2017 15:04
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

2 participants