现在可以从Google App Engine Java下载代码 - Ubuntu

时间:2011-08-09 18:07:20

标签: java google-app-engine

Google的AppEngine Group使用预发布的1.5.3版本,您也可以下载Java应用程序的代码。

./appcfg.sh help 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.

我试图运行上面的命令,但它无法正常工作。

有没有人设法使用上述命令下载他/她的源代码?

由于

更改日志:

  

AppCfg现在支持download_app,它将下载所有文件   从你的战争目录上传。

2 个答案:

答案 0 :(得分:2)

是的,它适用于预发布SDK。我刚尝试过:

$ mkdir /path/to/my/backup/dir
$ ./appcfg.sh -A myappid download_app /path/to/my/backup/dir

或定义版本:

$ ./appcfg.sh -A myappid -V 2 download_app /path/to/my/backup/dir

我下载了一个Python和一个Java应用程序,两者都有效。

答案 1 :(得分:0)

在Developer网站上,它提供了以下代码: Google-Developer

/appcfg.sh download_app -A <your_app_id> -V <your_app_version> <output-dir>

我试过它没用。有些文章download_app出现在<output-dir>

之前

所以我尝试了这样,它工作正常:

/appcfg.sh -A <your_app_id> -V <your_app_version> download_app <output-dir>
相关问题