Re: [google-appengine] appengine provided libs for java
You could probably still do without the labs jar - I think that is all optional APIs. (Assuming, of course, that you don't actually use any of the labs APIs. And, caveat - I haven't actually tried it.) - Kris On Tuesday, February 18, 2014 11:48:06 AM UTC-8, Rafael Sanches wrote: > > 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 >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 google-appengi...@googlegroups.com . >> To post to this group, send email to >> google-a...@googlegroups.com >> . >> 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 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/groups/opt_out.
Re: [google-appengine] appengine provided libs for java
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 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 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/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 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/groups/opt_out.
[google-appengine] appengine provided libs for java
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 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/groups/opt_out.