Ok tested with the latest nightly builds, it works.

Thanks!!

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 4 November 2003 5:29 PM
To: Eddie Tse; [EMAIL PROTECTED]
Subject: Re: [nant-dev] <solution> task bug in nested build

What version of NAnt are you using ?  This should actually already be fixed
in the 0.8.4 nightly builds, but not by that patch you supplied ... Earlier
versions of the solution task did not resolve the solution filename to a
full path in SolutionTask.cs, this was fixed since ...

Can you try one of the recent nightly builds
(http://nant.sourceforge.net/nightly/builds) ?

Thanks,

Gert
----- Original Message ----- 
From: "Eddie Tse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 11:08 PM
Subject: [nant-dev] <solution> task bug in nested build


> Hi All,
>
> I have a large multi-solution project and the solution task does not build
> properly if it is called within a nested <nant> task because the full path
> to the solution file is not used.  Patch attached.
>
>
> Cheers,
>
> Eddie
>
>
> Index: src/NAnt.VSNet/Solution.cs
> ===================================================================
> RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Solution.cs,v
> retrieving revision 1.19
> diff -u -r1.19 Solution.cs
> --- src/NAnt.VSNet/Solution.cs 3 Nov 2003 09:46:04 -0000 1.19
> +++ src/NAnt.VSNet/Solution.cs 3 Nov 2003 22:03:50 -0000
> @@ -51,13 +51,13 @@
>
>              string fileContents;
>
> -            using (StreamReader sr = new StreamReader(solutionFileName))
{
> +            using (StreamReader sr = new
> StreamReader(_solutionTask.SolutionFile)) {
>                  fileContents = sr.ReadToEnd();
>              }
>
>              Regex re = new
>
Regex(@"Project\(\""(?<package>\{.*?\})\"".*?\""(?<name>.*?)\"".*?\""(?<proj
> ect>.*?)\"".*?\""(?<guid>.*?)\""");
>              MatchCollection mc = re.Matches(fileContents);
> -            FileInfo fiSolution = new FileInfo(solutionFileName);
> +            FileInfo fiSolution = new
FileInfo(_solutionTask.SolutionFile);
>
>              foreach (Match m in mc) {
>                  string project = m.Groups["project"].Value;
>
>
>
> -------------------------------------------------------
> 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-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>




-------------------------------------------------------
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-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to