[nant-dev] Unable to checkout NAnt from CVS

2003-06-07 Thread Giuseppe Greco
Hi all, Ian,

This morning I've tried to checkout NAnt from CVS,
but it always gives up...

Here are the error messages:

cvs server: Updating nant/src/NAnt.Win32/Tasks
cvs server: failed to create lock directory for
`/cvsroot/nant/nant/src/NAnt.Win32/Tasks'
(/cvsroot/nant/nant/src/NAnt.Win32/Tasks/#cvs.lock): Permission
deniedcvs server: failed to obtain dir lock in repository
`/cvsroot/nant/nant/src/NAnt.Win32/Tasks'
cvs [server aborted]: read lock failed - giving up

It looks like there are problems with permissios...

Gius_.
-- 

Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com




---
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


Re: [nant-dev] Unable to checkout NAnt from CVS

2003-06-07 Thread Ian MacLean
Yeah - sorry about that. I was going to post a notice. In the last round 
of cvs changes that directory got re-created but permissions weren't set 
correctly. I'm waiting for the sf admins to fix it - its in their 
support request queue. I'll post here when its done. Sorry for hte 
inconvenience.

Ian

Hi all, Ian,

This morning I've tried to checkout NAnt from CVS,
but it always gives up...
Here are the error messages:

cvs server: Updating nant/src/NAnt.Win32/Tasks
cvs server: failed to create lock directory for
`/cvsroot/nant/nant/src/NAnt.Win32/Tasks'
(/cvsroot/nant/nant/src/NAnt.Win32/Tasks/#cvs.lock): Permission
deniedcvs server: failed to obtain dir lock in repository
`/cvsroot/nant/nant/src/NAnt.Win32/Tasks'
cvs [server aborted]: read lock failed - giving up
It looks like there are problems with permissios...

Gius_.




---
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


[nant-dev] Nant cvs task using sharpcvslib

2003-06-07 Thread Clayton Harbour
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


test.build
Description: test.build


NAnt.Cvs.build
Description: NAnt.Cvs.build


NAnt.Cvs.csproj
Description: NAnt.Cvs.csproj


AssemblyInfo.cs
Description: AssemblyInfo.cs


UpdateTask.cs
Description: UpdateTask.cs


CheckoutTask.cs
Description: CheckoutTask.cs


AbstractCvsTask.cs
Description: AbstractCvsTask.cs


UpdateTaskTest.cs
Description: UpdateTaskTest.cs


CheckoutTaskTest.cs
Description: CheckoutTaskTest.cs


Re: [nant-dev] Nant cvs task using sharpcvslib

2003-06-07 Thread Gert Driesen
Great job, Clayton ...

I only have two minor concerns :

- should we have a more general name for the namespace for scm related tasks
(and have a subnamespace for cvs ?), so we can add more scm tasks later on
(eg. for sourcesafe, pvcs, ...) ?
- Can't these tasks actually be part of #cvslib itself ?

Gert

- Original Message - 
From: Clayton Harbour [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 10:38 PM
Subject: [nant-dev] Nant cvs task using sharpcvslib


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