I think we could probably put something together that would achieve what you want.

Mike Henke wrote:
Peter is correct. The desire is a quick and dirty syntax check, non-
runtime. I am trying to make a small step for shops that have legacy,
spaghetti code toward automated testing and ci. A jar would be perfect
like with ACF, we can do this:

<java classname="coldfusion.tools.CommandLineInvoker" fork="true"
resultproperty="java.compilecheck" output="$
{coldfusion.compiler.syntaxresults}">
                        <classpath>
                                <pathelement location="${jrun.jar}" />
                                <pathelement 
location="${coldfusion.bootstrap.jar}" />
                                <pathelement location="${coldfusion.cfx.jar}" />
                        </classpath>
                        <sysproperty key=" coldfusion.classPath" value="$
{coldfusion.compiler.classpath}" />
                        <sysproperty key=" coldfusion.libPath" value="$
{coldfusion.compiler.libpath}" />
                        <arg line=" Compiler " />
                        <arg line=" -webroot ${webroot} " />
                        <arg line=" ${filePathToBuildFolder}" />
                </java>

FYI - It seems Railo has a Build.cfc.

This might a an easy first step for people looking to have existing
code work in OpenBD also.

--
online documentation: http://openbd.org/manual/
  google+ hints/tips: https://plus.google.com/115990347459711259462
    http://groups.google.com/group/openbd?hl=en

    Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to