Thursday, August 1, 2019

Re: Building a GWT project in Eclipse 2019-03+ with Java 11.



On Wednesday, July 31, 2019 at 8:02:53 PM UTC+2, Jim Douglas wrote:
We have a large and complex Eclipse project that uses the GWT SDK for the GWT client stuff, and doesn't use Maven in any way at all. How would we go about evolving that away from the GWT SDK? I know effectively nothing about Maven. Is there some sort of instruction list somewhere to convert an existing project, as opposed to creating a new project from scratch?

Are you saying that you have zero build tool‽ not even Ant? (because Ant, with Ivy, can resolve dependencies from Maven repositories too; I have no idea how to do it myself, but there are, or have been, people here using Ivy who could possibly help)
 
I'm staring at this, and I don't know what to make of it:


It seems to assume I already know what Maven is, I already have a Maven project, I understand all of this obscure terminology, and I know how to edit various configuration files...

It does assume you already know Maven, yes.
 
and I'm just trying to find a page that says "How to install this thing."

That's not how things work; "this thing" is a plugin for Maven, one of many plugins any Maven project will use during a build.
And you don't "install" it, once you have Maven installed, you only need to describe your dependencies (and plugins) in an XML file (pom.xml) and Maven will download things for you.

But you don't need to move your whole build to using Maven only to use dependencies from a Maven repository. You could for example use Coursier (or Maven or Ivy or Gradle or SBT) to retrieve all the JARs, and continue using your current setup for the rest.
 

On Wednesday, July 24, 2019 at 8:40:21 AM UTC-7, Thomas Broyer wrote:


On Wednesday, July 24, 2019 at 5:14:42 PM UTC+2, Jim Douglas wrote:
> Sure. Use a build tool of your choice and use the maven dependencies. 

I don't know what that means. As far as I've ever known, developing a GWT application in Eclipse implies installing the GWT Plugin for Eclipse and picking a GWT SDK.


Nope.
Install the GWT Eclipse Plugin (https://gwt-plugins.github.io/documentation/gwt-eclipse-plugin/Download.html; note that the SDKs are optional).
You're all set; the plugin will use the GWT dependencies from the Maven project.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/67b70d99-61c8-4b73-abb2-f28e69278ff3%40googlegroups.com.

No comments:

Post a Comment