382383384385386387388389390391392
includes.setName(ctxt.getJavaPath()); info.append(" include="+ ctxt.getJavaPath() + "\n" ); try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } }
385386387388389390391392393394395
try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } } } catch (BuildException e) { log.error( "Javac exception ", e); log.error( "Env: " + info.toString());
303304305306307308309310311312313
info.append(" include="+ ctxt.getJspPath() + "\n" ); BuildException error=null; try { synchronized(javacLock) { javac.execute(); } } catch (BuildException e) { success = false; error=e; info.append("Exception compiling " + e.toString() + "\n");
367368369370371372373374375376377
PatternSet.NameEntry includes = javac.createInclude(); includes.setName(ctxt.getJspPath()); try { synchronized(javacLock) { javac.execute(); } } catch (BuildException e) { log.error( "Javac execption ", e); success = false; }
286287288289290291292293294295296
// Build includes path PatternSet.NameEntry includes = javac.createInclude(); includes.setName(ctxt.getJspPath()); try { javac.execute(); } catch (BuildException e) { success = false; } errorReport.append(logger.getReport());
199200201202203204205206207208209
BuildException be = null; try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } }
202203204205206207208209210211212
try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } } } catch (BuildException e) { be = e; log.error( "Javac exception ", e);
274275276277278279280281282283284
info.append(" include="+ ctxt.getJspPath() + "\n" ); BuildException error=null; try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } }
277278279280281282283284285286287
try { if (ctxt.getOptions().getFork()) { javac.execute(); } else { synchronized(javacLock) { javac.execute(); } } } catch (BuildException e) { success = false; error=e;
224225226227228229230231232233234
//output the classes into the output dir as well javaCompiler.setDestdir(outputLocationFile); javaCompiler.setDebug(true); javaCompiler.setVerbose(true); javaCompiler.execute(); // codeGenProject.executeTarget(COMPILE_TARGET_NAME); } /** * Bind the data classes.