在 Google App Engine 上配置 Quercus
我目前正在与 GAE 合作,并试图弄清楚是否有某种方法可以在 GAE 上运行 php。幸运的是,我遇到了 Quercus,并且非常高兴地发现它拥有我需要的一切。
但现在的问题是,一旦我将resin.jar包含到WEB-INF/lib文件夹中并尝试使用eclipse中的google插件更新应用程序,它就会给我一个错误,说jar文件的大小很大,建议我添加了 --enable_jar_splitting
标志。
现在我浏览了很多网站,人们都遇到了类似的问题。那么我该怎么做才能克服这个问题呢?
简而言之,这就是我正在寻找的内容: 1.无论哪种方式都可以在 eclipse 插件中包含此标志 2.找到一种分割jar文件的方法。
解决方案:
当前实现上述操作的唯一方法是使用 sdk/bin 文件夹中存在的命令行实用程序 - appcfg.sh
appcfg.sh --enable_jar_splitting -e [email protected] update /path/to/war/file
PS:假设您已将 bin 文件夹的路径添加为环境变量。
I am currently working with GAE and was trying to figure out if there was some way that I can run php on GAE. Fortunately, I came across Quercus and was very happy to find that it had all that i needed.
But the problem now is that once I include the resin.jar to the WEB-INF/lib folder and try to update app using the google plugin in eclipse, it gives me an error saying that the size of the jar file is big and recommends me adding --enable_jar_splitting
flag.
Now I have gone through a lot of sites where people have had similar problems. So what do I do to overcome this?
So here's what I am looking for in short:
1. Either a way to include this flag in the eclipse plugin
2. Finding out a way to split the jar file.
SOLUTION:
The only way that the above is currently possible is by using the command line utility present in the sdk/bin folder called - appcfg.sh
appcfg.sh --enable_jar_splitting -e [email protected] update /path/to/war/file
PS: It is assumed that you have added the path to the bin folder as a environmental variable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论