Sean, Thanks for verifying the case. It's been mind-boggling. I couldn't understand why it behaved that way ever since I started using CFMX. Such didn't happen in CF 5 cos there isn't any compilation and caching of servlet class to the server's memory.
I'm not familiar with Touch utils. Correct me if i'm wrong, it is a util to update the file's timestamp to the current system time. And thus, CFMX server would be able to detect the 'new' files and recompile them. Sounds like a good solution. I'll give it a try. Anthony -----Original Message----- From: Sean A Corfield [mailto:sean@;corfield.org] Sent: Tuesday, November 12, 2002 6:31 AM To: CF-Talk Subject: Re: CFMX & Classes On Sunday, Nov 10, 2002, at 09:20 US/Pacific, Anthony Wong wrote: > On the timestamp issues brought up by Joe, does CFMX checks the time > stamp > between the .cfm file and the .class file to see if the .cfm file > should be > compiled? Is that the mechanism? In essence, yes. > I understand that if a newer cfm file is loaded into the server, CFMX > will > automically recompile and store the servlet in the server cache. In > the case > if an older but exact cfm file was being reloaded into the same > server, CFMX > doesn't seem to be reconized this change (class file is newer than the > cfm > file now). Would that be true? I would expect that to be the case, yes. > I'm having such a problem each time i had to > change the files for demo. Having to delete the class files in the > web-inf/classes and restart the server each time is quite cumbersome > after > doing it for dozens of times. On UNIX, you can just 'touch' the file to update the timestamp. I don't know if a similar utility exists for Windows. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone." -- Bjarne Stroustrup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

