Hi There,

There are a few different things going on here. First it looks like the log4net assembly could not be loaded, I believe this is a packaging issue with the rc3 version of nant, please check the mailing list for details on this.

Second, you are using the sspi protocol. The sspi does not require a cvspass file, this file is only used when you use the pserver protocol. As an aside I am also not sure what type of support there is for cvsnt with sspi support on Linux. I believe that cvsnt will compile and run on unix/ linux but you may still need to use the pserver protocol. You might want to check http://cvsnt.org and your cvs admin for information on this. If I am wrong and sspi is supported on Linux I would be happy to know that, however if it turns out you need to use the pserver protocol your target will look like this: <cvs-pass passfile="c:\temp\cvspass" password="password.1" cvsroot=":pserver:[EMAIL PROTECTED]:2401:/project" />

Hope that helps,

Cheers,

Clayton



Chris Hansen wrote:

Hi all!

I'm relatively new to NAnt and I'm trying to set up my build script to get files from CVS. I searched through the archives and saw a post from Merrill Cornish which included:

Unfortunately, <cvs-pass> objects because it can"t find my .cvspass file. Since I"m using WinCvs 1.3, I don"t have a file by that name. In fact, I can"t actually find where where my
password is stored. (I"m running against a Linux CVS server.)

Although I'm going against a Windows CVS server, I'm having the same issue. If I try to use the passfile attribute in the <cvs-pass> element like this:

<cvs-pass passfile="c:\temp\cvspass" password="password.1" cvsroot=":sspi:[EMAIL PROTECTED]:2401:/project" />

I get a nasty error:

           BUILD FAILED - 0 non-fatal error(s), 35 warning(s)

           INTERNAL ERROR

System.IO.FileLoadException: The located assembly's manifest definit
ion with name 'log4net' does not match the assembly reference.
           File name: "log4net"
at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo
workingDir)
              at NAnt.SourceControl.Tasks.CvsPass.ExecuteTask()
              at NAnt.Core.Task.Execute()
at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)
              at NAnt.Core.Project.Execute()
              at NAnt.Core.Project.Run()

           === Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral, Public
KeyToken=b32731d11ce58905
            (Fully-specified)
           LOG: Appbase = C:\NAnt\bin\
           LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334,
Culture=neutral, PublicKeyToken=null.
           ===

           LOG: Private path hint found in configuration file: lib.
           LOG: Publisher policy file is not found.
           LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\
Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: log4net, Version=1.2.9.0, Culture=neutra
l, PublicKeyToken=b32731d11ce58905
LOG: Attempting download of new URL file:///C:/NAnt/bin/log4net.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Revision
Number


Please send bug report to [EMAIL PROTECTED]

           Total time: 7.3 seconds.

I haven't signed up for the developers list yet to submit this.

Anyone have any ideas or thoughts?

Thanks and nice to meet you all!

Chris Hansen, tchansen at xmission dot com
http://www.tchansen.org


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to