Re: [nant-dev] nunit2 uses obsolete version of NUnit 2.1

2003-11-24 Thread Gert Driesen
This should be fixed in recent nightly builds
(http://nant.sourceforge.net/nightly/builds) ?

Can you let us know if that fixed your problem ?

Thanks,

Gert

- Original Message - 
From: Wojciech Ziembla [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 7:41 AM
Subject: [nant-dev] nunit2 uses obsolete version of NUnit 2.1


 Hello

 NAnt references nunit.framework in version 2.1.3 which is no longer
 avaliable at nunit.org. Could you switch reference to 2.1.4, please?

 Best regards
   Wojciech Ziembla




 ---
 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


Re: [nant-dev] csc /lib parameter handling

2003-11-24 Thread Gert Driesen
Yevgeniy,

I added support for the /lib(path) option using fileset support, meaning
that you're now able to use the following build syntax in all compiler tasks
(csc, vbc, vjc, jsc) :

csc ...
sources
...
/sources
lib basedir=...
includes name=... /
/lib
/csc

eg. to set c:\Test\Assemblies and c:\Test\References as directories in which
to search for assembly references, you can use the following build fragment
:

lib basedir=c:\Test
includes name=Assemblies /
includes name=References /
/lib

I committed these changes to cvs, and they will be available in the next
nightly build.

Gert

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 8:01 PM
Subject: [nant-dev] csc /lib parameter handling


 Hello Gentlemen,

 I was in need of passing /lib parameter to c# compiler and being unable to
 find appropriate attribute in csc task I extended it myself.
 Please find the source code attached. I'm new here and would appreciate if
 someone could take care to incorporate it into the next release.

 Thanks a bunch,
 Yevgeniy (Eugene) Tolmachev
 t.o.e at sympatico dot ca




---
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


Re: [nant-dev] csc /lib parameter handling

2003-11-24 Thread Ian MacLean
Right now anything added to the lib tag will only affect those 
references specified as a bare file name with the asis attribute.  so:

includes name=myref.dll asis=true /

since the fileset will exclude all non-framework bare-file references.

Ian

Gert Driesen wrote:

Yevgeniy,

I added support for the /lib(path) option using fileset support, meaning
that you're now able to use the following build syntax in all compiler tasks
(csc, vbc, vjc, jsc) :
csc ...
   sources
   ...
   /sources
   lib basedir=...
   includes name=... /
   /lib
/csc
eg. to set c:\Test\Assemblies and c:\Test\References as directories in which
to search for assembly references, you can use the following build fragment
:
lib basedir=c:\Test
   includes name=Assemblies /
   includes name=References /
/lib
I committed these changes to cvs, and they will be available in the next
nightly build.
Gert

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 14, 2003 8:01 PM
Subject: [nant-dev] csc /lib parameter handling

 

Hello Gentlemen,

I was in need of passing /lib parameter to c# compiler and being unable to
find appropriate attribute in csc task I extended it myself.
Please find the source code attached. I'm new here and would appreciate if
someone could take care to incorporate it into the next release.
Thanks a bunch,
Yevgeniy (Eugene) Tolmachev
t.o.e at sympatico dot ca
   



---
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
 



--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com



---
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


[nant-dev] Re: FW: [Nant-users] solution stuff

2003-11-24 Thread Matthew Mastracci
Make sure your COM dll is registered on the server that is building your 
project.

Gerold Kathan wrote:

hi - we are trying to get our solution to build by nAnt - actually we 
are not successful - there seems to be something missing - we reference 
a COM dll (BAWPublicV5) and solution task produces follwoing error:

* using nant-20031028.zip nighlty build

any hints ?

greetings from vienna,

gerold.

-



compile:

 [solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.ApplicationException: Couldn't find reference to type library 
'BAWPublicv5' (TYPELIB\{E1A04E7
B-BB8C-474E-A8AD-C893042F08F1}\24.0\0\win32).
   at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) 
in C:\DOCUME~1\ADMINI~1\LOC
ALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Reference.cs:line 373
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, 
XmlElement elemReference, So
lutionTask solutionTask, String outputDir) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt
.VSNet\Reference.cs:line 125
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Tem
p\tmp291.tmp\src\NAnt.VSNet\Project.cs:line 175
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask 
slnTask, TempFileCollection t
fc, String outputDir, String path) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\P
rojectFactory.cs:line 50
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, 
XmlElement elemReference, So
lutionTask solutionTask, String outputDir) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt
.VSNet\Reference.cs:line 61
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Tem
p\tmp291.tmp\src\NAnt.VSNet\Project.cs:line 175
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask 
slnTask, TempFileCollection t
fc, String outputDir, String path) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\P
rojectFactory.cs:line 50
   at NAnt.VSNet.Solution.LoadProjects() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.V
