I haven't done this, but I'm certain the problem is solveable.  Two
strategies come to mind offhand:

 1) Package your class files into a jar in WEB-INF/lib as you describe.

This is pretty straightforward if you use ant to deploy.  I don't know
if there are any hooks in the google plugin for Eclipse that will let
you continue to use the deploy button.

 2) Package your generated GWT permutations into a jar file and serve
them using a servlet.

You'll need to perform the packaging (again, maybe with ant) of your
gwt output dir into a jar.  Then you'll need to create a servlet that
maps the requests into a read from the jar.  The easiest way is
probably to put the jar in WEB-INF/lib and use
Thread.currentThread().getContextClassLoader().getResource().

The good news is that requests for *.html and *.jpg are treated as
static files, so they get cached on google's CDN.  You won't be
reading from the jar all the time.

Jeff

2010/3/29 François Masurel <fm2...@mably.com>:
> Does anybody at Google have a suggestion for me ?
>
> I'm willing to pay to be able to increase my maximum allowed number of
> files as I really need it.
>
> Is it possible to automatically replace WEB-INF/classes by one jar in
> WEB-INF/lib ?  I can do it by hand and it works, but it's not very
> practical to do.
>
> Related issues :
>
> http://code.google.com/p/googleappengine/issues/detail?id=1727 ->
> Including multiple eclipse projects on the classpath
> http://code.google.com/p/googleappengine/issues/detail?id=1579 -> WEB-
> INF/classes should count as one file in file count quota
>
> Any help would be greatly appreciated.
>
> François
> Bordeaux, FRANCE
>
> On 29 mar, 13:51, Francois MASUREL <f.masu...@gmail.com> wrote:
>> Thanx for your answer.
>>
>> You mean I can serve GWT generated javascript files and other resources from
>> a ZIP file via a request handler ?
>>
>> Has anybody done this already ?  Any code samples around ?
>>
>> Thanx again.
>>
>>
>>
>> On Mon, Mar 29, 2010 at 1:41 PM, djidjadji <djidja...@gmail.com> wrote:
>> > You can make a zip file and serve the files from it with a request handler.
>> > Maximum zip file size is 10Mb.
>>
>> > 2010/3/28 François Masurel <fm2...@mably.com>:
>> > > Hi,
>>
>> > > While trying to deploy our internationalized GWT 2.0 application into
>> > > production we encountered the error : "Applications are limited to
>> > > 3000 files, you have 3956.".
>>
>> > > In fact, while developping we were limiting ourselves to one language
>> > > and one browser and had no problem. But once when we activated  a few
>> > > more languages and all browsers, we couldn't deploy our months of work
>> > > application anymore.  It's very annoying.
>>
>> > > Is there anyway to increase the 3000 files limit ?
>>
>> > > Thanx a lot for your help.
>>
>> > > François
>> > > Bordeaux, FRANCE
>>
>> > > App ID : i-wands
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > > To post to this group, send email to google-appeng...@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib
>> >  e...@googlegroups.com>
>> > .
>> > > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appeng...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib
>> >  e...@googlegroups.com>
>> > .
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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

Reply via email to