Re: [nant-dev] BUG: incorrect output of resgen

2003-08-27 Thread Jaroslaw Kowalski
Thanks. It works fine now.

Jarek
- Original Message - 
From: Gert Driesen [EMAIL PROTECTED]
To: Jaroslaw Kowalski [EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 10:58 PM
Subject: Re: [nant-dev] BUG: incorrect output of resgen


 A new daily was uploaded, let me know if that fixes your problem.

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


  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


Re: [nant-dev] Questions about Project class

2003-08-27 Thread Philip Nelson
That's what it looked like but I wanted to make sure that it wasn't just
unfinished business.  I'll proceed with the idea or working from the xml
directly, thanks.

--- Ian MacLean [EMAIL PROTECTED] wrote:
 Philip,
 the Nant project class and others are not designed to be DOM like. Many 
 elements are only created just before execution and then thrown away. 
 This is to ensure that when a task or build element is initialized it 
 has the correct ( up to date values).
 
 I can appreciate that having a DOM like project object would help with 
 your app but that is not the purpose of the current NAnt Project class.
 
 Ian



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] last suggestion - Solution task again

2003-08-27 Thread Martin Aliger
 Odd...  We simply check in .csproj files and leave .csproj.user files on
 each machine individually.  We haven't had any issues with this.

 Are you perhaps talking about 3rd party references?  Or GAC references?

no - normal references to assemblies. Unfortunattely we do not use CVS or
similar system and every developer has another directory tree. A lot of us
do not have sources from all assemblies and references pre-built .dlls. This
result is scheme, where one developer writes assembly Gordic.General and
another one Gordic.Win32 which is dependant on General
Reference
Name = Gordic.General
AssemblyName = Gordic.General
HintPath = ..\dll\Gordic.General.dll
/

But on build server no path ..\dll exists and nant failed with
   BUILD FAILED
   Couldn't find referenced assembly
'C:\temp\src\dll\Gordic.General.dll'.

This is logical but imposible to solve right now. Maybe solution is to
create some attribute to Solution task to override references path? (like
outputdir)

What is your ideas?

Thanks,
Martin




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] solution task

2003-08-27 Thread Martin Aliger
Hi,

recent outputdir addon is missing this (second constructor)

--- E:\src\nant\distrib\NAnt.VSNet\Solution.cs Sun Aug 24 09:29:48 2003
+++ E:\src\nant\src\NAnt.VSNet\Solution.cs Wed Aug 27 13:22:38 2003
@@ -124,6 +124,7 @@
 _solutionTask = solutionTask;
 _excludesProjects = excludesProjects;
 _webMaps = webMaps;
+_outputDir = outputDir;
 
 LoadProjectGUIDs(projects, false);
 LoadProjectGUIDs(referenceProjects, true);


[checked agains build nant-20030826.zip, sorry for non-cvs]

  S pozdravem 

Ing. Martin Aliger  

gordic.gif

[nant-dev] solutiontask outputdir attribute

2003-08-27 Thread Martin Aliger
Hi,

new outputdir attribute works great for assembly output but for
documentation makes few more folders under outputdir when doc output is set
e.g. to 'debug\bin\aa.xml'.

This should patch it:

--- E:\src\nant\distrib\NAnt.VSNet\ConfigurationSettings.cs Tue Aug 26
22:04:44 2003
+++ E:\src\nant\src\NAnt.VSNet\ConfigurationSettings.cs Wed Aug 27 14:32:25
2003
@@ -55,7 +55,7 @@
 FileInfo fiDocumentation = new
