Thanks Gert. Can you please make a new daily build and post it? I really
need to build my project asap and anonymous cvs is not very up-to-date so I
cannot rebuild from CVS.

Jarek

----- Original Message ----- 
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "Erv Walter" <[EMAIL PROTECTED]>; "Jaroslaw Kowalski"
<[EMAIL PROTECTED]>; "NAnt Developers" <[EMAIL PROTECTED]>
Sent: Tuesday, August 26, 2003 8:41 PM
Subject: Re: [nant-dev] BUG: incorrect output of resgen


> I can't recall why I changed it ... I've reverted my changes for now.
>
> Sorry for the hassle it caused.
>
> Gert
>
> ----- Original Message ----- 
> From: "Erv Walter" <[EMAIL PROTECTED]>
> To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>; "NAnt Developers"
> <[EMAIL PROTECTED]>; "Gert Driesen"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, August 26, 2003 8:31 PM
> Subject: RE: [nant-dev] BUG: incorrect output of resgen
>
>
> This used to be broken and was fixed.  It sounds like a recent checkin
> broke things again.  The 1.27 revision of resgentask.cs broke things
> (Mon Aug 18 11:58:18 2003 UTC (8 days, 6 hours ago) by drieseng).
> GetOutputFile() depends on being able to tell if someone didn't pass in
> todir.  The change committed by Gert (perhaps on behalf of someone else)
> makes it so that ToDirectory never returns null and defaults to the
> project directory. This breaks resource filesets.
>
> -----Original Message-----
> From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 26, 2003 12:46 PM
> To: NAnt Developers
> Subject: [nant-dev] BUG: incorrect output of resgen
>
> Hi all!
>
> I have a problem with Nant built from CVS an hour ago. My build file
> that
> used to work with some older versions of Nant, fails when used with new
> version.
>
> The problem can be reduced to a simple *.build file
>
> ------------------------------
> <project>
>  <csc target="library" output="aaa.dll" >
>   <sources basedir="a">
>    <includes name="*.cs" />
>   </sources>
>   <resources basedir="a" prefix="zzz">
>    <includes name="*.resx" />
>   </resources>
>  </csc>
> </project>
> -----------------------------
>
> where c# sources are located in "${nant.project.basedir}\a" directory.
> They
> can be as simple as a single file with the contents: "public class A {
> };".
> There's also a *.resx file in the "a" directory (any resx file will do).
>
> NAnt produces the following error message (full log is attached):
>
> error CS1566: Error reading resource file 'x:\b\a\MainForm.resources'
>
> At the same time a new file called "MainForm.resources" has appeared in
> the
> directory where my build file is located (but I think it should go to
> "a"
> directory instead).
>
> I think that ResGen task (or its invocation) should be fixed to produce
> the
> *.resource file in a correct place, but I have no idea how to do it
> myself.
> Can you help me?
>
> Jarek
>
>
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to