Gert,

I agree completely - but I wasn't sure how to implement that! Documentation is pretty sparse on it - but I will go spelunking through the code - do you have any pointers as to where to start?

That does get me wondering, the "imports" option is also a (comma) delimited list - but it is also implemented like my first suggestion for libpath - can we kill 2 birds with one stone and implement both of these options as filesets? This is a more controversial move - as it would break existing scripts...

I know for me personally, as a heavy uiser of the imports directive at the PROJECT level (not the individual source code file level), using the imports option as it is currently implemented in NAnt is a big pain - I just assumed that it was never implemented as a fileset because VB was the only language that actually allowed it! Is this the case? Or was there some other reason?

Another reason to break these out into filesets - it would make it much easier to translate a .sln file to a .build script if this were the case!

Where do we go from here?
Dave

----Original Message Follows----
From: "Gert Driesen"
Subject: Re: [nant-dev] support of "libpath" option for vbc task/commit access to CVS DB
Date: Fri, 18 Jul 2003 07:32:59 +0200


as the libpath is a semi-colon delimited list of directories, you should
perhaps consider using a FileSet instead of a string property.

Just to make sure we do it right from the start.

Gert

----- Original Message -----
From: "David Keber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 17, 2003 5:18 PM
Subject: [nant-dev] support of "libpath" option for vbc task/commit access
to CVS DB


> Hello, > > I have a change to the vbc task I would like to see incorporated into > VbcTask.cs file, namely I would like to add support for vbc.exe's "libpath" > option. I have already made the necessary changes against version 1.14 of > the code, all that I need is to be able to commit this change back to the > CVS database. How do I get commit access to the database? > > I would really like to see this change incorporated into the final 0.83 > release - I've attached the modified VbcTask.cs 1.14 code file to this > email, and I'll dump a diff at the end of this message. In the interests of > speed, can someone with CVS commit access please check these changes in? > > Thanks, > Dave > > Index: VbcTask.cs > =================================================================== > RCS file: /cvsroot/nant/nant/src/NAnt.DotNet/Tasks/VbcTask.cs,v > retrieving revision 1.14 > diff -r1.14 VbcTask.cs > 64a65 > > string _libPath = null; > 124a126,140 > > /// Specifies the location of assemblies referenced by way of the > ><c>/reference</c> flag. > > /// <para>Corresponds to the <c>/libpath:dir1[,dir2]</c> > >flag.</para> > > /// </summary> > > /// <remarks><a > >href="ms-help://MS.NETFrameworkSDK/vblr7net/html/valrfLibpath.htm">See the > >Visual Basic Reference for details.</a></remarks> > > /// <value> > > /// <para>The value of this property must exist or be an empty > >string.</para> > > /// <para>If <c>False</c>, or an empty string, the switch is > >omitted.</para> > > /// </value> > > [TaskAttribute("libpath")] > > public string LibPath { > > get{ return _libPath; } > > set{ _libPath = value; } > > } > > > > /// <summary> > 270a287,291 > > } > > > > // handle the libpath option. > > if (LibPath != null ) { > > WriteOption(writer, "libpath", LibPath); > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 >

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




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

Reply via email to