Old
旧
I need to work on the iOS version of my app. The App-Engine and Android portions are completed using the Google Eclipse Plugin (GPE). In the Official Google Documentations I am told the easiest way is to use maven. Does anyone know how I might add maven to the App-Engine portion of my “connected” project?
我需要处理我的应用程序的iOS版本。 App-Engine和Android部分使用Google Eclipse插件(GPE)完成。在Google官方文档中,我被告知最简单的方法是使用maven。有谁知道如何将maven添加到我的“连接”项目的App-Engine部分?
Apparently I only need to add the following one line in the maven file
显然我只需要在maven文件中添加以下一行
mvn appengine:endpoints_get_discovery_doc
Update
更新
Again, I need to get the iOS client for an endpoint project that I created with the Google Eclipse Plugin as an App-engine Connected Android Project. From eclipse I simply do [Right Click] > Google > Generate Cloud Endpoint Client Library
and it generates the library for android. But now I just look in my war directory and I see three files: myendpoint-1-rest.discovery
, myendpoint-1-rcp.discovery
, myendpoint-1-rest.api
.
同样,我需要为我使用Google Eclipse插件创建的端点项目获取iOS客户端作为App-engine Connected Android Project。从eclipse我只需做[右键]> Google>生成云端点客户端库,它就会为android生成库。但现在我只看一下我的war目录,我看到三个文件:myendpoint-1-rest.discovery,myendpoint-1-rcp.discovery,myendpoint-1-rest.api。
Now this is a wild guess, but are these the files I need for iOS and JavaScript? Or must I follow the instructions in the official docs to get the discovery files for iOS? What I mean is I have not generated the files per the instructions but I have used the GPE for creating the endpoints for android. Does GPE create the necessary clients for iOS and JavaScript as well? I cannot find any documentation on that.
现在这是一个疯狂的猜测,但这些是我需要的iOS和JavaScript文件吗?或者我必须按照官方文档中的说明获取iOS的发现文件吗?我的意思是我没有按照说明生成文件,但我使用GPE为android创建端点。 GPE是否也为iOS和JavaScript创建了必要的客户端?我找不到任何相关文档。
1 个解决方案
#1
0
Javascript client only needs to include script https://apis.google.com/js/client.js. You can load your API using
Javascript客户端只需包含脚本https://apis.google.com/js/client.js。您可以使用加载API
gapi.client.load('api-name', 'v1', callback, 'https://app_id.appspot.com/_ah/api');
Objective-C client needs some extra work after generating your discovery doc.
生成发现文档后,Objective-C客户端需要一些额外的工作。
#1
0
Javascript client only needs to include script https://apis.google.com/js/client.js. You can load your API using
Javascript客户端只需包含脚本https://apis.google.com/js/client.js。您可以使用加载API
gapi.client.load('api-name', 'v1', callback, 'https://app_id.appspot.com/_ah/api');
Objective-C client needs some extra work after generating your discovery doc.
生成发现文档后,Objective-C客户端需要一些额外的工作。