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
2010/3/28 François Masurel <fm2...@mably.com>:
> --
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>
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
> > google-appengi...@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-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib e...@googlegroups.com>
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>:
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
On Mar 29, 9:25 pm, Jeff Schnitzer <j...@infohazard.org> wrote:
>
> 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.
Are you sure? Is this documented anywhere?
That's what the documentation seems to say, although I haven't tested it:
http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html
and
http://code.google.com/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files
Jeff