- This topic has 19 replies, 8 voices, and was last updated 17 years, 7 months ago by Denis Lavoie.
-
AuthorPosts
-
Ashutosh SinhaMemberI would like to see support for GWT in Myeclipse – or is it already supported ?
Riyad KallaMemberIt’s not supported yet but it’s already come up in a few conversations. We are waiting to see how the framework continues to evolve as well as adoption of it before we start working on tooling for it.
David Orriss JrParticipantDo you really ‘need’ tooling for it? I mean you should just be able to build apps using the toolkit the same as any other libraries and build and run projects with it.
David Orriss JrParticipantJust as an additional note, GWT can create an Eclipse-specific project ‘skeleton’ for you to build GWT apps from. I just tried in within ME and it works very well..
http://code.google.com/webtoolkit/gettingstarted.html#NewEclipse
No additional plugins needed.. 😉
Riyad KallaMemberVery cool DaveO, I’m going to add this to the FAQ with proper credits.
Update: https://www.genuitec.com/forums/topic/configuration-does-myeclipse-work-with-gwt/
Abhishekh PadmanabhanMemberI guess this may be a good place to start workign with using GWT components on JSF apps.
serkolMemberMyEclipse would benefit from having a GUI builder for GWT. I use MyEclipse plus GWT Designer from Instantiations. GWT Designer is Ok for visual GUI creation, but it’s very week in the area of project integration and deployment. You guys in MyEclipse do terrific work for project integration and deployment. I’m dreaming… If you added a GWT GUI builder to MyEclipse… I would pay you for 5 more years Pro subscription 🙂
Riyad KallaMemberHah, serkol we appreciate the compliments and also your user input on the GWT situation. I would first point out that the guys over at Instantiations are *the* GUI wizards, it is my experience that their designer should start becomming quite powerful very quickly if it isn’t there already.
Now on to your comments about the integration and deployment… could you explain your development scenario for us and explain to me where the combination of MyEclipse and GWT Designer isn’t working well together, or where you wish you had more control over the deployment process? We want MyEclipse to work as powerfully as it can for our users so getting detailed feedback is great.
serkolMemberI’m not an Eclipse expert so I can only describe the problem, not how to solve it.
The problem is that GWT Designer does not support a scenario when one web application has several GWT modules. My application has several GWT modules.
Deployment problem: All these GWT modules should be included into the same .war file – GWT Designer cannot do this. It generates one .war file per GWT module, and you cannot even include your servlet in it. As a workaround I wrote a ant script that does this, but it works very slowly (it starts GWT compiler for every module), and I have to edit it to include a new GWT module.
“Hosted” mode problem: A programmer has to run a GWT application in “hosted” mode to debug client-side java code. I have several interdependent GWT modules, and GWT Designer cannot start them in hosted mode. As a workaround I have a special project for testing, and I copy-and-paste GUI elements from a real module into that testing module, and debug it. This is very limited solution – I cannot debug RPC data exchange, and it’s a lot of work to separate a part of a program to debug it without other parts.
GWT Designer adds special GWT project type to Eclipse. Because of this, I’m not using MyEclipse features at all for GWT programming.
Riyad KallaMemberserkol,
Thank you for the detailed use case, I’ve collected this information in our feature request for GWT support.
Konstantin.ScheglovMember@serkol wrote:
I’m not an Eclipse expert so I can only describe the problem, not how to solve it.
The problem is that GWT Designer does not support a scenario when one web application has several GWT modules. My application has several GWT modules.
Deployment problem: All these GWT modules should be included into the same .war file – GWT Designer cannot do this. It generates one .war file per GWT module, and you cannot even include your servlet in it. As a workaround I wrote a ant script that does this, but it works very slowly (it starts GWT compiler for every module), and I have to edit it to include a new GWT module.
1. If these modules depend on each other, this is not a problem. Point on “main” module and GWT compiler will compile all these modules. I.e. in this case other modules are just parts of main module – additional widget libraries, parts of UI, logic, etc. Also when we compile one compilation is enough, no need to compile each modules, just main is enough.
2. If these modules don’t depend on each other, this can be problem.
3. We include full project in .jar (and then in .war), so any class (servlet) also included.
@serkol wrote:
“Hosted” mode problem: A programmer has to run a GWT application in “hosted” mode to debug client-side java code. I have several interdependent GWT modules, and GWT Designer cannot start them in hosted mode. As a workaround I have a special project for testing, and I copy-and-paste GUI elements from a real module into that testing module, and debug it. This is very limited solution – I cannot debug RPC data exchange, and it’s a lot of work to separate a part of a program to debug it without other parts.
Again, just run “main” module and because these modules are interdependent, GWTShell will find other too. One trap – these modules should be inherited in Module.gwt.xml.
@serkol wrote:
GWT Designer adds special GWT project type to Eclipse. Because of this, I’m not using MyEclipse features at all for GWT programming.
Well, for not advanced user – yes. 🙂 But “GWT project” is just GWT nature, and there is already support for “converting” Java project into GWT project (i.e. adding nature).
—
SY, Konstantin Scheglov
SWT/Swing/GWT Designer developer
David Orriss JrParticipant@support-rkalla wrote:
I would first point out that the guys over at Instantiations are *the* GUI wizards, it is my experience that their designer should start becomming quite powerful very quickly if it isn’t there already.
And have you seen their licensing fees? You pay for that Wizardry.. 200 bucks for a Swing designer? Um… I’ll use Matisse for ME, thanks…!
Konstantin.ScheglovMember@daorriss wrote:
And have you seen their licensing fees? You pay for that Wizardry.. 200 bucks for a Swing designer? Um… I’ll use Matisse for ME, thanks…!
JFYI, price for GWT Designer is much less – $39 for one year or $89 for three years.
—
SY, Konstantin Scheglov
David Orriss JrParticipantWell, that’s true… But I worry it has no place to go but up from there.. :-/
serkolMemberKonstantin,
It’s true that GWT Designer from Instantiations can handle the case when several “modules” in fact are just one module, and the rest are libraries. This is not my case.
My GWT application is very large. I don’t want to be one of those guys who complain that their compiled GWT module weighs several megs and it takes minutes to load it into a browser. I have divided my application into several modules that are loaded in frames. Each such module is a “real” GWT module, it is hosted by a separate html page.
All these html pages that host GWT modules, and the corresponding RPC servlets, must be in the same war file.
Can GWT Designer’s project have several “real” GWT modules? Not to my knowledge. For some reason people in Instantiations don’t see this as a problem.
I guess that this comes from the GWT ideology: one application = one GWT module. This looks funny to me. Imagine if you were allowed to have only ONE jsp page per web application. That’s why some GWT projects end up with a 2MB compiled GWT module (which is a html page).
Now back to MyEclipse.
It would be helpful if MyEclipse could call GWT compiler for connected GWT modules (separate projects) and then add them to the application’s war or ear.
-
AuthorPosts