Resource classFile=classRootDir.getRealResource(className+".class");
Resource classFileDirectory=classFile.getParentResource();
byte[] barr = null;
Page page = null;
if(!classFileDirectory.exists()) classFileDirectory.mkdirs();
try {
page = cfmlTransformer.transform(config,source,tld,fld);
barr = page.execute(source,classFile);
IOUtil.copy(new ByteArrayInputStream(barr), classFile,true);