if you are using the Google Eclipse Plugin to compile your project,  
just select GWT Compile (or hit the GWT Compile button) and in the  
resulting dialog click the disclosure triangle next to the word  
Advanced at the bottom. This will expand a field where you can add  
extra compiler arguments.

If you are using a regular eclipse run configuration, select the  
configuration, and then select the arguments tab. place the switch in  
the "program arguments" section on that tab.

-jason


On May 11, 2009, at 4:21 PM, Fernando wrote:

>
> Hi,
>
> I have the same problem.
>
> Where did you put the switch -war? In the Run Configurations? I'm
> using Eclipse.
>
> Thanks
>
> Fernando
>
> On 3 abr, 06:33, Jan <[email protected]> wrote:
>> 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 theGWToutput is generated into a directory called
>> "WebContent/ModuleName" and you are not obliged to put your static
>> files like yourGWThost 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:
>>
>>> -warsrc/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 to1.6sometime, 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 -warWebContent
>>
>>>>> -jason
>>
>>>>> On Apr 1, 2009, at 12:46 AM, Jan wrote:
>>
>>>>>> DearGWTcommunity,
>>
>>>>>> I am considering usingGWT1.6in a project, but have one major
>>>>>> concern:GWT1.6no 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 theGWTdocumentation pages. It  
>>>>>> would
>>>>>> be great if someone could help me.
>>
>>>>>> Thanks in advance,
>>
>>>>>> Jan.- Ocultar texto de la cita -
>>
>> - Mostrar texto de la cita -
> >


--~--~---------~--~----~------------~-------~--~----~
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