Examples of TfsChangeLogConsumer


Examples of org.apache.maven.scm.provider.tfs.command.consumer.TfsChangeLogConsumer

        }
        TfsCommand command = null;
        // tf history takes only one file arg
        while ( iter.hasNext() )
        {
            TfsChangeLogConsumer out = new TfsChangeLogConsumer( getLogger() );
            ErrorStreamConsumer err = new ErrorStreamConsumer();

            command = createCommand( r, f, ( (File) iter.next() ) );
            int status = command.execute( out, err );

            if ( status != 0 || ( !out.hasBeenFed() && err.hasBeenFed() ) )
                return new ChangeLogScmResult( command.getCommandString(), "Error code for TFS changelog command - "
                    + status, err.getOutput(), false );
            changeLogs.addAll( out.getLogs() );
        }
        return new ChangeLogScmResult( command.getCommandString(), new ChangeLogSet( changeLogs, startDate, endDate ) );

    }
View Full Code Here

Examples of org.apache.maven.scm.provider.tfs.command.consumer.TfsChangeLogConsumer

        }
        TfsCommand command = null;
        // tf history takes only one file arg
        while ( iter.hasNext() )
        {
            TfsChangeLogConsumer out = new TfsChangeLogConsumer( getLogger() );
            ErrorStreamConsumer err = new ErrorStreamConsumer();

            command = createCommand( r, f, ( (File) iter.next() ) );
            int status = command.execute( out, err );

            if ( status != 0 || ( !out.hasBeenFed() && err.hasBeenFed() ) )
            {
                return new ChangeLogScmResult( command.getCommandString(), "Error code for TFS changelog command - "
                    + status, err.getOutput(), false );
            }
            changeLogs.addAll( out.getLogs() );
        }
        return new ChangeLogScmResult( command.getCommandString(), new ChangeLogSet( changeLogs, startDate, endDate ) );

    }
View Full Code Here

Examples of org.apache.maven.scm.provider.tfs.command.consumer.TfsChangeLogConsumer

        }
        TfsCommand command = null;
        // tf history takes only one file arg
        while ( iter.hasNext() )
        {
            TfsChangeLogConsumer out = new TfsChangeLogConsumer( getLogger() );
            ErrorStreamConsumer err = new ErrorStreamConsumer();

            command = createCommand( r, f, ( (File) iter.next() ) );
            int status = command.execute( out, err );

            if ( status != 0 || ( !out.hasBeenFed() && err.hasBeenFed() ) )
                return new ChangeLogScmResult( command.getCommandString(), "Error code for TFS changelog command - "
                    + status, err.getOutput(), false );
            changeLogs.addAll( out.getLogs() );
        }
        return new ChangeLogScmResult( command.getCommandString(), new ChangeLogSet( changeLogs, startDate, endDate ) );

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.