203204205206207208209210211212213
} else { return; } } Writer out = new BufferedWriter(new FileWriter(javaFile)); templateCompiler.generateCode(rendererBean, out); out.flush(); out.close(); } catch (Exception e) { throw new GeneratorException( "Error create Renderer Java file ", e);
185186187188189190191192193194195
javaFile.delete(); } // if Writer out = new BufferedWriter(new FileWriter(javaFile)); templateCompiler.generateCode(componentBean, out); out.flush(); out.close(); } catch (FileNotFoundException e) { throw new BuildException(e);