From: Gary F. <sf_...@ma...> - 2006-05-31 17:51:18
|
Ortius, Helga wrote: > thank you for your support! > I am using NANT 0.84.1455.0 net-1.0.win32; release; 26.12.2003 This is the problem. The documentation you're reading is no doubt for version 0.85. I suggest downloading the latest available nightly build from http://nant.sourceforge.net/. Gary PS The NAnt mailing list has chosen to not set the reply-to header to go back to the list, which means we need to do this manually. When replying to posts on the list, I suggest using Reply-All, remove the addresses of the people (so they don't get two emails), and, if necessary, change the nant-users address to To: from CC:. I've sent this reply back to the list so that everyone could see the answer. > > Here is the command that I excecuted: > wss_install -D:test=TEST > > wss_install is a .bat file that calls the nant script. > > Here is the output of the script: > > Target(s) specified: TEST > [sysinfo] Setting system information properties under s > BUILD FAILED > install.properties(7,3): > Property 'property::exists('h_test')' has not been set. > > I edited the install.properties file that is called at some point of > time during execution of the nant script. > > I am really stranded and greatly appreciate any help! > > Kind regards, > Helga > > ------------------------------------------------------------------------ > *Von:* nan...@li... im Auftrag von Gary Feldman > *Gesendet:* Mi 31.05.2006 18:08 > *An:* nan...@li... > *Betreff:* Re: [NAnt-users] Read command line parameter into nant script > > Ortius, Helga wrote: > > > > I am trying to read the command line arguments with which the build > > file is called in order to process it during the excecution of nant > > (Logging/Reporting reasons). > > > > I try to do it using the following code: > > > > <property name="test" value="Release" > > unless="${property::exists('test')}" /> > > <echo message="debug: ${test}"/> > > > > If I call the build file like this "<my.build -D:test=Test>" I get the > > following error: > > > > Property 'property::exists('h_test')' has not been set. > Which version of NAnt are you using? Also, did you cut and paste from > the actual build file into the mail message? If not, please do so. I > don't think it's possible to get that particular wording in the error > message from NAnt, at least not any recent version, from what you've > provided. > > I'm not sure what you mean by calling the build file with "<my.build > -D:test=Test>". Did you mean a command line that looks like "nant > -f:my.build -D:test=Test"? I don't know what tool might expect the > string you provided with angle brackets; NAnt doesn't, CC.Net doesn't, > and the DOS shell doesn't (at least I don't think NAnt would try to read > the build file from stdin, which is how that would be interpreted by the > shell). > > Gary > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642> > _______________________________________________ > NAnt-users mailing list > NAn...@li... > https://lists.sourceforge.net/lists/listinfo/nant-users > |