On Wed, Jul 7, 2010 at 10:39 AM, Alex <monsterno...@gmail.com> wrote:

> i make some code change to my robot, deploy it to app engine.
> wave just keep using the cached version of my robot.
>
> i checked the app engine version for the robot, i only have 1 version
> and its set as default.
> and that version number is the same as my appengine-web.xml
>
> since capabilities.xml is automatically generated, how do i tell the
> wave server that my code has changed?
>
> can we have an option to indicate whether we want the cache feature to
> apply to our robot?
>
> this is very frustrating when the robot is still in development stage.
>
>

You can use several versions of the app when you're doing development. This
is how I do it:

* I use several branches in my VCS (bzr in my case), for example
"flammard-v4" and "flammard-v5", where v4 is the production version and v5
is the development version ;
* I set the app version in app.yaml for each branch (respectively 4 and 5) ;
* In my code, I set a variable for the version number and a boolean for
production, for example VERSION='4' and PRODUCTION=True ;
* When PRODUCTION is True, the bot is flamm...@appspot.com and the URL used
for HTTP requests is http://flammard.appspot.com/%path, when PRODUCTION is
False however, the bot is $version.latest.flamm...@appspot.com and the URL
is http://$VERSION.latest.flammard.appspot.com/%path
* I deploy both versions to appengine and set the production version using
the Versions tab.

This way, my users can use the production version and I can test the dev
version at the same time.


Regards


Raphaël







> --
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to google-wave-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to