Can't get StatSVN to work

5 messages Options
Embed this post
Permalink
HyperBart

Can't get StatSVN to work

Reply Threaded More More options
Print post
Permalink
Hey guys,

I'm a student, working on a PHP-project and getting familiair with the way of using SVN and everything. To show my teacher statistics about the project and the amount of work everybody is doing i wanted to use StatSVN.

I downloaded it and tried to run it with my VisualSVN server which i installed about 1,5 week ago.

I was able to create a .log file, but i had to use "C:\Program Files\VisualSVN\bin\svn.exe" and then the parameters, because "svn" is not a known command. I did not install SVN on it's own, it was included with visualSVN server, so i think that's a little problem, don't know.

About the "go to the checkout directory", i suppose that's just my www-folder of apache which is hooked in my VisualSVN-server...

So when i try to run the following:

java -jar statsvn.jar c:\wamp\www\svn.log c:\wamp\www

I get this error:

11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: Cannot run program "svn" (in directory "c:\wamp\www"): CreateProcess error
=2, The system cannot find the file specified
11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Subversion binary is incorrect version or not found. Please verify that
you have installed the Subversion command-line client and it is on your path.

Why is that? I would really like to get this working.
Thanks in advance ;)
Jason Kealey-2

Re: Can't get StatSVN to work

Reply Threaded More More options
Print post
Permalink
Simply install the regular svn command line tools instead of VisualSVN and your troubles will be solved.

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

On Tue, Feb 10, 2009 at 8:17 PM, HyperBart <[hidden email]> wrote:

Hey guys,

I'm a student, working on a PHP-project and getting familiair with the way
of using SVN and everything. To show my teacher statistics about the project
and the amount of work everybody is doing i wanted to use StatSVN.

I downloaded it and tried to run it with my VisualSVN server which i
installed about 1,5 week ago.

I was able to create a .log file, but i had to use "C:\Program
Files\VisualSVN\bin\svn.exe" and then the parameters, because "svn" is not a
known command. I did not install SVN on it's own, it was included with
visualSVN server, so i think that's a little problem, don't know.

About the "go to the checkout directory", i suppose that's just my
www-folder of apache which is hooked in my VisualSVN-server...

So when i try to run the following:

java -jar statsvn.jar c:\wamp\www\svn.log c:\wamp\www

I get this error:

11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: Cannot run program "svn" (in directory "c:\wamp\www"): CreateProcess
error
=2, The system cannot find the file specified
11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Subversion binary is incorrect version or not found. Please verify
that
you have installed the Subversion command-line client and it is on your
path.

Why is that? I would really like to get this working.
Thanks in advance ;)
--
View this message in context: http://n2.nabble.com/Can%27t-get-StatSVN-to-work-tp2306201p2306201.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users





------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
RobinP

Re: Can't get StatSVN to work

Reply Threaded More More options
Print post
Permalink
In reply to this post by HyperBart
Hi Bart,

Firstly you need to become a bit more familiar with the way Windows finds executables, basically you need to add "C:\Program Files\VisualSVN\bin" to your PATH in order to be able to run "svn.exe" from any directory (if you do this you shouldn't need to install SVN separately).

Secondly, the "checkout directory" has nothing to do with "wwwroot", it is on your local machine, not your server.  If you don't understand that then I suggest you read up a bit more on SVN: here is a good start

Regards


HyperBart wrote:
...
I was able to create a .log file, but i had to use "C:\Program Files\VisualSVN\bin\svn.exe" and then the parameters, because "svn" is not a known command. I did not install SVN on it's own, it was included with visualSVN server, so i think that's a little problem, don't know.

About the "go to the checkout directory", i suppose that's just my www-folder of apache which is hooked in my VisualSVN-server...
...
INFO: Cannot run program "svn" (in directory "c:\wamp\www"): CreateProcess error
=2, The system cannot find the file specified
11-feb-2009 2:16:05 net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Subversion binary is incorrect version or not found. Please verify that
you have installed the Subversion command-line client and it is on your path.
...
HyperBart

Re: Can't get StatSVN to work

Reply Threaded More More options
Print post
Permalink

RobinP wrote:
Hi Bart,

Firstly you need to become a bit more familiar with the way Windows finds executables, basically you need to add "C:\Program Files\VisualSVN\bin" to your PATH in order to be able to run "svn.exe" from any directory (if you do this you shouldn't need to install SVN separately).

Secondly, the "checkout directory" has nothing to do with "wwwroot", it is on your local machine, not your server.  If you don't understand that then I suggest you read up a bit more on SVN: here is a good start

Regards


HyperBart wrote:
Text of HyperBart
I tried that, the path command i'm familiar with, i entered:

path %PATH%;[PATH of SVN.exe]

I'll try it again at home en let you know, but i don't think it helps...

About your second part, i know, SVN is pretty new for me, thanks for the link. But what you say about the checkout directory, you say it is on the local machine, but how is that possible? On my laptop which is the client, i'm using Zend studios... It has te be executed on the server, right? So which one is the checkout directory then ?
HyperBart

Re: Can't get StatSVN to work

Reply Threaded More More options
Print post
Permalink
In reply to this post by HyperBart
this is my path output:

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\To
rtoiseSVN\bin;"c:\Program Files\VisualSVN Server\bin\"

And when i try to run:

C:\statsvn>java -jar statsvn.jar c:\wamp\www\svn.log c:\wamp\www\
11-feb-2009 12:42:52 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

11-feb-2009 12:42:52 net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: Cannot run program "svn" (in directory "c:\wamp\www"): CreateProcess error
=2, The system cannot find the file specified
11-feb-2009 12:42:52 net.sf.statsvn.util.JavaUtilTaskLogger error
SEVERE: Subversion binary is incorrect version or not found. Please verify that
you have installed the Subversion command-line client and it is on your path.