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

Archetype for gwt-lib #65

Closed
TDesjardins opened this issue Jul 26, 2022 · 4 comments
Closed

Archetype for gwt-lib #65

TDesjardins opened this issue Jul 26, 2022 · 4 comments

Comments

@TDesjardins
Copy link

Would be useful to have an archetype for creating GWT library projects (packaging gwt-lib).

@tbroyer
Copy link
Owner

tbroyer commented Jul 26, 2022

Do we really need an archetype for such a simple setup? → https://tbroyer.github.io/gwt-maven-plugin/usage.html

Do you have something else in mind?

(the archetypes here are about client/shared/server ; you'll note there's no archetype either for a gwt-app with no server side)

@TDesjardins
Copy link
Author

Do you have something else in mind?

Nope, just a simple project setup. How you would create such project? Copy n' paste or by hand?

@tbroyer
Copy link
Owner

tbroyer commented Jul 26, 2022

That's what I would do personally, yes.

I could accept a PR but what would the archetype contain? only a pom.xml and module.gwt.xml? some Java code? what kind of code then?

What about "Java libraries with a GWT adapter" (think Guava + guava-gwt for example, or dagger + dagger-gwt), should there be an archetype for those too?

(the existing archetypes were quite easy as they simply adapted GWT's webAppCreator project to the Maven multi-module layout, and I then derived RequestFactory and Guice/Dagger variants)

@TDesjardins
Copy link
Author

That's what I would do personally, yes.

Sounds like the cost-benefit ratio is insufficient from your point.

I could accept a PR but what would the archetype contain? only a pom.xml and module.gwt.xml? some Java code? what kind of code then?

Yes, only pom.xml and module.gwt.xml, no Java code.

What about "Java libraries with a GWT adapter" (think Guava + guava-gwt for example, or dagger + dagger-gwt), should there be an archetype for those too?

Nope.

@tbroyer tbroyer closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2022
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

No branches or pull requests

2 participants