Friday, June 13, 2014

Re: Share code between GWT projects

OK, so I can't help you (don't know Eclipse enough; never even used that feature). I strongly believe that an IDE is not a build tool/system, and you definitely need one, whichever it is (make, Ant, Maven, Gradle, a shell script, whatever).

Hope someone with Eclipse skills will help you.

On Thursday, June 12, 2014 10:13:18 AM UTC+2, Julien wrote:
I'm only "exporting" with Eclipse, I've seen lots of topics saying that Maven would help me but I want to try doing it with Eclipse and GWT Plugin only as I don't really have time to learn how to use Maven for now

Le mercredi 11 juin 2014 19:33:11 UTC+2, Thomas Broyer a écrit :


On Wednesday, June 11, 2014 10:34:16 AM UTC+2, Julien wrote:
Hi there,
I'm trying to share some code between my GWT projects so I was thinking about doing something like that :


I succeeded to make it work in eclipse and in developer mode by adding needed projects to build path,
but when I compile with GWT, it only export classes that are inside the current project and there is no trace of needed classes from other projects...
So this can't work on the production server :/

"compile with GWT" and "[classes on] production server" are antonymous.
"compile with GWT" is about taking source code and transpiling it to JavaScript. What you deploy on your server is the result of the GWT compilation for the client side and of a standard Java compilation for the server side.
 
Could someone explain how sharing code like this should be done please ? I've been looking everywhere and I can't find the answer

What tool are you using to build/package your WAR? Ant? Maven? Or are you "exporting" using Eclipse?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment