Monday, May 14, 2007

NAnt String Concatenation

I'm not familiar with Ant, but in NAnt, the plus sign can act as a string concatenation operator, so you can say something like

<mkdir dir="${work-dir}\Svcs" if="${not directory::exists(work-dir+'\Svcs')}">

You can also use the Concat function. Both are documented.

No comments: