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/DevGuideOrganizingProjects.html#DevGuideModules --Dalla http://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 - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
