Well I really doubt that is the problem - The problem is only with the
extjs libraray (which is located in the ext folder) - all other
librarys and folders get copied.

At the moment, I have bypassed the problem by creating an ant script
and specifying a target which copies the ext folder to the appropriate
folder in the war\<modulename>\ fodler.

On the other hand, I still have the problem with the deployed project
and its looking in the wrong place for resources.... Any help would
really be appreciated...

Following is the code I use in my gwt.xml file... if i specify module
name in the script path it seems to work but If i ommit that
information the deployed application looks in the wrong place.... I
guess this might be a bug because ommiting the information does not
cause any problem is the hosted mode.. nor there are problems if I use
"browse/compile" button in the window that is shown by the gwt hosted
mode...

<module rename-to='myModule'>
   ....
      <script src="/myModule/js/ext/ext-all.js" />
   ....
</module>

On Jul 15, 6:16 pm, Dalla <[email protected]> wrote:
> As I recall it, putting thing directly in the war folder is not a good
> idea,
> since those will be removed when you compile your GWT-project.
>
> Instead, create a directory named "public" in your root package,
> any files put in the public directory or sub directories there of,
> will be copied to your war folder on compile.
>
> You can read more about the public directory here:
>
> http://code.google.com/intl/sv-SE/webtoolkit/doc/1.6/DevGuideOrganizi...
>
> --Dallahttp://date-time.appspot.com/
>
> On 15 Juli, 09:06, Marko Vuksanovic <[email protected]> wrote:
>
>
>
> > Aren't these relative paths?
>
> > On Jul 4, 7:01 pm, waf <[email protected]> wrote:
>
> > > Hi,
>
> > > Try to use relative paths to your resources.
>
> > > --
> > > waf
>
> > > On 4 Lip, 17:35, Marko Vuksanovic <[email protected]> wrote:
>
> > > > I have copied ext-js library into war folder of my gwt project. Then I
> > > > have included it in my project.gwt.xml file as follows:
>
> > > >         <stylesheet src="/js/ext/resources/css/ext-all.css" />
> > > >         <stylesheet src="/js/ext/resources/css/xtheme-slate.css" />
> > > >         <script src="/js/ext/adapter/ext/ext-base.js" />
> > > >         <script src="/js/ext/ext-all.js" />
> > > >         <script src="/js/gridsearch/ext-ux-grid-search.js" />
> > > >         <script src="/js/livegrid/livegrid-all.js" />
> > > >         <script src="/js/livegrid/BufferedStore.js" />
> > > >         <script src="/js/mif/ext-ux-miframe.js" />
>
> > > > after building the project, using the ant script that was created by
> > > > the gwt sdk command line tool, the ext folder is not included in the
> > > > <modulename>\js\ folder (nor in the <modulename>).
>
> > > > There is also one more problem that I encountered - When I deploy the
> > > > war file onto a server- when I typehttp://localhost:8080/project
> > > > (which is the name of the war file as well as the gwt project itself)
> > > > the application looks for the javascript files 
> > > > athttp://localhost:8080/js/ext..
> > > > and it should be looking for them 
> > > > athttp://localhost:8080/project/js/ext.
>
> > > > Any help on this issue would be greatly appreciated.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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