maven-scm-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berwanger, Christian" <christian.berwan...@logica.com>
Subject Switch off CVS log messages
Date Fri, 24 Apr 2009 16:44:09 GMT
Hi,

 

I have a problem that I want to switch off the fetch of cvs log
messages. I found in the SCM API following function at the class
CvsLogListener:

 

    /**

     * Called when the server wants to send a message to be displayed to
the

     * user. The message is only for information purposes and clients
can

     * choose to ignore these messages if they wish.

     *

     * {@inheritDoc}

     */

    public void messageSent( MessageEvent e )

    {

        String line = e.getMessage();

        StringBuffer stream = e.isError() ? stderr : stdout;

 

        if ( e.isTagged() )

        {

            String message = MessageEvent.parseTaggedMessage(
taggedLine, e.getMessage() );

            if ( message != null )

            {

                //stream.println(message);

                stream.append( message ).append( "\n" );

 

            }

        }

        else

        {

            //stream.println(line);

            stream.append( line ).append( "\n" );

 

        }

    }

 

 

How you see in the comment of the function the capture of that messages
could be switch off. But I didn't found anywhere a comment how this can
be achieved.

 

Thx for answering.

 

Christian



Please help Logica to respect the environment by not printing this email  / Pour contribuer
comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken
Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por
favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal privilege.
It should not be copied, disclosed to, retained or used by, any other party. If you are not
an intended recipient then please promptly delete this e-mail and any attachment and all copies
and inform the sender. Thank you.


Mime
View raw message