i read somewhere in
https://groups.google.com/group/google-appengine-java/browse_thread/thread/60ea6c16f1f0dab9/d1792c101518ed0f?lnk=gst&q=restart#d1792c101518ed0f
that i can restart the app in app engine by going to admin and disable
application then re-enable it.

that does not work too.
after i disabled it, i create a new wave, add the robot in, i was
expecting error since i have disable it in app engine. but what i get
is that the robot still work as it is before i disable it.

im not sure about whether app engine is doing the caching or wave
server, i just want the caching feature to be disabled on both app
engine and wave server


On Jul 12, 12:27 pm, Alex <monsterno...@gmail.com> wrote:
> ok, let say i have a robot that say "Hi" when it is added
>
> i deploy it, and it works as expected.
>
> then i change it to "Hi everyone" when it is added
> i deploy it, and it still say "Hi" instead of "Hi everyone"
>
> i notice that i have to wait for a few days for the "Hi everyone" to
> take effect
>
> what i wanna know is that is there any way to make the change take
> immediate effect?
>
> On Jul 8, 8:58 pm, Raphaël Pinson <raph...@gmail.com> wrote:
>
> > On Thu, Jul 8, 2010 at 2:41 PM, Alex <monsterno...@gmail.com> wrote:
> > > im kinda confused, did u register 2 robot in appspot?
>
> > No, I use one appspot identifier. I just update the version number for my
> > app in the app.yaml. For example, my current development version has:
>
> > application: flammard
> > version: 5
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /_wave/.*
> >   script: biblebot2.py
> > - url: /assets
> >   static_dir: assets
> > - url: /.*
> >   script: bibleweb.py
>
> > Since I have 5 versions of the bot working now. Version 4 is the production
> > version, as selected in the Versions link on the appengine interface, while
> > versions 1 through 3 can still be accessed but are not not default.
>
> > > doesnt the wave server still cached both of them?
>
> > I'm not sure what you mean by that.
>
> > > anyway, my robot has no production version, and im the only user who
> > > is using/testing it.
> > > so its not really a problem of having 2 version, i only have 1 version
> > > and i want to keep changing the code on that version since im the only
> > > user using it.
>
> > OK. I haven't experienced any caching kind of effect (at least using the
> > python API). When I update my robot (even without changing the version of
> > it), I get the new functionalities immediatly. Adding logging in your code
> > can help you debug this kind of behaviour in the appengine logs.
>
> > > or r u suggesting that i should keep deploying it as a new version to
> > > appspot and settign it to default?
>
> > No, that's not what I suggested :-) As a matter of fact, I deployed by bot
> > far more than 5 times in total :-)
>
> > Raphaël
>
> > > On Jul 7, 6:51 pm, Raphaël Pinson <raph...@gmail.com> wrote:
> > > > 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 ishttp://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>
> > > <google-wave-api%2bunsubscr...@googlegroups.com<google-wave-api%252bunsubscr...@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<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