Hi Clayton,

I downloaded the last nightly build. The error is now clearly reported.
In fact, I did a big mistake, I used cvs-update with an empty folder as
destination.  cvs-checkout is the task I have to use.

However, in the nightly build, there is a problem.
With nant-0.84 (the latest stable release), cvs-checkout is working
perfectly. (it takes about 40 seconds to retrieve the 700 files)
With the lastest build (nant-20031213) , cvs-checkout failed. After about
30 minutes (!!) , the CLR crashed with a memory error. With logging turned
to all, i'm seeing
many times the same filenames.  Then I have the feeling that there is an
infinite loop....

I will continue to use the latest stable release since it gives me
satisfaction,

regards,
Pierre.










Hi Pierre,

I have checked a new #cvslib binary into the NAnt repository which fixes
some related issues.  Could you try your test again in the next nightly
build and see if this fixes the issue.



Thanks,


Clayton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: December 11, 2003 7:39 AM
> To: Clayton Harbour
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] problem with the cvs-update task ::
> System.IO.FileNotFoundException:
> path=[c:\main\night\HelloWorld]fileType=[Repository]Filenotfound.
>
>
> Hi Clayton,
>
> I'm using nant 0.84 (build 0.84.1435.0) .
>
>
> I've changed Nant.exe.config in order to have some detailed log. I got
> that
> ....
>
>
> [Core.Task:Task.Execute() for 'cvs-update'  - [] <>]
> [Tasks.AbstractCvsTask:Setting options  - [] <>]
> [Tasks.AbstractCvsTask:this.WorkingDirectory.Revision=[]  - [] <>]
> [Client.CVSServerConnection:Exception: System.NullReferenceException
> Message: Object reference not set to an instance of an object.
> Source: ICSharpCode.SharpCvsLib
>    at ICSharpCode.SharpCvsLib.Client.CVSServerConnection..ctor()
>   - [] <>]
> [Tasks.UpdateTask:Reading all directory entries from working directory
> HelloWorld.  - [] <>]
> [FileSystem.Manager:Does this path have a cvs directory at end of
file?
> hasCvsDir=[False]path=[c:\main\night\HelloWorld]  - [] <>]
> [FileSystem.Manager:Cvsdir=[c:\main\night\HelloWorld\CVS]  - [] <>]
> [FileSystem.Manager:Does this path have a cvs directory at end of
file?
> hasCvsDir=[True]path=[c:\main\night\HelloWorld\CVS]  - [] <>]
> [FileSystem.Manager:Cvsdir=[c:\main\night\HelloWorld\CVS]  - [] <>]
> [Core.Task:cvs-update Generated Exception  - [] <>]
> Exception: System.IO.FileNotFoundException
> Message: path=[c:\main\night\HelloWorld]fileType=[Repository]File not
> found.
> Source: ICSharpCode.SharpCvsLib
>    at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchSingle(String
path,
> FileType fileType)
>    at
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdate(String
> directory)
>    at
NAnt.SourceControl.Tasks.UpdateTask.PopulateFolders(WorkingDirectory
> workingDirectory)
>    at NAnt.SourceControl.Tasks.UpdateTask.CreateCommand()
>    at NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask()
>    at NAnt.Core.Task.Execute()
>
> It's a little strange...I've looked in the ISharpCode.SharpCvsLib.dll
and
> the only object whose instance may be null in the CVSServerConnection
> constructor seems to be:
> local0 = (SharpCvsLibConfig) ConfigurationSettings.GetConfig
> ("sharpcvslib");
>
> Do I have to change a default config ?
>
> Pierre
>
>
>
>
> |---------+------------------------------>
> |         |           [EMAIL PROTECTED]|
> |         |           adicism.com        |
> |         |                              |
> |         |           11/12/03 16:58     |
> |         |                              |
> |---------+------------------------------>
>
>-----------------------------------------------------------------------
> -------------------------------------------------------|
>   |
> |
>   |       To:       Pierre THOREY/ress/fr/[EMAIL PROTECTED], nant-
> [EMAIL PROTECTED]                                        |
>   |       cc:
> |
>   |       Subject:  RE: [Nant-users] problem with the cvs-update task
::
> System.IO.FileNotFoundException: path=[c:             |
>   |        \main\night\HelloWorld]fileType=[Repository]Filenot found.
> |
>
>-----------------------------------------------------------------------
> -------------------------------------------------------|
>
>
>
>
> Hi Pierre,
>
> What version of NAnt are you using?
>
>
> Clayton
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: December 11, 2003 2:33 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Nant-users] problem with the cvs-update task ::
> > System.IO.FileNotFoundException:
> > path=[c:\main\night\HelloWorld]fileType=[Repository]Filenot found.
> >
> > Hello,
> >
> > I got the following issue.
> > I'm using a cvs server (version 1.11.5) .
> >
> > Whis this target,
> > <target name="src.update">
> >             <cvs-update
> >                 destination="c:\main\night"
> >                 cvsroot=":pserver:[EMAIL PROTECTED]:/home/cvs"
> >                 password=""
> >                 module="HelloWorld" />
> > </target>
> > I get the following error :
> >
> > src.update:
> >
> >
> > BUILD FAILED
> >
> > INTERNAL ERROR
> >
> > System.IO.FileNotFoundException:
> path=[c:\main\night\HelloWorld]fileType
> > =[Repository]File not found.
> >    at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchSingle(String
> path,
> > FileType fileType)
> >    at
> ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdate(String
> > directory)
> >    at
> NAnt.SourceControl.Tasks.UpdateTask.PopulateFolders(WorkingDirectory
> > workingDirectory)
> >    at NAnt.SourceControl.Tasks.UpdateTask.CreateCommand()
> >    at NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask()
> >    at NAnt.Core.Task.Execute()
> >    at NAnt.Core.Target.Execute()
> >    at NAnt.Core.Project.Execute(String targetName)
> >    at NAnt.Core.Project.Execute()
> >    at NAnt.Core.Project.Run()
> >
> > Please send bug report to [EMAIL PROTECTED]
> >
> > Total time: 0.1 seconds.
> >
> > Any idea ?
> >
> > Thanks a lot,
> >
> > Pierre
> >







******************************************************************
The sender's email address has changed to 
firstname.lastname@ sgcib.com. You may want to update your 
personal address book. Please see http://www.sgcib.com for more 
information.
                               **
This message and any attachments (the "message") are confidential
and intended solely for the addressee(s). Any unauthorised use or
dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
                         ***************
L'adresse mail  de votre correspondant a change en prenom.nom@ sgcib.com.
Il est recommande de mettre a jour votre carnet d'addresse
personnel.Pour plus d'informations, aller  sur http://www.sgcib.com
                               **
Ce message et toutes les pieces jointes (ci-apres le "message")
sont confidentiels et etablis a l'intention exclusive de ses
destinataires. Toute utilisation ou diffusion non autorisee est
interdite. Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute
responsabilite au titre de ce message s'il a ete altere, modifie
ou falsifie.
******************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to