Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread netvampire.tw
Dear Bob,     Thank you for your help.I generated output today,but yesterday.I don't know why...I got there was no output file exception when I exec something wrong.btw,I could use now.Thanks. Best regards, Edwin - 原始信件 寄件者: Bob Archer 收件者: netvampire.tw ; "nant-users@lists.sourcefo

Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread Bob Archer
> I want to use output="log.txt" failonerror="false"> if=${int::parse(errorcode)!=0}/> > to get errocode if exit 0 or not,if not print out what happened in > my logfile > now I use to exec aaa.bat execute fail like there is no aaa.bat > file, output > log.txt would not generate > I couldn't ge

Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread netvampire.tw
I want to use to get errocode if exit 0 or not,if not print out what happened in my logfile now I use to exec aaa.bat execute fail like there is no aaa.bat file, output log.txt would not generate I couldn't get build result in my email,I should go to server to see what happened. I also use n

Re: [NAnt-users] may I get nant exec task error message?

2011-02-10 Thread Bob Archer
> I use nant exec task to auto build script for a while.I can get > error code but I > can't get error message in property.I want to record error message > when it fail > build.Is that possible without using xmllogger log everything then > find errors > Thanks for help Can you clarify what you wan