[cvsnt] Re: running loginfo in cvsnt

Bo Berglund Bo.Berglund at system3r.se
Fri Jun 10 10:33:31 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Why do you go via the batch file?
I think that this is what is giving you the problems.
Just enter the java command on the loginfo line instead.

/Bo

-----Original Message-----
From: yinhua [mailto:hyin at cdtv.org.cn]
Sent: den 10 juni 2005 08:18
To: Bo Berglund; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: RE: [cvsnt] Re: running loginfo in cvsnt


Bo Berglund,???

	

======= 2005-06-09 14:56:35 ????????=======

>> How to get the log message from the STDIN, is there any sample for this?
>
>Are you kidding? *Any* program you write should be able to read STDIN, right?
>
Sorry, I would like to express more detail.
I'm using bat in loginfo to run the script, and java program to record the log message.
In the loginfo file, like this:
DEFAULT e:\test\test.bat

And in the bat file like this:
java -jar e:\test\test.jar
in the java program, it listen the stdin to get the log message, but there is nothing to output.
If I change the bat file like this:
cmd 
java -jar e:\test\test.jar

the log message can be printed in the wincvs console, but the java program cannot still get this information, the only way for this is to export the log message to a local file and then let the java program to read that file.
So I just wonder is there a simple way of not using write and read file to get the log message?

Thanks a lot
Frank
>What you need to do is read STDIN and then decode that information to get
>the data you need. STDIN contains the log message, the list of committed
>files, the tag information etc. Just read it in a test program and dump to
>a log file and then have a look and you will see how to treat it.
>
>/Bo

= = = = = = = = = = = = = = = = = = = =
			

?????????
??
 
				 
????????yinhua
????????hyin at cdtv.org.cn
??????????2005-06-10




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook