Bugs item #1245001, was opened at 2005-07-26 10:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1245001&group_id=54790

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: None
Status: Open
Resolution: None
Priority: 5
Submitted By: kzudin (kzudin)
Assigned to: Nobody/Anonymous (nobody)
Summary: AbstractSvnTask error 

Initial Comment:
There are two attributes with the same 
name "command"  and with different types. One has 
String type and other has Boolean.

Problem:
        /// <summary>
        /// The command to execute.
        /// </summary>
        [TaskAttribute("command", Required=false)]
        public override string CommandName {
            get { return base.CommandName; }
            set { base.CommandName = value; }
        }

        [TaskAttribute("command", Required=false)]
                [BooleanValidator()]
        public bool Quiet {
            get { return (null != this.CommandOptions
["quiet"]) ? 
                      ((Option)this.CommandOptions
["quiet"]).IfDefined : true; }
            set { this.SetCommandOption("quiet", "quiet", 
value); }
        }
Solution:
        /// <summary>
        /// The command to execute.
        /// </summary>
        [TaskAttribute("command", Required=false)]
        public override string CommandName {
            get { return base.CommandName; }
            set { base.CommandName = value; }
        }

        [TaskAttribute("quiet", Required=false)]
                [BooleanValidator()]
        public bool Quiet {
            get { return (null != this.CommandOptions
["quiet"]) ? 
                      ((Option)this.CommandOptions
["quiet"]).IfDefined : true; }
            set { this.SetCommandOption("quiet", "quiet", 
value); }
        }


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1245001&group_id=54790


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to