For the generated Reactor files all you have to do is delete everything
under your project directory (I have used a hacked "deldirtree" function
to do that) and then restart your application - at that time, Reactor
will recreate all the necessary files.
 
I haven't worked with the template cache, but I suppose something
similar should work.
 
HTH.
 
Wouter

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeff Roberson
Sent: woensdag 23 mei 2007 15:47
To: [email protected]
Subject: Re: [Reactor for CF] Resetting Production Mode


Where is the code that can reload and delete the Generated files?  Is
this part of reactor? 



On May 22, 2007, at 4:36 PM, Brian Kotek wrote:


        We have some code that we can use to trigger a full reload,
including deleting the generated Reactor files and clearing the template
cache (using the Admin API). You probably want to single thread this
though (with cflock) in case any other requests come in while this is
happening. This is useful when database changes have happened. If you
just need it to pick up changes to the Reactor XML file, you can just
reload the Reactor factory also using some sort of reload trigger
(reload=true or whatever on the URL, and a password URL value or
something if you want to stop others from being able to run it). 


        On 5/22/07, Jeff Roberson <[EMAIL PROTECTED]> wrote: 

                What is the process for resetting reactor when you make
production
                changes?

                Is there a "best" way to do it?

                Jeff Roberson


                -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- 
                Reactor for ColdFusion Mailing List
                [EMAIL PROTECTED]
                Archives at:
http://www.mail-archive.com/reactor%40doughughes.net/ 
                -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- --





        -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- --
        Reactor for ColdFusion Mailing List
        [EMAIL PROTECTED]
        Archives at:
http://www.mail-archive.com/reactor%40doughughes.net/
        -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- 


-------------------------------------------------------------
Dexia Bank disclaimer :
<a href="http://www.dexia.be/maildisclaimer.htm"; 
target=_blank>http://www.dexia.be/maildisclaimer.htm</a>
------------------------------------------------------------- 
   

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to