Menu

#13 -set: doesn't work with all properties

0.7.749.5625
closed-fixed
nobody
Core (183)
5
2002-04-15
2002-03-22
No

The regular expression used to determine the property
name and value with the -set option is too simple. It
doesn't handle cases like:

nant -set:project.name=MyCompany.MyProject

The embedded periods are not handled properly.

Discussion

  • Chris Jenkin

    Chris Jenkin - 2002-03-28

    Logged In: YES
    user_id=455591

    Submitted fix to nant-dev.

    Fixed the regex pattern match on the argument.
    Changed:
    Match match = Regex.Match(arg, @"-D:(\w+)=(\w*)");
    To:
    Match match = Regex.Match(arg, @"-D:(\w+.*)=(\w*.*)");

     
  • Bernard Vander Beken

    Logged In: YES
    user_id=25244

    Fixed in CVS as requested here on 2002-03-28.

     
  • Bernard Vander Beken

    • status: open --> closed-fixed
     
  • Bernard Vander Beken

    Logged In: YES
    user_id=25244

    Fixed in CVS as requested here on 2002-03-28.

     

Log in to post a comment.

MongoDB Logo MongoDB