I've never named my host page after my project. I name it "index.html" since that's what every web/application server I've ever worked with will look for by default. The name doesn't matter to me, it's just a convenience.
But having project rename change files in the project would be a substantial annoyance to me. I frequently create multiple copies of a project in my workspace and, of course, name them differently. They're all copies of the same code repository - maybe one for trunk, one for a different branch I'm working in, and one for applying patches from other developers for review. The point is, I don't want mypoject-trunk, myproject-branch-1.2, and myproject-code-review to each have a differently named HTML file. So, I maintain that keeping the name of the project and the name of the host page in sync would not be helpful. Keeping the name of the host page and the launch configurations in sync might be, but that's not the same thing. On Sat, Sep 5, 2009 at 7:58 AM, hezjing<[email protected]> wrote: > Hi > I'm still learning GWT, and I thought that the it is a convention (or best > practice?) a GWT project X, will have host page X.html. > It would be very helpful to keep the consistency of the project after the > rename. > For example when host page is renamed, and the plugin is not updating the > launch configuration automatically, > it should shown an error say the original host page the launch configuration > is referring is no long exist? > :-) > > > On Sat, Sep 5, 2009 at 9:53 AM, Isaac Truett <[email protected]> wrote: >> >> I would tend to say no, although I reserve the right to be persuaded >> otherwise by a compelling argument. I can't think of any precedent for >> an Eclipse plugin altering a launch configuration's arguments field in >> that manner. >> >> >> >> On Wed, Sep 2, 2009 at 3:54 AM, hezjing<[email protected]> wrote: >> > What about if we rename the hosted page? >> > Should the plugin update the reference in the launch configuration too? >> > >> > On Mon, Aug 31, 2009 at 10:20 PM, Isaac Truett <[email protected]> >> > wrote: >> >> >> >> > I'm not sure that it should change the name of the launch >> >> > configuration and hosted page however. >> >> >> >> I'm willing to take the next step and say I'm sure it shouldn't. :) >> >> >> >> - Isaac >> >> >> >> 2009/8/31 Miguel Méndez <[email protected]>: >> >> > On Sun, Aug 30, 2009 at 2:05 PM, hezjing <[email protected]> wrote: >> >> >> >> >> >> Hi >> >> >> I have a GWT project named X created by Google plugin. >> >> >> Then later I want to change the name to Y, so I right clicked >> >> >> Project X >> >> >> -> >> >> >> Refactor -> Rename ... -> New name: Y >> >> >> When run, it will complaint the working directory does not exist: >> >> >> /X/war >> >> >> It seems that launch configuration is still referring to the old >> >> >> name. >> >> >> Would it be possible for the plugin to rename the launch >> >> >> configuration, >> >> >> hosted page and etc? >> >> > >> >> > The rename should update references to the project's name in the >> >> > launch >> >> > configuration. I'm not sure that it should change the name of the >> >> > launch >> >> > configuration and hosted page however. Could you add a feature >> >> > request here >> >> > for this? >> >> > >> >> >> >> >> >> -- >> >> >> >> >> >> Hez >> >> >> >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Miguel >> >> > >> >> > > >> >> > >> >> >> >> >> > >> > >> > >> > -- >> > >> > Hez >> > >> > > >> > >> >> > > > > -- > > Hez > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