FileInfo(projectSettings.RootDirectory + @/ +
elemConfig.Attributes[DocumentationFile].Value);
 _docFilename = fiDocumentation.FullName;
 } else {
-_docFilename = Path.GetFullPath(Path.Combine(outputDir,
elemConfig.GetAttribute(DocumentationFile)));
+_docFilename = Path.GetFullPath(Path.Combine(outputDir,
Path.GetFileName(elemConfig.GetAttribute(DocumentationFile;
 }
 _settings.Add(@/doc: + _docFilename + @);

Directory.CreateDirectory(Path.GetDirectoryName(_docFilename));



  S pozdravem

Ing. Martin Aliger

gordic.gif

Re: [nant-dev] last suggestion - Solution task again

2003-08-27 Thread Matthew Mastracci
I think I understand.  Each developer has a bunch of reference 
directories that are set up in VS.NET, right?  You're right - we would 
likely need to add a references tag to the solution task to handle 
this situation. 

Matt.

Martin Aliger wrote:

Odd...  We simply check in .csproj files and leave .csproj.user files on
each machine individually.  We haven't had any issues with this.
Are you perhaps talking about 3rd party references?  Or GAC references?
   

no - normal references to assemblies. Unfortunattely we do not use CVS or
similar system and every developer has another directory tree. A lot of us
do not have sources from all assemblies and references pre-built .dlls. This
result is scheme, where one developer writes assembly Gordic.General and
another one Gordic.Win32 which is dependant on General
   Reference
   Name = Gordic.General
   AssemblyName = Gordic.General
   HintPath = ..\dll\Gordic.General.dll
   /
But on build server no path ..\dll exists and nant failed with
  BUILD FAILED
  Couldn't find referenced assembly
'C:\temp\src\dll\Gordic.General.dll'.
This is logical but imposible to solve right now. Maybe solution is to
create some attribute to Solution task to override references path? (like
outputdir)
What is your ideas?

Thanks,
Martin


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
 





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] OT: anonymous cvs

2003-08-27 Thread Martin Aliger
Why is anonymous cvs older than night build? I played quite long with cvs to
get it work through our firewall to only get older files! I am annoyed.

  S pozdravem

Ing. Martin Aliger

gordic.gif

Re: [nant-dev] solution task

2003-08-27 Thread Gert Driesen
This is now fixed in cvs.

Thanks !

Gert
- Original Message - 
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:15 PM
Subject: [nant-dev] solution task


 Hi,
 
 recent outputdir addon is missing this (second constructor)
 
 --- E:\src\nant\distrib\NAnt.VSNet\Solution.cs Sun Aug 24 09:29:48 2003
 +++ E:\src\nant\src\NAnt.VSNet\Solution.cs Wed Aug 27 13:22:38 2003
 @@ -124,6 +124,7 @@
  _solutionTask = solutionTask;
  _excludesProjects = excludesProjects;
  _webMaps = webMaps;
 +_outputDir = outputDir;
  
  LoadProjectGUIDs(projects, false);
  LoadProjectGUIDs(referenceProjects, true);
 
 
 [checked agains build nant-20030826.zip, sorry for non-cvs]
 
   S pozdravem 
 
 Ing. Martin Aliger  
 
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] OT: anonymous cvs

2003-08-27 Thread Gert Driesen
sourceforge has been experiencing problems lately (actually its already
quite a while), so anonymous cvs is running against the backup server.

Gert

- Original Message - 
From: Martin Aliger [EMAIL PROTECTED]
To: ! nant [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 5:40 PM
Subject: [nant-dev] OT: anonymous cvs


 Why is anonymous cvs older than night build? I played quite long with cvs
to
 get it work through our firewall to only get older files! I am annoyed.

   S pozdravem

 Ing. Martin Aliger





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Patch for solution task

2003-08-27 Thread Tom Cabanski
For c-sharp, get the nowarn settings from the project file and pass on to the 
compiler.  The patch is inline below my signature.

Thanks in advance for posting it.

-
Tom Cabanski, President
Objective Advantage, Inc.
http://www.oai.cc
Phone: +1-281-348-2517x15

cvs diff (in directory C:\cvsroot\nant\src\NAnt.VSNet\)
cvs server: Diffing .
Index: ConfigurationSettings.cs
===
RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/ConfigurationSettings.cs,v
retrieving revision 1.5
diff -r1.5 ConfigurationSettings.cs
72a73
 htStringSettings[NoWarn] = /nowarn:{0};
 




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Patch for solution task

2003-08-27 Thread Gert Driesen
Hi Tom,

This has actually already been committed to cvs, but thanks for the patch
anyway ...

Gert

PS.  Would it be possible to include patches as attachments instead of
having them inline ?

- Original Message - 
From: Tom Cabanski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 11:26 PM
Subject: [nant-dev] Patch for solution task


For c-sharp, get the nowarn settings from the project file and pass on to
the compiler.  The patch is inline below my signature.

Thanks in advance for posting it.

-
Tom Cabanski, President
Objective Advantage, Inc.
http://www.oai.cc
Phone: +1-281-348-2517x15

cvs diff (in directory C:\cvsroot\nant\src\NAnt.VSNet\)
cvs server: Diffing .
Index: ConfigurationSettings.cs
===
RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/ConfigurationSettings.cs,v
retrieving revision 1.5
diff -r1.5 ConfigurationSettings.cs
72a73
 htStringSettings[NoWarn] = /nowarn:{0};





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers