Bugs item #1505598, was opened at 2006-06-13 15:32 Message generated for change (Settings changed) made by garyfx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1505598&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: 0.85 Status: Open >Resolution: Invalid Priority: 5 Submitted By: mike (mkt10mike) Assigned to: Nobody/Anonymous (nobody) Summary: can not overwrite value of command-line property Initial Comment: I have a Nant target (init) that sets the properties for a specified build enviroment. In my nant.build file, I set the buildfile attribute of the include task = to my properties.xml (global props file). When I call my "deploy" target from command-line (nant deploy -D:configfile=test.xml, I get the following error: " Read-only property "spearfishconfig" cannot be overwritten." My deploy target depends on the init target that I defined. In the init, I do the following in order to prompt the user to set a value for configfile if it is not set: <if test="${property::get-value('isvalid') == 'false'}"> <property name="prompt" value="configfile" verbose="true" /> <call target="prompt" /> <call target="init" /> </if> I also have checks in this target to see if a value has been set for the configfile property and this is how the "isvalid" property gets set. I know that the command-line property is readonly, but I tried to set the overwrite attribute to the configfile to false based on another bug that i saw in the tracker. ---------------------------------------------------------------------- >Comment By: Gary Feldman (garyfx) Date: 2006-06-15 12:15 Message: Logged In: YES user_id=847172 I don't see any bug report here. I suggest taking questions and discussions to the nunit-users mailing list, and not using the bug tracker until you've narrowed things down to a specific bug, preferably with enough information to reproduce it. Gary ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1505598&group_id=31650 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers