115116117118119120121122123124125
if (s.isValid()) { if(outputFile != null){ s.executeIn(launchDirectory(), outputFile); } else { s.executeIn(launchDirectory()); } } else { getLog() .warn( "no arguments given. use -Dargs=... or -Djruby.script=... or -Djruby.file=...");
105106107108109110111112113114115
script.addArgs(this.args); } Exception error = null; try { script.executeIn(launchDirectory()); } catch (Exception e) { error = e; getLog().debug("exception in running specs", e); }
5859606162636465
} if (this.args != null) { script.addArgs(this.args); } script.executeIn(launchDirectory()); } }
6970717273747576
5152535455565758
script.addArgs(this.rakeArgs); } if (this.args != null) { script.addArgs(this.args); } script.executeIn(launchDirectory()); } }
169170171172173174175176177178179
} if (this.args != null) { script.addArgs(this.args); } script.executeIn(launchDirectory()); generateBinStubs(); } private void generateBinStubs() throws IOException {
919293949596979899100101
if (this.args != null) { script.addArgs(this.args); } try { script.executeIn(launchDirectory()); } catch (Exception e) { getLog().debug("exception in running tests", e); } return resultManager.generateReports(mode, version, outputfile);