I understand you can generate Endpoint class in Eclipse
我知道你可以在Eclipse中生成Endpoint类
https://developers.google.com/eclipse/docs/endpoints-addentities
https://developers.google.com/eclipse/docs/endpoints-addentities
It there similar way to do it in IntelliJ or you have to do it manually, if so how?
在IntelliJ中有类似的方法,或者你必须手动完成,如果是这样的话?
1 个解决方案
#1
2
Reference this project's maven build file (pom.xml) and see that it has the appengine plugin installed into it. This makes it so you don't have to install the UI plugin into Android Studio or Eclipse but you get the same AppEngine SDK functionality via maven dependencies.
引用该项目的maven构建文件(pom.xml),看看它是否安装了appengine插件。这使得您无需将UI插件安装到Android Studio或Eclipse中,但您可以通过maven依赖项获得相同的AppEngine SDK功能。
You'll also need the nbactions.xml file defined in that project as well as src/main/webapp/WEB-INF/web.xml and src/main/webapp/WEB-INF/appengine-web.xml files defined similar to the github project. After you configure these files then Cloud Endpoints should work and you should be able to run 'mvn install appengine:devserver' or invoke the same goal from Eclipse or IntelliJ UIs.
您还需要在该项目中定义的nbactions.xml文件以及src / main / webapp / WEB-INF / web.xml和src / main / webapp / WEB-INF / appengine-web.xml文件定义类似于github项目。配置这些文件之后,云端点应该可以工作,您应该能够运行'mvn install appengine:devserver'或从Eclipse或IntelliJ UI调用相同的目标。
Upon successful deployment http://localhost:8080/_ah/api/explorer
will get you to the API explorer.
成功部署后,http:// localhost:8080 / _ah / api / explorer将带您进入API资源管理器。
#1
2
Reference this project's maven build file (pom.xml) and see that it has the appengine plugin installed into it. This makes it so you don't have to install the UI plugin into Android Studio or Eclipse but you get the same AppEngine SDK functionality via maven dependencies.
引用该项目的maven构建文件(pom.xml),看看它是否安装了appengine插件。这使得您无需将UI插件安装到Android Studio或Eclipse中,但您可以通过maven依赖项获得相同的AppEngine SDK功能。
You'll also need the nbactions.xml file defined in that project as well as src/main/webapp/WEB-INF/web.xml and src/main/webapp/WEB-INF/appengine-web.xml files defined similar to the github project. After you configure these files then Cloud Endpoints should work and you should be able to run 'mvn install appengine:devserver' or invoke the same goal from Eclipse or IntelliJ UIs.
您还需要在该项目中定义的nbactions.xml文件以及src / main / webapp / WEB-INF / web.xml和src / main / webapp / WEB-INF / appengine-web.xml文件定义类似于github项目。配置这些文件之后,云端点应该可以工作,您应该能够运行'mvn install appengine:devserver'或从Eclipse或IntelliJ UI调用相同的目标。
Upon successful deployment http://localhost:8080/_ah/api/explorer
will get you to the API explorer.
成功部署后,http:// localhost:8080 / _ah / api / explorer将带您进入API资源管理器。