Google App Engine: appcfg.py rollback

前端 未结 19 1879
误落风尘
误落风尘 2020-12-08 07:24

I\'m using Windows 7 and for the life of me I cannot figure out how to call the rollback function on appcfg.py. All I want to know is what to type into the command prompt so

19条回答
  •  被撕碎了的回忆
    2020-12-08 07:51

    I am using 64 bit Windows7 with GAE-Java Typing all this detail at the command prompt can be frustrating. My solution: create a batch file.

    1. I created a batch file named 'rollback.bat' & saved it in my WORKSPACE directory. The contents look like this:

      cd C:\Users\Organize4Joy\My Code\EclipseWORKSPACE\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.8.3\appengine-java-sdk-1.8.3\bin\appcfg.cmd rollback C:\Users\Organize4Joy\EclipseWORKSPACE\iTreewareMAIN\war
      
    2. run the batch file by simply typing "rollback" this local utility changes directory, runs the appcfg rollback EXE & points it to my war directory.

    Even better would be to establish a common utility(bin) directory and add it to my path variable. That way I can run this utility from anywhere.

提交回复
热议问题