Re: Syntax checking generated code: CF9

2010-08-11 Thread Dominic Watson
Oh Den oh Den, that sounds ironic... I'll have a look at http://www.assembla.com/code/cfdistro/subversion/nodes. Thanks Gert :) On 11 August 2010 10:58, Gert Franz wrote: > without the need for source > > "cfcompile.bat -deploydirectory>" ~~~

AW: Syntax checking generated code: CF9

2010-08-11 Thread Gert Franz
sendet: Montag, 9. August 2010 12:09 An: cf-talk Betreff: Re: Syntax checking generated code: CF9 Thanks guys. Certainly, compiling the code and checking for errors would be the ideal - just need to make sure the code does not execute. Any ideas about an explicit way to do that? I've thought

Re: Syntax checking generated code: CF9

2010-08-10 Thread denstar
Anytime! That's a worthy goal. I got a good ~ three thousand words of documentation for my automated build tool cfdistro done over the weekend. Sadly, I was stupid, and then, Something Bad happened, so it's gone with the wind. Someday... =) :Den -- We can never be sure that the opinion we

Re: Syntax checking generated code: CF9

2010-08-10 Thread Dominic Watson
Perfect, thanks Den. Yeah, looking at this as a part of an automated deployment whole. Had googled for quite a while, just missing the keywords ;) Thanks again, Dominic On 9 August 2010 18:55, denstar wrote: > > Sorry, should have included the link the first time: > > http://help.adobe.com/en_

Re: Syntax checking generated code: CF9

2010-08-09 Thread denstar
Sorry, should have included the link the first time: http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fd0.html The cfcompile utility shouldn't execute your code, just compile it. Theoretically throwing errors on bad syntax. :) You could also create an Ant

Re: Syntax checking generated code: CF9

2010-08-09 Thread Dominic Watson
Thanks guys. Certainly, compiling the code and checking for errors would be the ideal - just need to make sure the code does not execute. Any ideas about an explicit way to do that? I've thought of a hack, roughly: function checkSyntax( templatePath ){ var content = '' & fileRead( arguments.tem

Re: Syntax checking generated code: CF9

2010-08-06 Thread denstar
If I'm understanding right, you could compile the code and it should throw an error if there's a validation problem. But I might not be understanding correctly. :Den -- Of two pleasures, if there be one which all or almost all who have experience of both give a decided preference, irrespective

Re: Syntax checking generated code: CF9

2010-08-06 Thread Cutter (ColdFusion)
I've never seen one, but if you come up with one please let us all know. Steve "Cutter" Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book __

Syntax checking generated code: CF9

2010-08-06 Thread Dominic Watson
I've made a script that remotely parses a fusebox application one fuseaction at a time (progress bar stylee). What I'd really like to do is, after each parsed file is created, test the syntax of the generated code (we've had problems and would like to verify there are no problems before we deploy