CFCompile Ant snippet

Ant ColdFusion

I have been working on a build.xml file for work that updates the local working copy, runs MXunit tests, create JUnit reports based on MXunit results, minifies js/css, grabs only modified files between revisions, crunches ColdFusion files, checks compile errors, and also will check for unscoped vars in cfcs using varScoper.

Here is a snippet for the checking ColdFusion compiling using cfcompile. I'll release the full build.xml, lib, and buildprops when I have the unscoped var target working.

_

Check Coldfusion Compile for ${webroot}${temp.dir}${jarfileTstamp}

${src.file.cferrors} _

Related Posts:

Use eclipse, ant and cfcompile.bat to precompile your code

Snarling radioactive ants!