From: Yogeshh <[hidden email]>
To: [hidden email]
Sent: Thursday, July 23, 2009 10:25:42 AM
Subject: Re: [Statsvn-users] Using of SVNKit?
Hi stepand76,
I dont have your email id, so I replied to your mail - stepand76 (via
Nabble) <ml-user+
[hidden email]>. I have mentioned details &
attached code with that mail. I am sending here same for reference of all
but no code since no attachment fascillity here in forum
I have made some changes to main.java for my use and created a class
StatSvnReportCreator.java.
Unlike command line client, here username and password are mandotary since
svnkit diff and log commands will not work.
Code contains handlers for various svn commands and a util class for
handling all svn commands.
Please use following code to use these classes.
StatSvnReportCreator statReportCreater =
new StatSvnReportCreator(checkOutLocation, svnUserName,
svnPassword,
statSvnReportTitle, statSvnReportLocation);
statReportCreater.setLogLevel(StatSvnReportCreator.LOGLEVEL_INFO); //to
display info logs
statReportCreater.createStatReport();
Librarys (JARs) required -
STATSVN - statsvn-0.5.0.jar And
SVNKIT -> svnkit-1.3.0.jar & jna.jar
If you want to keep both the mechanisms as mentioned in mail, only thing
we have to do is instead of main.java use StatSvnReportCreator class or
edit main class to delete code containing call to SvnStartupUtils for
varsion check and either use RepositoryFileManager d from my code or default
as per requirement
I am using some code for Handlers as it is from svnkit source. Is it OK
with regards to License ? Please check/comment.
I am using checkout directory as main source and
if it possible to use
SVN URL instead without local checkout as demanded by many on forum, there
are not many changes required, but I want to know that is statsvn or statcvs
is using file locations/ local files to create report and using svn url is
preferable in respect to performance and other.
Reply in case source or more details required
Thanks,
Yogeshh
--
View this message in context: http://n2.nabble.com/Using-of-SVNKit--tp2669995p3308438.htmlSent from the StatSVN Users mailing list archive at
Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Statsvn-users mailing list
[hidden email]https://lists.sourceforge.net/lists/listinfo/statsvn-users