Hello,

sometimes it may be necessary to use the current project
in custom functions defined via script-task, e.g. for the
method GetPropertyValue from class Nant.Core.ExpressionEvaluator.
How can the current project be retrieved?
Using ScriptMain is no solution for nested builds.
Or how can property values be retrieved otherwise?
Passing properties as parameters to functions is no
solution if the name of the property is known only at run time.

Best regards
Helmut Dipper

-- 
Helmut Dipper                     | AED-SICAD Aktiengesellschaft
phone: +49 89 45026 320           | Postfach 830754
  fax: +49 89 45026 316           | D-81707 Muenchen
email: [EMAIL PROTECTED] | http://www.aed-sicad.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to