I forgot to say - good work Clayton.
And the ankhsvn stuff is really cool. I installed the vs.addin and it rocks - even if its only alpha - soo much better than the built in scc stuff that comes with vs.net. I
I haven't looked at the code but it seems that it wouldn't be too hard to plugin #cvslib as an alternative backend to the addin.


Also great news about the svn tasks - I'll take a look and see if we can bundle them into the nant tree.

Once our cvs tree is working again I'll add your cvs tasks.

Ian

Ian,
I have attached the files for the cvs checkout/ update task (and unit
tests). I was unsure if zip files would be blocked or not so I just
include the files. I just followed the directory structure for the
other tasks (sorry, probably goes without saying but just in case...):
In the src directory:
NAnt.Cvs
+---AssemblyInfo.cs
NAnt.Cvs.csproj
NAnt.Cvs.build
Tasks
+--- AbstractCvsTask.cs
UpdateTask.cs
CheckoutTask.cs


And in the test directory:
NAnt.Cvs
+---Tasks
+---UpdateTaskTest.cs
+---CheckoutTaskTest.cs
I am using version 0.3.3 of the sharpcvslib which you can download here:
http://prdownloads.sourceforge.net/sharpcvslib/ICSharpCode.SharpCvsLib-0
.3.3.zip?download
<http://prdownloads.sourceforge.net/sharpcvslib/ICSharpCode.SharpCvsLib-
0.3.3.zip?download> .
One thing to note is I had some problems executing the checkout task and
then the update task in the same test. This occurred when I used
RunBuild to execute a checkout project in the SetUp and then used
RunBuild to execute an update project in the test method. I am not sure
exactly what the problem was but I think it might be that there was some
clash while creating the second project. Does that make sense? My
solution was to I have also attached a build file (test.build) that can be used to
visually verify the tasks. I have the cvslib output going to the
console and it should be close to the output from most cvs clients
(although I am sure there are gaps here and there...if anyone notices
anything they need missing please send me an email). Also: Subversion anyone?
--------------------------
I also looked into a subversion nant task and found the following
project set up on tigris:
http://ankhsvn.tigris.org/ <http://ankhsvn.tigris.org/> I have not had the chance to look at it very closely but they are
basically creating a svn plugin for vs.net (pretty cool stuff!) which is
in the beta stage. I asked around on the list and one of the
maintainers, Arild Fines, said that they already have a working nant
checkout task using the ankhsvn libraries. He also said that I would be
free to work this back into the nant source tree but unfortunately I do
not have the time. If anyone is interested and wants to give it a shot
the task lives here:
http://www.ankhsvn.com:8088/svn/finalproject/trunk/tools/SvnTasks/
<http://www.ankhsvn.com:8088/svn/finalproject/trunk/tools/SvnTasks/> .
Talk to you later,
Clayton




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to