2
我需要的參數在Eclipse添加到我的App Engine運行配置在文本框中程序參數的標籤參數,如https://developers.google.com/appengine/docs/java/cloud-sql/developers-guide谷歌的Eclipse插件:如何添加JVM參數在運行配置
--jvm_flag=-Drdbms.server=local
--jvm_flag=-Drdbms.driver=com.mysql.jdbc.Driver
--jvm_flag=-Drdbms.url=jdbc:mysql://localhost:3306/yourdatabase?user=username&password=password
提到
但我總是越來越快,錯誤:
Usage: <dev-appserver> [options] <app directory>
Options:
--help, -h Show this help message and exit.
--server=SERVER The server to use to determine the latest
-s SERVER SDK version.
--address=ADDRESS The address of the interface on the local machine
-a ADDRESS to bind to (or 0.0.0.0 for all interfaces).
--port=PORT The port number to bind to on the local machine.
-p PORT
--sdk_root=DIR Overrides where the SDK is located.
--disable_update_check Disable the check for newer SDK versions.
--generated_dir=DIR Set the directory where generated files are created.
--jvm_flag=FLAG Pass FLAG as a JVM argument. May be repeated to
supply multiple flags.
我做錯了什麼?
這是有用的,但我添加的參數在下一次運行配置時被刪除。 – honzajde
這可能是Google Plugin for Eclipse中的一個錯誤,我提出了一個問題[這裏](http://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=99&thanks=99&ts = 1358638198)。 – yorkw
好。看起來我是世界上唯一使用它的人:-) – honzajde