Bugs item #2986656, was opened at 2010-04-13 11:42 Message generated for change (Comment added) made by rmboggs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2986656&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: 0.85 Status: Open Resolution: None Priority: 5 Private: No Submitted By: fmhome (fmhome) Assigned to: Nobody/Anonymous (nobody) Summary: <tstamp> task "Pattern" not working Initial Comment: Hi, The following info seems to be misleading and has a bug, unless I am totally missing the logic here. Example: (From NAnt doc) Set the build.date property. <tstamp property="build.date" pattern="yyyyMMdd" verbose="true" /> No matter what pattern you use. The task returns the same output as below... Buildfile: file:///C:/test.build Target framework: Microsoft .NET Framework 2.0 [tstamp] Tuesday, April 13, 2010 9:46:38 AM. BUILD SUCCEEDED Total time: 0 seconds. ---------------------------------------------------------------------- >Comment By: Ryan Boggs (rmboggs) Date: 2010-04-13 17:50 Message: Works for me... <?xml version="1.0" ?> <project name="t_test" default="t_target"> <target name="t_target"> <tstamp property="build.date" pattern="yyyyMMdd" verbose="true" /> </target> </project> Output: NAnt 0.90 (Build 0.90.3752.0; nightly; 4/10/2010) Copyright (C) 2001-2010 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/temp/t_test.build Target framework: Microsoft .NET Framework 3.5 Target(s) specified: t_target t_target: [tstamp] Tuesday, April 13, 2010 5:47:58 PM. [tstamp] build.date = 20100413. BUILD SUCCEEDED Total time: 0 seconds. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2986656&group_id=31650 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers