I'm sure this is something stupid, but I can't figure out how to
overwrite a property from the command-line.

I've got a simple build file.

<?xml version="1.0"?>
<project name="Test">
    <property name="config" value="Release" readonly="false" />
</project>

I run it from the command-line as follows:

nant -D:config=Debug

It always gives me an error:

NAnt 0.85 (Build 0.85.1783.0; nightly; 11/18/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/VSSLocal/Applications/Products/test.build

 [property] Read-only property "config" cannot be overwritten.

BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s)

Total time: 0 seconds.

What the heck am I doing wrong?
 
---
Craig Wagner


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to