Hi Folks,

First off, my specific problem:
Using the <vssget> task in NAnt-contrib, I want to optionally specify a
version in the properties I pass to the project, however if I pass nothing,
then I get an error that no version has been specified.  Is there any way to
specify a version of "latest"?  Alternatively, if there any way to only
include an attribute to a task if it has a value?

More generally, I may need to do similar things with several attributes (one
being the key file for building signed assemblies).  One approach that
occurred to me is to have two versions of the task in the target with
mutually exclusive if attributes so one or the other gets executed.  Is this
the best approach?  Anyone have any other suggestions?

Thanks,

Bill





______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person or 
organisation to whom it is addressed.  Its contents are confidential and may be 
protected in law.  Unauthorised use, copying or disclosure of any of it may be 
unlawful.  If you are not the intended recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, which 
could damage your own computer system.  While Marlborough Stirling has taken every 
reasonable precaution to minimise this risk, we cannot accept liability for any 
damage, which you sustain as a result of software viruses.  You should carry out your 
own virus checking procedure before opening any attachment.

Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.com



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to