|
From: Andrew N. <And...@hc...> - 2004-01-20 19:35:12
|
I find it amusing that not a single person answered or responded. I'm going
to assume this app is garbage and not going to waste any more time on it
Andrew Nice
sta...@li...
ceforge.net To: sta...@li...
Sent by: cc:
sta...@li... Subject: Statcvs-users digest, Vol 1 #41 - 1 msg
forge.net
2004-01-12 11:03 PM
Please respond to statcvs-users
Send Statcvs-users mailing list submissions to
sta...@li...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/statcvs-users
or, via email, send a message with subject or body 'help' to
sta...@li...
You can reach the person managing the list at
sta...@li...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Statcvs-users digest..."
Today's Topics:
1. Error in statcvs (Andrew Nice)
--__--__--
Message: 1
To: sta...@li...
From: "Andrew Nice" <And...@hc...>
Date: Mon, 12 Jan 2004 10:16:35 -0500
Subject: [Statcvs-users] Error in statcvs
Greetings,
I am new to statcvs and cannot get it to run, I'm hoping someone can offer
some assistance!
Project name: mtrsv3 under c:\mtrsv3
Latest version of statcvs.jar under c:\statcvs (I did try older versions,
same error)
Here is the error message I am getting:
C:\statcvs>java -jar statcvs.jar mtrsv3 c:\mtrsv3\cvslog c:\mtrsv3
StatCvs - CVS statistics generation
Generating report for mtrsv3 into
Exception in thread "main" java.lang.NumberFormatException: For input
string: "-
1;"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:435)
at java.lang.Integer.parseInt(Integer.java:476)
at
net.sf.statcvs.input.CvsRevisionParser.parseDateLine(CvsRevisionParse
r.java:174)
at
net.sf.statcvs.input.CvsRevisionParser.messageLine(CvsRevisionParser.
java:118)
at
net.sf.statcvs.input.CvsFileBlockParser.getParsedRevisions(CvsFileBlo
ckParser.java:199)
at
net.sf.statcvs.input.CvsFileBlockParser.getParsedFile(CvsFileBlockPar
ser.java:181)
at
net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:79)
at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:163)
at net.sf.statcvs.Main.execute(Main.java:94)
at net.sf.statcvs.Main.main(Main.java:74)
C:\statcvs>
Here is the file (This is a small sample of a larger file that gets the
same error message) called c:\mtrsv3\samplelog
<<======= START ========>>
RCS file: h:/repository/mtrsv3/build.xml,v
Working file: build.xml
head: 1.17
branch:
locks: strict
access list:
symbolic names:
rel_3_0_3: 1.17
MTRSv3beta: 1.12
start: 1.1.1.1
mtrsv3: 1.1.1
keyword substitution: kv
total revisions: 18; selected revisions: 18
description:
----------------------------
revision 1.17
date: 2003/12/04 20:54:55; author: USERA; state: Exp; lines: +0 -1;
kopt: kv; commitid: 74c3fcf9d3a0000;
*** empty log message ***
----------------------------
revision 1.16
date: 2003/11/29 19:48:29; author: USERA; state: Exp; lines: +2 -2;
kopt: kv; commitid: 7d83fc8f70f0000;
*** empty log message ***
----------------------------
revision 1.15
date: 2003/11/18 18:42:44; author: USERA; state: Exp; lines: +0 -2;
kopt: kv; commitid: e203fba671e0000;
*** empty log message ***
----------------------------
revision 1.14
date: 2003/11/11 17:36:32; author: USERA; state: Exp; lines: +3 -0;
kopt: kv; commitid: 1acc3fb11ca50000;
*** empty log message ***
----------------------------
revision 1.13
date: 2003/11/11 15:32:59; author: USERB; state: Exp; lines: +0 -3;
kopt: kv; commitid: 7e03fb1012a0000;
*** empty log message ***
----------------------------
revision 1.12
date: 2003/11/06 07:31:00; author: USERA; state: Exp; lines: +10 -8;
kopt: kv; commitid: 127c3fa9f8b20000;
*** empty log message ***
----------------------------
revision 1.11
date: 2003/11/05 21:13:14; author: USERB; state: Exp; lines: +0 -2;
kopt: kv; commitid: 6703fa967e80000;
*** empty log message ***
----------------------------
revision 1.10
date: 2003/10/27 20:51:09; author: USERC; state: Exp; lines: +10 -1;
kopt: kv; commitid: 48c3f9d853c0000;
*** empty log message ***
----------------------------
revision 1.9
date: 2003/10/27 14:38:35; author: USERA; state: Exp; lines: +0 -0;
kopt: kv; commitid: a103f9d2cc20000;
*** empty log message ***
----------------------------
revision 1.8
date: 2003/10/25 19:03:36; author: USERD; state: dead; lines: +0 -0;
kopt: kv; commitid: 6383f9ac8060000;
*** empty log message ***
----------------------------
revision 1.7
date: 2003/10/03 15:11:14; author: USERA; state: Exp; lines: +2 -2;
kopt: kv; commitid: 5303f7d90c10000;
*** empty log message ***
----------------------------
revision 1.6
date: 2003/09/26 15:19:54; author: USERB; state: Exp; lines: +3 -4;
kopt: kv; commitid: 7fc3f7459190000;
*** empty log message ***
----------------------------
revision 1.5
date: 2003/09/22 14:33:09; author: USERA; state: Exp; lines: +1 -0;
kopt: kv; commitid: 8243f6f08230000;
*** empty log message ***
----------------------------
revision 1.4
date: 2003/09/19 15:22:05; author: USERA; state: Exp; lines: +5 -3;
kopt: kv; commitid: 5e03f6b1e3a0000;
*** empty log message ***
----------------------------
revision 1.3
date: 2003/09/18 16:39:49; author: USERB; state: Exp; lines: +13 -2;
kopt: kv; commitid: 8003f69dcd30000;
*** empty log message ***
----------------------------
revision 1.2
date: 2003/09/16 22:13:04; author: USERA; state: Exp; lines: +1 -1;
kopt: kv; commitid: 6cc3f678a470000;
*** empty log message ***
----------------------------
revision 1.1
date: 2003/09/14 06:04:13; author: USERA; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2003/09/14 06:04:13; author: USERA; state: Exp; lines: +0 -0;
Medical Transport Record System
=============================================================================
RCS file:
h:/repository/mtrsv3/dataservices/ACCOMMODATION_TYPE_LABEL.properties,v
Working file: dataservices/ACCOMMODATION_TYPE_LABEL.properties
head: 1.1
branch:
locks: strict
access list:
symbolic names:
rel_3_0_3: 1.1
MTRSv3beta: 1.1
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
----------------------------
revision 1.1
date: 2003/11/01 19:46:35; author: USERA; state: Exp; kopt: kv;
commitid: 11443fa40c5f0000;
*** empty log message ***
=============================================================================
RCS file: h:/repository/mtrsv3/dataservices/ADDRESS.properties,v
Working file: dataservices/ADDRESS.properties
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
rel_3_0_3: 1.1.1.1
MTRSv3beta: 1.1.1.1
rel_3_0_4: 1.1.1.1
start: 1.1.1.1
mtrsv3: 1.1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.1
date: 2003/09/14 06:04:14; author: USERA; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2003/09/14 06:04:14; author: USERA; state: Exp; lines: +0 -0;
Medical Transport Record System
=============================================================================
<<=========== END ===========>>
We are stuck using Windows 2000 unfortunately. The file was generated using
CvsNT 2.0.2.
Thanks for any input!
Andrew
--__--__--
_______________________________________________
Statcvs-users mailing list
Sta...@li...
https://lists.sourceforge.net/lists/listinfo/statcvs-users
End of Statcvs-users Digest
|
|
From: Chris W. <cw...@we...> - 2004-01-20 20:07:44
|
> I find it amusing that not a single person answered or responded. I'm going > to assume this app is garbage and not going to waste any more time on it This app works perfectly for me. But I never ran in an error like you did. The code is easy to understand if you give it a try and then maybe submit a fix to the developers. --Chris |
|
From: Tom C. <to...@in...> - 2004-01-20 20:11:31
|
On Tue, 2004-01-20 at 15:06, Chris Wege wrote: > > I find it amusing that not a single person answered or responded. I'm going > > to assume this app is garbage and not going to waste any more time on it > > This app works perfectly for me. But I never ran in an error like you > did. The code is easy to understand if you give it a try and then maybe > submit a fix to the developers. Works fine for me, too - and I use it to generate nightly graphs for over 140 projects on http://rubyforge.org/. Bah! Tom |
|
From: Luis C. <le...@ne...> - 2004-01-20 20:35:08
Attachments:
cvslog_sample
|
Hello, Let me first start out by saying that I am not a developer, and I am in no way related to the project. I have however bean using StatCVS for almost a year now, and have had no complaints. I'm only answering now because lately (and currently) I've been extremely short on time. That being said, I think the problem you are having is due to the ";" symbol at the end of some of the lines in your cvs log file. I am attaching a snip of my cvs log file so you may compare the two. Mine was generated using an official cvs cliente with the following command: cvs log > cvslog I've never used CvsNT 2.0.2 or anything like it, so I can't be much more help... :( If possible I suggest using an official cvs client/server. Otherwise check to see if your cvs client/server has any configuration options for generating cvs logs. If all else fails, you can edit your cvs log to make it "compatible" with the "expected" format. I hope you get StatCVS another shot and get it going. Hope this helps, Luis Cruz On Tue, 2004-01-20 at 19:35, Andrew Nice wrote: > I find it amusing that not a single person answered or responded. I'm going > to assume this app is garbage and not going to waste any more time on it > > > Andrew Nice > > > > > > > sta...@li... > ceforge.net To: sta...@li... > Sent by: cc: > sta...@li... Subject: Statcvs-users digest, Vol 1 #41 - 1 msg > forge.net > > > 2004-01-12 11:03 PM > Please respond to statcvs-users > > > > > > > Send Statcvs-users mailing list submissions to > sta...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/statcvs-users > or, via email, send a message with subject or body 'help' to > sta...@li... > > You can reach the person managing the list at > sta...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Statcvs-users digest..." > > > Today's Topics: > > 1. Error in statcvs (Andrew Nice) > > --__--__-- > > Message: 1 > To: sta...@li... > From: "Andrew Nice" <And...@hc...> > Date: Mon, 12 Jan 2004 10:16:35 -0500 > Subject: [Statcvs-users] Error in statcvs > > Greetings, > > I am new to statcvs and cannot get it to run, I'm hoping someone can offer > some assistance! > > > Project name: mtrsv3 under c:\mtrsv3 > Latest version of statcvs.jar under c:\statcvs (I did try older versions, > same error) > > > Here is the error message I am getting: > > > C:\statcvs>java -jar statcvs.jar mtrsv3 c:\mtrsv3\cvslog c:\mtrsv3 > StatCvs - CVS statistics generation > > Generating report for mtrsv3 into > Exception in thread "main" java.lang.NumberFormatException: For input > string: "- > 1;" > at > java.lang.NumberFormatException.forInputString(NumberFormatException. > java:48) > at java.lang.Integer.parseInt(Integer.java:435) > at java.lang.Integer.parseInt(Integer.java:476) > at > net.sf.statcvs.input.CvsRevisionParser.parseDateLine(CvsRevisionParse > r.java:174) > at > net.sf.statcvs.input.CvsRevisionParser.messageLine(CvsRevisionParser. > java:118) > at > net.sf.statcvs.input.CvsFileBlockParser.getParsedRevisions(CvsFileBlo > ckParser.java:199) > at > net.sf.statcvs.input.CvsFileBlockParser.getParsedFile(CvsFileBlockPar > ser.java:181) > at > net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:79) > > at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:163) > at net.sf.statcvs.Main.execute(Main.java:94) > at net.sf.statcvs.Main.main(Main.java:74) > > C:\statcvs> > > > Here is the file (This is a small sample of a larger file that gets the > same error message) called c:\mtrsv3\samplelog > > <<======= START ========>> > > RCS file: h:/repository/mtrsv3/build.xml,v > Working file: build.xml > head: 1.17 > branch: > locks: strict > access list: > symbolic names: > rel_3_0_3: 1.17 > MTRSv3beta: 1.12 > start: 1.1.1.1 > mtrsv3: 1.1.1 > keyword substitution: kv > total revisions: 18; selected revisions: 18 > description: > ---------------------------- > revision 1.17 > date: 2003/12/04 20:54:55; author: USERA; state: Exp; lines: +0 -1; > kopt: kv; commitid: 74c3fcf9d3a0000; > *** empty log message *** > ---------------------------- > revision 1.16 > date: 2003/11/29 19:48:29; author: USERA; state: Exp; lines: +2 -2; > kopt: kv; commitid: 7d83fc8f70f0000; > *** empty log message *** > ---------------------------- > revision 1.15 > date: 2003/11/18 18:42:44; author: USERA; state: Exp; lines: +0 -2; > kopt: kv; commitid: e203fba671e0000; > *** empty log message *** > ---------------------------- > revision 1.14 > date: 2003/11/11 17:36:32; author: USERA; state: Exp; lines: +3 -0; > kopt: kv; commitid: 1acc3fb11ca50000; > *** empty log message *** > ---------------------------- > revision 1.13 > date: 2003/11/11 15:32:59; author: USERB; state: Exp; lines: +0 -3; > kopt: kv; commitid: 7e03fb1012a0000; > *** empty log message *** > ---------------------------- > revision 1.12 > date: 2003/11/06 07:31:00; author: USERA; state: Exp; lines: +10 -8; > kopt: kv; commitid: 127c3fa9f8b20000; > *** empty log message *** > ---------------------------- > revision 1.11 > date: 2003/11/05 21:13:14; author: USERB; state: Exp; lines: +0 -2; > kopt: kv; commitid: 6703fa967e80000; > *** empty log message *** > ---------------------------- > revision 1.10 > date: 2003/10/27 20:51:09; author: USERC; state: Exp; lines: +10 -1; > kopt: kv; commitid: 48c3f9d853c0000; > *** empty log message *** > ---------------------------- > revision 1.9 > date: 2003/10/27 14:38:35; author: USERA; state: Exp; lines: +0 -0; > kopt: kv; commitid: a103f9d2cc20000; > *** empty log message *** > ---------------------------- > revision 1.8 > date: 2003/10/25 19:03:36; author: USERD; state: dead; lines: +0 -0; > kopt: kv; commitid: 6383f9ac8060000; > *** empty log message *** > ---------------------------- > revision 1.7 > date: 2003/10/03 15:11:14; author: USERA; state: Exp; lines: +2 -2; > kopt: kv; commitid: 5303f7d90c10000; > *** empty log message *** > ---------------------------- > revision 1.6 > date: 2003/09/26 15:19:54; author: USERB; state: Exp; lines: +3 -4; > kopt: kv; commitid: 7fc3f7459190000; > *** empty log message *** > ---------------------------- > revision 1.5 > date: 2003/09/22 14:33:09; author: USERA; state: Exp; lines: +1 -0; > kopt: kv; commitid: 8243f6f08230000; > *** empty log message *** > ---------------------------- > revision 1.4 > date: 2003/09/19 15:22:05; author: USERA; state: Exp; lines: +5 -3; > kopt: kv; commitid: 5e03f6b1e3a0000; > *** empty log message *** > ---------------------------- > revision 1.3 > date: 2003/09/18 16:39:49; author: USERB; state: Exp; lines: +13 -2; > kopt: kv; commitid: 8003f69dcd30000; > *** empty log message *** > ---------------------------- > revision 1.2 > date: 2003/09/16 22:13:04; author: USERA; state: Exp; lines: +1 -1; > kopt: kv; commitid: 6cc3f678a470000; > *** empty log message *** > ---------------------------- > revision 1.1 > date: 2003/09/14 06:04:13; author: USERA; state: Exp; > branches: 1.1.1; > Initial revision > ---------------------------- > revision 1.1.1.1 > date: 2003/09/14 06:04:13; author: USERA; state: Exp; lines: +0 -0; > Medical Transport Record System > ============================================================================= > > > RCS file: > h:/repository/mtrsv3/dataservices/ACCOMMODATION_TYPE_LABEL.properties,v > Working file: dataservices/ACCOMMODATION_TYPE_LABEL.properties > head: 1.1 > branch: > locks: strict > access list: > symbolic names: > rel_3_0_3: 1.1 > MTRSv3beta: 1.1 > keyword substitution: kv > total revisions: 1; selected revisions: 1 > description: > ---------------------------- > revision 1.1 > date: 2003/11/01 19:46:35; author: USERA; state: Exp; kopt: kv; > commitid: 11443fa40c5f0000; > *** empty log message *** > ============================================================================= > > > RCS file: h:/repository/mtrsv3/dataservices/ADDRESS.properties,v > Working file: dataservices/ADDRESS.properties > head: 1.1 > branch: 1.1.1 > locks: strict > access list: > symbolic names: > rel_3_0_3: 1.1.1.1 > MTRSv3beta: 1.1.1.1 > rel_3_0_4: 1.1.1.1 > start: 1.1.1.1 > mtrsv3: 1.1.1 > keyword substitution: kv > total revisions: 2; selected revisions: 2 > description: > ---------------------------- > revision 1.1 > date: 2003/09/14 06:04:14; author: USERA; state: Exp; > branches: 1.1.1; > Initial revision > ---------------------------- > revision 1.1.1.1 > date: 2003/09/14 06:04:14; author: USERA; state: Exp; lines: +0 -0; > Medical Transport Record System > ============================================================================= > > > <<=========== END ===========>> > > We are stuck using Windows 2000 unfortunately. The file was generated using > CvsNT 2.0.2. > > > > Thanks for any input! > > > Andrew > > > > > > > --__--__-- > > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users > > > End of Statcvs-users Digest > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Statcvs-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statcvs-users |
|
From: Richard C. <ri...@cy...> - 2004-01-21 23:18:37
|
Hi Andrew, From: "Andrew Nice" <And...@hc...> > I find it amusing that not a single person answered or responded. > I'm going to assume this app is garbage http://sf.net/tracker/?func=detail&aid=811103&group_id=57558&atid=484569 Best regards, Richard |
|
From: Brian G. P. <br...@br...> - 2004-01-29 10:06:31
|
I submitted this to the StatCVS Tracker some time ago, but would like to raise it here in the hopes of a response or some direction... Our project team finds the statcvs/viewcvs integration to the Commit Log to be very useful. We also make extensive use of Bugzilla, and Bugzilla integration to CVS. Feature Request: add a -bugzilla <url> flag to statcvs Requested Behavior: When Bugzilla is integrated to CVS, a developer will check in code that fixes/modifies a bug with a commit comment like: Bug 14 on a single line in thier commit comments. (other legal values are 'bug 14' 'Bug#14' 'bug# 14', etc) Statcvs, when parsing the commit log to HTML, would replace instances of the pattern above with a HREF like: http://www.myserver.com/bugzilla/show_bug.cgi?id=14 so: Bug 14 is replaced with: <a href='http://www.myserver.com/bugzilla/show_bug.cgi?id=14'>Bug 14</a> a perl regular expression that is used by the bugzilla/cvs integration that may be useful in implementing this feature request is: s/^Bug?\s+#?([\d,\s]+)/$1/i (the bug number goes into $1) Most web bug systems that I am aware of allow the use of the bug number as the last parameter in the URL, so a command line switch to StatCVS with a ,<url> could simply append the bug number. If someone could point me to the correct place in the code, I may be able to provide a patch that accomplishes this functionality. Thanks for the consideration! Regards, - Brian Peterson Ref: http://sourceforge.net/tracker/?func=detail&aid=754865&group_id=57558&atid=484572 |
|
From: Richard C. <ri...@cy...> - 2004-02-02 15:45:50
|
From: "Brian G. Peterson" <br...@br...> > Requested Behavior: > When Bugzilla is integrated to CVS, a developer will check in code that > fixes/modifies a bug with a commit comment like: > Bug 14 > on a single line in thier commit comments. (other legal values are 'bug > 14' 'Bug#14' 'bug# 14', etc) > > Statcvs, when parsing the commit log to HTML, would replace instances of > the pattern above with a HREF like: > http://www.myserver.com/bugzilla/show_bug.cgi?id=14 This is a nice idea and I can see how it could be useful. But my impression is that few projects refer consistently to a bug tracking app in the commit comments, and some who do use different conventions, like "issue #14" or just "#14". I fear that this feature would be difficult to explain in the manual and would frustrate users who happen to use a different convention. I think that this would be better solved by post-processing the HTML files generated by StatCvs. A few (one?) lines of Perl should do the job and would be more easily adapted to different conventions and uses. Like, for example, linking to both a bug tracker ("bug #123") and RFE tracker ("RFE #456"), like at SourceForge. I'd be happy to host or provide a link to such a script at the StatCvs homepage. Best regards, Richard |