从Google App Engine Java下载代码现在可以使用 - Ubuntu [英] Download code from Google App Engine Java is now possible - Ubuntu

查看:98
本文介绍了从Google App Engine Java下载代码现在可以使用 - Ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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


$ b $

  ./ appcfg.sh help download_app 
AppCfg [options] -A app_id [-V version] download_app<出-DIR>

将以前上传的应用程序下载到指定的目录。应用程序
ID由-A选项指定。可选版本由-V选项指定

我尝试运行上述命令,但它不起作用。



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



谢谢


$ b $ p

更改日志:


AppCfg现在支持download_app,它将下载所有文件
$ b


解决方案

是的,它适用于预发布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应用程序,并且都可以运行。


According to Google's AppEngine Group using the pre-released version 1.5.3 you are able to download you code for Java Applications as well.

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

I tried to run the above command but it is not working.

Did anyone manage to download his/her source code using the above command?

Thanks

The changelog:

AppCfg now supports download_app, which will download all files that were uploaded from your war directory.

解决方案

Yes, it works with the pre-release SDK. I just tried it:

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

Or defining a version:

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

I downloaded a Python and a Java app, and both worked.

这篇关于从Google App Engine Java下载代码现在可以使用 - Ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