Hey John, Sorry to hear about all your troubles, please see me responses inline below:
On Sat, Apr 10, 2010 at 9:50 AM, John <[email protected]> wrote: > I'm getting totally confused about "dependent projects", and other > stuff. After much Googling I find lots of references, all confusing. > (gwt 2.03, linux, galileo eclipse) > > Confusion 1: people talk about "main project" and "dependent > project". In my case, I have a project that is the "main thing" and I > have a different project where I developed a "widget". This second > is a "standalone" project because it has a host page and all, just so > I could test it. > > I want to use this widget in my main project. In that case, won't my > MAIN project also be the DEPENDENT one? It depends on the widget, > right? So which Project.gwt.xml has to be modified? > > Confusion 2: people talk about "setting the output" of one project to > be the same as the other project. How? Looks to me like outputs can > only be moved around inside their own project. > As you've found, dependent projects are a very rough area in GPE. One solution that should work for you is: in your main project, use "Link Source" to add your widget project's source folders. > > Confusion 3: After much screwing around, I broke something and the > project that used to work, now doesn't. This took me into the area of > Run Configuration. I appreciate that the developers took the trouble > to initially put settings into all the right places, but what's the > point of letting users change the settings if the beast just puts > things back as they were? I am using -noserver, ie my own Xampp php > server. Specifically, on the arguments page, it starts with: > > -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl > /GfBegin/GfBegin.php -war /home/john/workspace/GfBegin/war -noserver > -logLevel INFO com.axxessible.gfbegin.gfbegin > com.axxessible.gfbegin.GfBegin > > I have Googled to try to find out what > < -remoteUI "${gwt_remote_ui_server_port}:${unique_id}"> is supposed > to do, and I can see that other people have asked the same question, > but I never found a clear answer. Furthermore, I did find on a > previous occasion that I could make things work by taking it out! But > I am now finding that every time I delete that portion, some "helpful" > spirit living in that dialog puts it back. Sorry -- that's a bug on me. The current feature allows you to change argument values, but as you've found, removing arguments altogether won't stick. "-remoteUI" allows the DevMode view inside Eclipse to be the UI for DevMode instead of the Swing-based UI in the GWT SDK. Regarding removing this argument leading to a working application: You may have hit a bug we haven't seen before -- can you try the below and see if that's the case? If so, we can dig a bit deeper on that issue (assuming your other issues are taken care of.) Create a new plain "Java application" launch configuration. For each of the tabs "Main", "Arguments", and "Classpath", copy the values from your existing "Web Application" launch configuration. In this new "Java application" launch configuration, you can remove the "-remoteUI" and see if things work. Also, try deleting your existing "Web Application" launch configuration and re-running your main project. That will create a new launch configuration from scratch with the defaults, which should get you back into a working state (assuming you were in a working state before, which it sounds like you were at some point.) > > Sure, probably I'm wrong, and stupid, but I'm having a very > frustrating time with this. I've been using gwt since 1.4 or 1.5 or > thereabouts, but I never had the need to merge different projects. > Nope, not at all :) Sorry about your troubles in these couple rough areas, hopefully we can get you back on a working path. And as always, thanks for letting us know which areas need improvement. jason > Any advice or links (geared for dummies) would be very much appreciated. > > John > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
