Hi I am having problems using VSS 8 and the NAnt Contrib task VSSGet
with Version attribute. 

I am trying to get source files from VSS using NAnt Contrib 0.86 
VSSGet and the attribute version. However I get the following error 
when using the example below: 


The "path" and/or "version" is not valid. Version not found 


<iniread property="version" filename="GetVersionNumber.ini" 
section="VersionNumber" key="Number" default="0.0.0.0"/> 


<vssget username="buildmanager" password="" localpath="$ 
{compiled.files}" recursive="true" replace="true" dbpath="$ 
{vssdbpath}"path="${vsscompiled.files}" writable="true" version=" *- $ 
{version}" /> 


Where the version property has been set in an ini file to 0.19.0.0 and 
the label in VSS is 'Automated Build - 0.19.0.0' 


If I set the version property to 598 an actual verison number for a 
file in VSS I do not get the error! 


Looking forward to any ideas you may have! 


Many thanks in advance


Ryan 

Ryan Risbridger 

Information Technology

Norwich & Peterborough B.S. 
Lynch Wood PE2 6WZ 

 

T +44 (0)1733 37 (2043) 
F +44 (0)1733 370 478 

 

mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
http://www.npbs.co.uk <http://www.npbs.co.uk/>  

 

 

**********************************************************************************
The information contained in this e-mail (and any attachment) is private and 
intended for the use of the addressee(s) only. Any unauthorised use or 
disclosure of information contained within it (or within any attachment) is 
strictly prohibited and may be illegal. Please let the sender know immediately 
if it has been sent to or received by you in error.  Any opinions expressed in 
this e-mail are those of the individual and not Norwich and Peterborough 
Building Society or any of its subsidiaries.  All Norwich and Peterborough 
Building Society e-mails are subject to monitoring.

NPBS Mail Administrator

Norwich and Peterborough Building Society
Peterborough Business Park, Lynch Wood, Peterborough, PE2 6WZ.

Principal Office: Peterborough Business Park, Lynch Wood, Peterborough, PE2 6WZ.
Norwich and Peterborough Building Society is authorised and regulated by the 
Financial Services Authority (registration no. 150965) and entered in the 
Financial Services Authority's register. www.fsa.gov.uk/register
Participant in the Financial Ombudsman Service scheme.

The Society provides financial advice on regulated and non-regulated products.

http://www.npbs.co.uk

<<image001.gif>>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to