Hello,

I have the following message  :

NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/Tma/Tma.Dev/sc.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: test.scc


init.log:

   [delete] Deleting file D:\Tma\Tma.Dev\measures.txt.

test.scc:


depends:


cvs.init:


cvs.checkout:


operation.begin:

   [tstamp] mercredi 21 septembre 2005 09:05:15.

BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: La définition trouvée du manifeste de l'assembly qu
i porte le nom 'log4net' ne correspond pas à la référence de l'assembly.
Nom du fichier : "log4net"
   at ICSharpCode.SharpCvsLib.FileSystem.Manager..ctor(DirectoryInfo workingDir)

   at NAnt.SourceControl.Tasks.CvsPass.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

=== Pre-bind state information ===
LOG: DisplayName = log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32
731d11ce58905
 (Fully-specified)
LOG: Appbase = D:\Program files\Nant\0.85-rc3\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : ICSharpCode.SharpCvsLib, Version=0.36.4902.7334, Culture=neut
ral, 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=neutral, PublicKey
Token=b32731d11ce58905
LOG: Attempting download of new URL file:///D:/Program files/Nant/0.85-rc3/bin/l
og4net.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number


Please send bug report to nant-developers@lists.sourceforge.net.

Total time: 0.4 seconds.



I use Nant 0.85 rc3.

It seems that the sharplibcvs libraries require log4net 1.2.9 and Nant 1.2.1.
So for now, I reverted to Nant rc1.

I attach the nant script.
In case you're interested...

Cheers,
Keep up the good work !

Bertrand.
<?xml version="1.0"?>
<!-- ====================================================================== 
     16 sept. 2005 08:18:52                                                        

     project    
     description
                   
     BLEGA                                                                
     ====================================================================== -->
<project name="project" default="test.scc">
    <description>
            description
    </description>

	<property name="testlog.file" value="measures.txt"/>
	
	
	<property name="cvs.connection" value=":pserver:[EMAIL PROTECTED]:/Tma"/>
	<property name="cvs.password" value="blega"/>
	<property name="cvs.module" value="Tma.Dev"/>
	<property name="cvs.destination" location="./cvs"/>

	<property name="vss.user" value="blega"/>
	<property name="vss.password" value="blega"/>
	<property name="vss.destination" value="./vss"/>
	<property name="vss.connection" value="C:\VSS\srcsafe.ini"/>
	<property name="vss.module" value="$/Tma.Dev"/>





	
    <!-- - - - - - - - - - - - - - - - - - 
          target: operation.begin                      
         - - - - - - - - - - - - - - - - - -->
    <target name="operation.begin">
    	<tstamp property="operation.begin.date" pattern="HHmmss" verbose="false" />
    	<echo file="${testlog.file}" message="Operation beginning ${operation.name} at $operation.begin.date"/>
    </target>

    <!-- - - - - - - - - - - - - - - - - - 
          target: operation.end                      
         - - - - - - - - - - - - - - - - - -->
    <target name="operation.end">
    	<tstamp property="operation.end.date" pattern="HHmmss" verbose="false" />
    	<echo file="${testlog.file}" message="Operation ended ${operation.name} at $operation.begin.date"/>
    </target>

	
    <!-- - - - - - - - - - - - - - - - - - 
          target: cvs.init                      
         - - - - - - - - - - - - - - - - - -->
    <target name="cvs.init" depends="depends" >
        <delete dir="${cvs.destination}" failonerror="false"/>
    </target>

    <!-- - - - - - - - - - - - - - - - - - 
          target: cvs.checkout                      
         - - - - - - - - - - - - - - - - - -->
    <target name="cvs.checkout" depends="cvs.init" >
    	<property name="operation.name" value="cvs.checkout"/>
    	<call target="operation.begin" />

    	<cvs-checkout 
    	    destination="${cvs.destination}" 
    	    cvsroot="${cvs.connection}" 
    	    password="${cvs.password}" 
    	    module="${cvs.module}" />

    	<call target="operation.end" />

    </target>

    <!-- - - - - - - - - - - - - - - - - - 
          target: vss.init                      
         - - - - - - - - - - - - - - - - - -->
    <target name="vss.init" depends="depends" >
        <delete dir="${vss.destination}" failonerror="false"/>
    </target>

	
	
    <!-- - - - - - - - - - - - - - - - - - 
          target: vss.checkout                      
         - - - - - - - - - - - - - - - - - -->
    <target name="vss.checkout" depends="vss.init">
    	<property name="operation.name" value="cvs.checkout"/>
    	<call target="operation.begin" />
    	<vssget user="${vss.user}"
		        password="${vss.password}"
	        	localpath="${vss.destination}"
        	    recursive="true"
        	    replace="true"
        	    writable="true"
        	    dbpath="${vss.connection}"
        	    path="${vss.module}" />
    	<call target="operation.end" />
    </target>


    <!-- - - - - - - - - - - - - - - - - - 
          target: depends                      
         - - - - - - - - - - - - - - - - - -->
    <target name="depends">
    </target>

	
    <!-- - - - - - - - - - - - - - - - - - 
          target: init.log                      
         - - - - - - - - - - - - - - - - - -->
    <target name="init.log">
    	<delete file="${log.file}"></delete>
    </target>


	
    <!-- ================================= 
          target: test.scc              
         ================================= -->
    <target name="test.scc" depends="init.log" description="Test all the source control ">
		<call target="cvs.checkout" />
    	<call target="vss.checkout" />
    </target>


</project>

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to