2013-02-18 63 views
2

下面是我试图执行从AppEngine上下载源代码,该代码:无法下载代码的AppEngine - Java的

/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. 

任何人都可以帮我吗?


我试了下面,它的工作。

步骤1: JDK /斌/ appcfg.sh -A < apppid> -V <版本> download_app <目录>

实施例:

/用户/桌面/应用服务引擎的Java -sdk-1.7.4/bin中/ appcfg.sh -A testapp -V 23 download_app〜/桌面/ backupdata /下载/

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

注: 使用步骤2中,如果您遇到了以下错误:

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

+0

添加目标目录你想要代码去在命令的末尾? – 2013-02-18 18:49:44

+0

试过,没有运气:( – Sridhar 2013-02-19 08:45:39

回答

2

的选项之前,应该去的命令:

appcfg.sh -A maharasims2 -V 23 download_app . 
+0

试过,没有运气:( – Sridhar 2013-02-19 08:46:36