SNet\Solution.cs:line 373
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList 
additionalProjects, ArrayList ref
erenceProjects, TempFileCollection tfc, SolutionTask solutionTask, 
WebMapCollection webMappings, Fil
eSet excludesProjects, String outputDir) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.V
SNet\Solution.cs:line 113
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\s
rc\NAnt.VSNet\Tasks\SolutionTask.cs:line 289
   at NAnt.Core.Task.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Task.c
s:line 151
   at NAnt.Core.Target.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Targ
et.cs:line 207
   at NAnt.Core.Project.Execute(String targetName) in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\
src\NAnt.Core\Project.cs:line 753
   at NAnt.Core.Project.Execute() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Pro
ject.cs:line 729
   at NAnt.Core.Project.Run() in 
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Project
.cs:line 778

Please send bug report to [EMAIL PROTECTED]

Total time: 4.3 seconds.




---
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


[nant-dev] Re: solution task and linked VS.Net files.

2003-11-24 Thread Matthew Mastracci
Viehland, Kirk wrote:
Nant developers,

I am getting this error when I compile a VS.Net 2003 solution with an
ProductInfo file that has been linked from a parent directory.
Just as a side note - what is a Linked file within a solution?  How is 
one created?

---
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


Re: [nant-dev] Re: solution task and linked VS.Net files.

2003-11-24 Thread Ivan Tarasov
Hello Matthew,

when you add existing file to the project (in VS.NET), in the open
dialog the Open button has an arrow on the right side. By clicking
on this arrow you activate the popup menu in which you can choose
Link. In that case the file is not copied, in the project the xml
attribute Link appears. E.g.:
File
RelPath = ..\VersionInfo.cs
Link = ..\VersionInfo.cs
BuildAction = Compile
/

Surely, it is a greate example of non-intuitive UI :-)

MM Viehland, Kirk wrote:
 Nant developers,
 
 I am getting this error when I compile a VS.Net 2003 solution with an
 ProductInfo file that has been linked from a parent directory.

MM Just as a side note - what is a Linked file within a solution?  How is 
MM one created?

-- 
Best regards,
 Ivanmailto:[EMAIL PROTECTED]



---
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


Re: [nant-dev] csc /lib parameter handling

2003-11-24 Thread Gert Driesen
- Original Message - 
From: Ian MacLean [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 24, 2003 1:40 PM
Subject: Re: [nant-dev] csc /lib parameter handling


 I was thinking much the same thing. If we did that we would then be 
 sending full paths to csc and wouldn't need to write the /lib option to 
 the response file at all.

Then I guess we should decide what do with this as soon as possible ...

Its your call ...

Gert



---
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


Re: [nant-dev] csc /lib parameter handling

2003-11-24 Thread Ian MacLean
looks like you already decided. Thats fine. Sending full paths is good.

Ian
Gert Driesen wrote:
- Original Message - 
From: Ian MacLean [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 24, 2003 1:40 PM
Subject: Re: [nant-dev] csc /lib parameter handling

 

I was thinking much the same thing. If we did that we would then be 
sending full paths to csc and wouldn't need to write the /lib option to 
the response file at all.
   

Then I guess we should decide what do with this as soon as possible ...

Its your call ...

Gert



---
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
 



--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com



---
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


Re: [nant-dev] Re: solution task and linked VS.Net files.

2003-11-24 Thread Ian MacLean
Doesn't it though. For ages I just assumed that you had to have files in 
the same directory as the project.
Ian

Matthew Mastracci wrote:

Heh - that's really cool, but the UI truely sucks.  Why don't they add 
a menu item for that instead?  :)  I had *no* clue that even existed. 
I've been manually hacking .csproj files to point to the same file 
which tends to screw up VS.NET.

Ivan Tarasov wrote:

Hello Matthew,

when you add existing file to the project (in VS.NET), in the open
dialog the Open button has an arrow on the right side. By clicking
on this arrow you activate the popup menu in which you can choose
Link. In that case the file is not copied, in the project the xml
attribute Link appears. E.g.:
File
RelPath = ..\VersionInfo.cs
Link = ..\VersionInfo.cs
BuildAction = Compile
/
Surely, it is a greate example of non-intuitive UI :-)

MM Viehland, Kirk wrote:

Nant developers,

I am getting this error when I compile a VS.Net 2003 solution with an
ProductInfo file that has been linked from a parent directory.



MM Just as a side note - what is a Linked file within a solution?  
How is MM one created?



---
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


--
Ian MacLean, Developer, 
ActiveState, a division of Sophos
http://www.ActiveState.com



---
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