Hi.I had problems with property assignment.
1.I use <xmlpeek file="test.xml" propety="version" xpath="//settings/version" />
to get version,but I need to use if condition to use default value "0.0.0" or 
not.
if I write <property name="version" value="${version}" if="${usedefault}">
it always report errors.property cannot be overwritten.
I have no idea how to assign default value to my property...
2.I would like to separate tasks into many build file and initial read 
configuration to properties in first build file then use that in other build 
file.is that possible? 
thanks for your help.


      
______________________________________________________________________________________________________
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to