676869707172737475
throws CommandLineException { commandLines.add( commandLine ); if ( failureMsg != null ) { throw new CommandLineException( failureMsg ); } return executeResult; }
6970717273747576777879
throws CommandLineException { commandLines.add( commandLine ); if ( failureMsg != null ) { throw new CommandLineException( failureMsg ); } if ( lastOutLine != null ) { systemOut.consumeLine( lastOutLine ); }
589590591592593594595596597598599
if ( exitCode != 0 ) { StringBuilder msg = new StringBuilder( "Exit code: " + exitCode + " - " + err.getOutput() ); msg.append( '\n' ); msg.append( "Command line was:" + CommandLineUtils.toString( cmd.getCommandline() ) ); throw new CommandLineException( msg.toString() ); } if ( StringUtils.isNotEmpty( err.getOutput() ) ) { return parseJavadocVersion( err.getOutput() );
111112113114115116117118119120121
StringBuilder msg = new StringBuilder( "Exit code: " + exitCode + " - " + err.getOutput() ); msg.append( '\n' ); msg.append( "Command line was:" + cmdLine ); throw new CommandLineException( msg.toString() ); } } catch ( CommandLineException e ) { if ( getLogger().isErrorEnabled() )
96979899100101102103104105106
int exitValue = CommandLineUtils.executeCommandLine( cl, stdout, null ); if ( exitValue != 0 ) { throw new CommandLineException( "Unable to convert cygwin path, exit code = " + exitValue ); } repositoryRoot = stdout.getOutput().trim(); } else if ( Os.isFamily( "windows" ) )
117118119120121122123124125
} } } catch ( IOException e ) { throw new CommandLineException( "Unexpected error", e ); } return 0; }
6061626364656667686970
6768697071727374757677
9596979899100101102103104105
121122123124125126127128129130131