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


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


[nant-dev] csc /lib parameter handling

2003-11-23 Thread Yevgeniy . Tolmachev

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


CscTask.cs
Description: Binary data