Re: javascript in war folder not included after building war file

2009-08-23 Thread 李静
stylesheet src=js/ext/resources/css/ext-all.css /
remove '/' before 'js'


2009/8/22 Frank chenlong...@gmail.com


 Try this way:

 stylesheet src=../js/ext/resources/css/ext-all.css /


 On Jul 4, 11:35 pm, Marko Vuksanovic markovuksano...@gmail.com
 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.

 



-- 
李静

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-08-22 Thread Frank

Try this way:
stylesheet src=../js/ext/resources/css/ext-all.css /

On Jul 4, 11:35 pm, Marko Vuksanovic markovuksano...@gmail.com
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.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-08-22 Thread Frank

Try this way:

stylesheet src=../js/ext/resources/css/ext-all.css /


On Jul 4, 11:35 pm, Marko Vuksanovic markovuksano...@gmail.com
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.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-07-16 Thread Marko Vuksanovic

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 dalla_man...@hotmail.com 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 markovuksano...@gmail.com wrote:



  Aren't these relative paths?

  On Jul 4, 7:01 pm, waf wlod...@gmail.com wrote:

   Hi,

   Try to use relative paths to your resources.

   --
   waf

   On 4 Lip, 17:35, Marko Vuksanovic markovuksano...@gmail.com 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-07-16 Thread Thomas Broyer



On 15 juil, 09:06, Marko Vuksanovic markovuksano...@gmail.com wrote:
 Aren't these relative paths?

They are relative URL references, but absolute paths: remove the
leading slash:
stylesheet src=js/ext/resources/css/ext-all.css /


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-07-15 Thread Marko Vuksanovic

Aren't these relative paths?

On Jul 4, 7:01 pm, waf wlod...@gmail.com wrote:
 Hi,

 Try to use relative paths to your resources.

 --
 waf

 On 4 Lip, 17:35, Marko Vuksanovic markovuksano...@gmail.com 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-07-15 Thread Dalla

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 markovuksano...@gmail.com wrote:
 Aren't these relative paths?

 On Jul 4, 7:01 pm, waf wlod...@gmail.com wrote:



  Hi,

  Try to use relative paths to your resources.

  --
  waf

  On 4 Lip, 17:35, Marko Vuksanovic markovuksano...@gmail.com 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



javascript in war folder not included after building war file

2009-07-04 Thread Marko Vuksanovic

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 type http://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 at http://localhost:8080/js/ext..
and it should be looking for them at http://localhost:8080/project/js/ext.

Any help on this issue would be greatly appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: javascript in war folder not included after building war file

2009-07-04 Thread waf

Hi,

Try to use relative paths to your resources.

--
waf

On 4 Lip, 17:35, Marko Vuksanovic markovuksano...@gmail.com 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.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---