如何或在何处使用 phonegap 和 mgwt 在 Eclipse 中为 vm 参数设置参数

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11785675/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:44:12  来源:igfitidea点击:

how or where to set parameters for vm arguments in eclipse using phonegap and mgwt

eclipsegwtcordovavirtual-machinemgwt

提问by Pero

iam using mgwt and phonegap for my mobile web project and iam working with eclipse. to use phonegap in my project i need to set two parameters to vm arguments which are described below on this side.

我在我的移动网络项目中使用 mgwt 和 phonegap,我在使用 eclipse。要在我的项目中使用 phonegap,我需要为 vm 参数设置两个参数,这些参数将在下面描述。

http://code.google.com/p/gwt-phonegap/wiki/FileModule

http://code.google.com/p/gwt-phonegap/wiki/FileModule

these are the two parameters. -DinsecurePhoneGapFileApi=true

这是两个参数。-DinsecurePhoneGapFileApi=true

-DphonegapFilePath="path to the directory you want to use"

-DphonegapFilePath="您要使用的目录的路径"

i really dont know where or how to add these paramaters.

我真的不知道在哪里或如何添加这些参数。

please help.

请帮忙。

回答by Daniel Kurka

In your runtime configuration in eclipse under the arguments tab you can pass parameters to your jvm, see:

在 eclipse 的运行时配置中的参数选项卡下,您可以将参数传递给 jvm,请参阅:

screen shot eclipse

屏幕截图日食