Thanks a lot for this tip. it worked great, i didn't know that GAE people gave an in-build for this problem.
- Avadh On Fri, Nov 14, 2008 at 6:31 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi Avadh, > > here is the solution... > > 1. create a zip files with your static context. The file must be less > than 1MByte (see GAE restrictions). say that you call it static.zip > 2. copy it in the same directory where app.yaml is. > 3. place these two lines in app.yaml: > > - url: /static/.* > script: $PYTHON_LIB/google/appengine/ext/zipserve > > > wuala !!! it should work > > On 14 nov, 15:35, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > > yea... that sounds good... something to serve static content from a > > zip....... I guess that it would be few lines of code... please let us > > know if you success in that ! > > > > On Nov 14, 2:37 pm, "avadh patel" <[EMAIL PROTECTED]> wrote: > > > > > sebastian:One thing you can try is to put the static files into the zip > and > > > use a python wrapper that will unzip, open and return that file > contents as > > > response. You can use cStringIO module for that. > > > > > I haven't tried this solution yet, but I will try this tonight (because > if > > > it works then it solves lots of my problems too). > > > > > Let me know if you get it working. > > > > > - Avadh > > > > > On Fri, Nov 14, 2008 at 8:46 AM, avadh patel <[EMAIL PROTECTED]> > wrote: > > > > Well one thing is that worked for me is I have two modules in my GWT > and > > > > both references to Ext library.They both reference to common files so > I > > > > created a common directory and in GAE's app.yaml i make sure that > request > > > > from multiple modules get their files from common folder. > > > > > > - Avadh > > > > > > On Fri, Nov 14, 2008 at 6:45 AM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > > > >> that reduces the no of python files... but as I am not using django > > > >> and I am > > > >> implementing only REST services the no of python files is already > very > > > >> limited.... > > > > > >> the problem that I am having is specifically with GWT ext. In fact > the > > > >> www > > > >> folder produced by GWT contains 1200 files... (My application is a > > > >> simple > > > >> copy and past of GWT ext ux grid example)... > > > > > >> any ideas better than use the competitor ext GWT ? > > > > > >> On Nov 14, 2:36 am, "avadh patel" <[EMAIL PROTECTED]> wrote: > > > >> > I am also using GWT ext with GAE and to compress files, one option > is to > > > >> > compress your python files. > > > >> > Use this link: > > > >> > http://appengine-cookbook.appspot.com/recipe/package-libs-as-zipfiles... > > > > > >> > i use it to compress my un-frequently used library files. > > > >> > If anyone has a solution to reduce no of files of Ext then it > would be > > > >> great > > > >> > for me also. :) > > > > > >> > - Avadh > > > > > >> > On Thu, Nov 13, 2008 at 10:52 PM, [EMAIL PROTECTED] < > > > > > >> > [EMAIL PROTECTED]> wrote: > > > > > >> > > Hi All, > > > > > >> > > I'd like to use GWT ext to create the FE of a Google Application > > > >> > > Engine (GAE) app. The problem is that GAE allows to upload only > 1000 > > > >> > > files and the files included in GWT are much more... is there > any way > > > >> > > to reduce the number of file ? (see the JS libraries for > example) > > > > > >> > > thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" 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/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
