Hi,
 
I am defining some custom functions.  It seems that (1) NAnt does not
support function overloading, and (2) I can't easily pass a null value
to my functions, which would signal the function that it is to use a
default value.

The line in the build file:

<echo message="IISHelp: ${iis::vdir-exists('IISHelp', null, null)}" />

Expression: IISHelp: ${iis::vdir-exists('IISHelp', null, null)}
                                                   ^^^^
    Property 'null' has not been set.

For now I guess I will try to make a "get-null" custom function...  But
there must be a better way...!  How do you properly pass null into a
function?  I searched the docs at
http://nant.sourceforge.net/release/latest/help/fundamentals/expressions
.html which is where I would expect to see such a thing documented.  I
searched for the word "null" and my web browser couldn't find it... So
if it is possible to do it, then the documentation is seriously
lacking...

Best regards,

James Johnston


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to