We are looking at making the war folder configurable which should address
the situation.

On Mon, Dec 14, 2009 at 4:41 PM, Silverado <[email protected]> wrote:

> I am running with the same versions of Eclipse and GWT and I have the
> same problem.  Our project does not use a directory named "war" and I
> can tell the compiler to place the output files in the right place,
> but I cannot do that for the run configuration.  This is depriving me
> from being able to use the development mode with this project and I
> have to compile the code in order to test its behavior.
>
> I am trying to introduce GWT into our environment, but requiring the
> change of our file structure is going to be an obstacle to getting it
> adopted.
>
> Thank you for filing the bug report.  I hope this can be resolved
> soon.
>
> On Dec 10, 10:43 am, haole <[email protected]> wrote:
> > i'm using google plugin for eclipse 3.5 (galileo) with GWT 2.0.0 (and
> > app engine 1.2.8).
> >
> > when i compile my GWT modules, i set the additional compiler arguments
> > to "-warwar/foo." the behavior is as expected: the compiler creates
> > directories for each module under "war/foo." i get the following
> > directories when i compile only:
> >
> > war/foo/mymodule1war/foo/mymodule2
> > and so on...
> >
> > when i run a web application, the compiler goes back to using the
> > default directory ("war") to create directories for each module. under
> > Run Configurations, there is no option to add additional compiler
> > arguments under the GWT tab. i get the following directories when i
> > run:
> >
> > /war/mymodule1
> > /war/mymodule2
> > and so on...
> >
> > clicking the refresh button in the hosted browser window seems to have
> > the same effect as running the web app: it uses directories in the
> > default location. even though the actual web page points to to the
> > "war/foo" location, the app reflects the new changes immediately. the
> > web page includes the following script:
> >
> > <script src="/foo/mymodule1/mymodule1.nocache.js"></script>
> >
> > i checked the actual output files to see which ones were modified and,
> > sure enough,war/foo/mymodule1/mymodule1.nocache.js was NOT
> touched.war/mymodule1/mymodule1.nocache.js was modified. again: the web app
> > seems to reflect the changes, even though the script src points to the
> > non-default directory. i'm assuming that the client-side code is just
> > running in the same VM as the server in hosted browser mode.
> >
> > i'm hoping that the option to specify additional GWT compiler
> > arguments can be added to the GWT tab under Run Configurations, just
> > as it is available under the GWT compile dialog.
>
> --
>
> 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.
>
>
>


-- 
Miguel

--

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.


Reply via email to