Thanks! -----Original Message----- From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 2:32 PM To: Felice Vittoria; Nant-Users (E-mail) Subject: Re: [Nant-users] using property values w/in functions
if="${directory::exists(src.dir + '/ac')}" or even better: if="${directory::exists(path::combine(src.dir, 'ac'))}" Property names are unquoted within expressions. Jarek ----- Original Message ----- From: "Felice Vittoria" <[EMAIL PROTECTED]> To: "Nant-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 9:25 PM Subject: [Nant-users] using property values w/in functions > Hello, > > I am trying to use property values within functions. For example, if I have this line: > > <delete dir="${src.dir}\ac" if="${directory::exists(${src.dir}\ac)}" /> > > This will result in this: > > Unexpected token 'Dollar'. > Expression: ${directory::exists(${src.dir}\ac)} > ^ > > I also tried the following w/out any success: > > <delete dir="${src.dir}\ac" if="directory::exists(${src.dir}\ac)" /> > <delete dir="${src.dir}\ac" if="${directory::exists(src.dir\ac)}" /> > > > What am I doing wrong? > > Felice > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idG21&alloc_id040&opĚk > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users