DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21513>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21513

Add ability to set user defined variables from cmd. line





------- Additional Comments From [EMAIL PROTECTED]  2003-07-16 14:10 -------
So - the second parameter is used both as the default value AND as the name of 
the variable in which the result is stored?

I don't think that is a good idea - for one thing, if two different calls to 
__property() have the same default value, the variable will be overwritten. And 
is '8080' a valid variable name? It would be confusing referring to ${8080} 
elsewhere in the plan when that could actually be 80 or 123 or whatever ...

==

Either the second parameter needs to become the default value (and the function 
no longer uses it to store the result), or a 3rd parameter is needed.

Given that the function is fairly simple, I prefer the idea of keeping just two 
parameters, and no longer storing the output value.

If the plan needs the same value elsewhere, just call _property() again - or 
store the value in a user parameters test element.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to