Couldn't you just make properties from -D not read-only and just have a higher precedence than <property> ? I know in Ant -D has higher precedence. if(property set via -D) { don't throw } ?
Just to clarify...
In Ant, all properties are read-only... that is, they always keep the first value they are set to. -D has higher precedence because the property is set before the project is executed!
Put another way, Ant didn't require any special logic for -D to override <property>... NAnt is more complex (but more flexible!) by allowing properties to be mutable.
-- Troy
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users