2

以下是我尝试执行以从 AppEngine 下载源代码的代码:

/Users/sridhar/Desktop/backupdata/appengine-java-sdk-1.7.4/bin/appcfg.sh download_app -A maharasims2 -V 23 download_app .

我收到错误格式错误:

Bad argument: Expected download directory as an argument after download_app.
AppCfg [options] -A app_id [ -V version ] download_app <out-dir>

Download a previously-uploaded app to the specified directory.  The app
ID is specified by the "-A" option.  The optional version is specified
by the "-V" option.

谁能帮我吗?


我尝试了以下方法,它奏效了。

第一步: jdk/bin/appcfg.sh -A <apppid> -V <版本> download_app <目录>

例子 :

/Users/Desktop/appengine-java-sdk-1.7.4/bin/appcfg.sh -A testapp -V 23 download_app ~/Desktop/backupdata/downloads/

第 2 步: http: //architecturalatrocities.com/post/19073788679/fixing-the-trustanchors-problem-when-running-openjdk-7

注意: 如果遇到以下错误,请使用第 2 步:

“java.security.InvalidAlgorithmParameterException:trustAnchors 参数必须非空”

4

1 回答 1

2

选项应该命令之前:

appcfg.sh -A maharasims2 -V 23 download_app .
于 2013-02-18T19:22:34.677 回答