I tried removing those files in my maven script and it decreased the final
instance size by 20mb.

The problem is that it doesn't work, because everytime I try to do
something on the production instances it explodes:

java.lang.NoClassDefFoundError: com/google/appengine/api/utils/SystemProperty

Sadily, it seems that the appengine deploy script has to upload all the jar
classes, instead of uploading just the interface stubs.

I wish they would fix this, but Java seems to be something that they regret
ever supporting..

thanks
rafa


On Tue, Feb 18, 2014 at 10:23 AM, husayt <[email protected]> wrote:

> I am trying to cut down the size of deployed java app.
>
> The two largest files are:
>
>    - appengine-api-labs-1.8.9.jar
>    - appengine-api-1.0-sdk-1.8.9.jar
>
> I am wondering, if I do have to deploy these libs. These files are part of
> GAE framework and I guess they would be expected to already exist on GAE
> servers.So why not to mark them as provided?
>
> What is the recommended way to go about them?
>
>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to