Hi,

actually the layout of my application looks as shown below:

- src
- WebContent
- ... (a couple of other dirs not relevant for the problem)

Below "src" I have separate directories for "java", "test" and a
couple of special source directories. Inside of my WebContent
directory, I have WEB-INF and all the stuff it contains (classes/,
lib/, web.xml, some other config files for Spring etc.). It actually
works quiet well but I see your point that you would like to avoid
intermixing self-created and generated files.

However, as the GWT output is generated into a directory called
"WebContent/ModuleName" and you are not obliged to put your static
files like your GWT host page inside of that directory but e.g.
directly under WebContent or another sub-directory, there is at least
some separation.

Cheers,

Jan.


On Apr 2, 10:23 pm, El Mentecato Mayor <[email protected]>
wrote:
> I'm curious, did you then use something like:
>
> -war src/your/app/path/public/WebContent
>
> assuming your static content was in a subdirectory of the public
> directory (?).  And now you will need to have WEB-INF/lib inside your
> WebContent dir?
>
> I will need to do migrate to 1.6 sometime, and I just don't like the
> war->WEB-INF directory imposition and mixing source-control files with
> generated files.  My build.xml is already handling all that for me
> (incl. generating the WEB-INF dir and subdirs dynamically).
>
> On Apr 1, 4:04 pm, Jan <[email protected]> wrote:
>
> > Thank you very much! That's easier than expected.
>
> > Best regards,
>
> > Jan.
>
> > On Apr 1, 5:36 pm, Jason Essington <[email protected]> wrote:
>
> > > use the switch -war WebContent
>
> > > -jason
>
> > > On Apr 1, 2009, at 12:46 AM, Jan wrote:
>
> > > > Dear GWT community,
>
> > > > I am considering using GWT 1.6 in a project, but have one major
> > > > concern: GWT 1.6 no longer places the public files (like the host page
> > > > or the module XML) in the "public" sub directory of the root package
> > > > but inside a "war/module" directory.
>
> > > > As all my projects already exist and e.g. use "WebContent" or "Web"
> > > > etc. as root for the directory containing all the static content, it
> > > > would be nice to reuse the existing structure.
>
> > > > My question is therefore: Is there a way to change the default
> > > > directory name "war" to something else. I would be surprised if not,
> > > > but I haven't found any info in the GWT documentation pages. It would
> > > > be great if someone could help me.
>
> > > > Thanks in advance,
>
> > > > Jan.
--~--~---------~--~----~------------~-------~--~----~
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