Strange error with the -include / -exclude options

2 messages Options
Embed this post
Permalink
pnathan

Strange error with the -include / -exclude options

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,

I am running a script which has the lines...

cd ~/masters/masters-repo
svn update
svn log -v --xml > svn.log
java -jar ~/bin/statsvn/statsvn.jar -include "current-code/**/*.cpp:current-code/**/*.h:thesis/**/*.tex/*.bib"  -title Metrics -output-dir ~/public_html/repostats ./svn.log ~/masters/masters-repo

It gives me an error....

At revision 101.
Apr 28, 2009 7:16:23 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log './svn.log' exclude pattern 'null'
Scheduled 0 svn diff calls on 0 threads.
Generating report for Metrics into /net/grads/nath5573/public_html/repostats/
Using default CSS file (statcvs.css)
The repository object is not valid. Please check your settings.
Is the log file empty? Do you run from a checked out directory? Do you have non-committed items?

However - If I take out the -include, the script runs without error.

The essential goal here is to create stats on 2 specific directory trees within the project; thesis and current-code. Each of those trees will have assorted "Trash" files, and therefore, I want to select the .cpp/.h files from within current-code, and the .tex/.bib files from within thesis.

I suspect my problem is the weird ant wildcard syntax.


Paul Nathan
Master's Student
Department of Computer Science
University of Idaho




------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Jason Kealey-2

Re: Strange error with the -include / -exclude options

Reply Threaded More More options
Print post
Permalink
Not sure if someone gave you an answer already but I think you want to separate the includes with ; (semi-colon) and not : (colon). 

Thanks,
---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Tue, Apr 28, 2009 at 10:24 PM, Paul Nathan <[hidden email]> wrote:
Hi,

I am running a script which has the lines...

cd ~/masters/masters-repo
svn update
svn log -v --xml > svn.log
java -jar ~/bin/statsvn/statsvn.jar -include "current-code/**/*.cpp:current-code/**/*.h:thesis/**/*.tex/*.bib"  -title Metrics -output-dir ~/public_html/repostats ./svn.log ~/masters/masters-repo

It gives me an error....

At revision 101.
Apr 28, 2009 7:16:23 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log './svn.log' exclude pattern 'null'
Scheduled 0 svn diff calls on 0 threads.
Generating report for Metrics into /net/grads/nath5573/public_html/repostats/
Using default CSS file (statcvs.css)
The repository object is not valid. Please check your settings.
Is the log file empty? Do you run from a checked out directory? Do you have non-committed items?

However - If I take out the -include, the script runs without error.

The essential goal here is to create stats on 2 specific directory trees within the project; thesis and current-code. Each of those trees will have assorted "Trash" files, and therefore, I want to select the .cpp/.h files from within current-code, and the .tex/.bib files from within thesis.

I suspect my problem is the weird ant wildcard syntax.


Paul Nathan
Master's Student
Department of Computer Science
University of Idaho




------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users