The class : com.google.api.client.googleapis.auth.oauth2.GoogleCredential Requires a certifcate file as a parameter when creatign an instance.
I am using Jersey on google app engine, if I open my file (which is in resources) using guava Resources everything works fine locally, however on deployment to app engine I get URI is not Hierarchical error.
So I should use getResourceAsStream and convert to temporary file ...
BUT google app engine restricts usage of FileOutputStream (its not allowed to be used).
Is there any way to create a temp file from an inputstream without using FileOutputStream ... or is anyone familar with a different way of using the google OAuth api