On Thursday, July 17, 2014 8:54:02 PM UTC-7, Rodrigo Teixo wrote:
>
> Hi All,
>
> After I updated from Google Eclipse Plugin from 3.4.2 to 3.6.0, it cannot 
> let me deploy. The message error is:
> *Applications are limited to 157286400 bytes of resource files, you have 
> 212567564.*
>
> I backup my eclipse version before de update and I could deploy again with 
> no code alteration.
>
> Its is very strange cause the staging directory after the end of 
> permutation is about 2.6Mb. Its much more during the compile. 
>
>
> I found something very curious searching for a solution for this error. I 
> found the snipet of code of appengine that produces this message in this 
> link:
>
>
> http://code.google.com/p/googleappengine/source/browse/trunk/java/src/main/com/google/appengine/tools/admin/AppVersionUpload.java
>
> if (resourceTotal > resourceLimits.maxTotalFileSize()) {
>       throw new LocalIOException("Applications are limited to "
>           + resourceLimits.maxTotalFileSize() + " bytes of resource 
> files, "
>           + "you have " + resourceTotal + ".");
>     }
>
> And on same page looking for how resourceTotal is calculated we see that 
> is the sum of size of files relative to a variable called *basepath*.
>
> Looking for how this variable is initiated we find out this function:
>
> private File getBasepath() {
>     File path = app.getStagingDir();
>     if (path == null) {
>       path = new File(app.getPath());
>     }
>     return path;
> }
>
> Look that it uses the staging directory, but if for some reason could not 
> return it uses de app directory witch in my case, the war directory is much 
> more than 150Mb and I think its my case.
>
> This code is very strange, cause if the staging directory could not be 
> returned it should gives a error and not make this adjustment that could 
> end in a quota limit.
>
> I am completed tied in this bug, cause its brings a lot of insecurity if 
> I could not deploy with new updates of google plugin.
>
>
> Aditional info:
> 1 - That deploy folder is outside of the war directory with the -deploy 
> and -extra parameters.
> 2 - I have about 50 jars with total 17Mb in WEB-INF/lib folder. With the 
> jars generated by appengine and gwt it goes to about 68Mb in the 
> WEB-INF/lib folder.
> 3 - In my current app, under the versions tab of appengine dashboard the 
> sizes of the deployed versions are all more de 150Mb. (are this the same 
> number of the limit?)
> 4 - I updated the latest versions gwt (2.6.0) and appengine(1.9.7) and 
> could deploy normally. I just cant update the Eclipse Plugin to 3.6.0.
>
> Any help would be very appreciated.
> [],
> Rodrigo.
>

Hi Rodrigo,

This bug was fixed back in May and should be in the 1.9.7 SDK.  Is the GPE 
configured to use 1.9.7?  See 
https://developers.google.com/eclipse/docs/using_sdks. If you configure the 
GPE to use 1.9.7 but still see this issue let us know. Worst case you can 
launch your configuration that uses GPE 3.4.2, look at which AppEngine SDK 
it is using, and configure your GPE 3.6.0 version to use that SDK.

--Terry

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to