简体   繁体   中英

Uploading different versions in GAE in Java

I'm writing a GAE project in Java and now, I'm trying to create a different version to use it for testing future changes.

I read about modules, app-engine-web.xml ..., but I can't find how to deploy two versions. I have seen posts that say that you can access it by changing the url:

"version"."app_id".app...

But I don't know what files have I to modify.

In appengine-web.xml you can use the version tag to specify a version. Likewise when deploying using appcfg you can use the -v argument to override that value with a different version.

So one approach is to have a production version specified in the config file and a testing version you deploy with

appcfg -v test_version ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM