Thanks Charlie. I'll test it out today.

Max
----- Original Message ----- From: "Charlie Arehart" <[EMAIL PROTECTED]>
To: <discussion@acfug.org>
Sent: Thursday, October 12, 2006 8:19 PM
Subject: RE: [ACFUG Discuss] Recompiling on the fly


No, it doesn't. And that wouldn't be "CF"  but the editor. Perhaps someday
the CFEclipse Plug-in may offer this, but until then, no, you're on your own to either tickle the file or use the CF 7 Admin option (as Doug pointed out)
or run the cfcompile on your own--though it's not file-specific. Doug made
another point which is probably your real answer, and I'm sorry I didn't
think to say it: turn off the "save class files" option in the Admin. I bet
your problems will go away.

/charlie
http://www.carehart.org/blog/

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Immelman
Sent: Thursday, October 12, 2006 5:47 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Recompiling on the fly

Charlie,

I know in VS (building .net app) you press the F5 key to compile and load in
debug mode or ctrl F5 (i think) without debug. CF has nothing of the sort
similar? Would be nice...

Max
----- Original Message -----
From: "Charlie Arehart" <[EMAIL PROTECTED]>
To: <discussion@acfug.org>
Sent: Thursday, October 12, 2006 5:09 PM
Subject: RE: [ACFUG Discuss] Recompiling on the fly


If you mean a recompile of the CFC itself, one thing to do is to flush the template cache. That would force a recompile. Of course, it's one thing to
flush the whole cache, and another to flush just one template. I don't
think
there's anything in CF (documented) to do either, though perhaps someone
with more experience in CF 7 Admin API or the servicefactory may know of a
solution. I'd be interested myself. (This is one instance where I did
myself
try to google to find a solution in the recent past and could not.)

Another possibility is to run the command line cfcompile.bat (in the
cfmx/bin directory), though again it can only recompile entire
directories,
not just one file (from my experience and recollection).

/charlie
http://www.carehart.org/blog/

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Immelman
Sent: Thursday, October 12, 2006 3:42 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Recompiling on the fly

I'm using DWMX that uses a bunch of cfc's. For the sake of debugging and
testing, can you programatically force a recompile? Or is there a way to
insure a recompile has taken place before you refresh the page? Thanks for
any help? _ max




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------







-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------







-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to