2013-02-18 62 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