From: Erick T. <eth...@nb...> - 2003-12-22 23:41:20
|
The following line in a build file I have works in 0.8.4 RC1, but not = RC2 (but I did need to change filename to file).=20 <xmlpeek file=3D"${projectName}" = xpath=3D"/VisualStudioProject/CSHARP/Build/Settings/@AssemblyName" = property=3D"appName" /> The exception I'm getting is a Format Exception, with the follow stack. = The projectName property does refer to a valid file, and the file = contains the XPath. If I can provide any additional help, please let me = know. Erick System.FormatException: Index (zero based) must be greater than or equal = to zero and less than the size of the argument list. at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, = String fo rmat, Object[] args) at System.String.Format(IFormatProvider provider, String format, = Object[] arg s) at NAnt.Core.Task.Log(Level messageLevel, String message, Object[] = args) at NAnt.Core.Tasks.XmlPeekTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.TaskContainer.ExecuteTask() |
From: Gert D. <ger...@pa...> - 2003-12-23 08:35:45
|
Erick, Thanks for reporting this issue. I will make sure its fixed for the 0.84 release ... Gert ----- Original Message -----=20 From: "Erick Thompson" <eth...@nb...> To: "NAnt developers (E-mail)" <nan...@li...> Sent: Tuesday, December 23, 2003 12:41 AM Subject: [nant-dev] Build file broke from RC1->RC2 The following line in a build file I have works in 0.8.4 RC1, but not RC2 (but I did need to change filename to file). <xmlpeek file=3D"${projectName}" xpath=3D"/VisualStudioProject/CSHARP/Build/Settings/@AssemblyName" property=3D"appName" /> The exception I'm getting is a Format Exception, with the follow stack. T= he projectName property does refer to a valid file, and the file contains th= e XPath. If I can provide any additional help, please let me know. Erick System.FormatException: Index (zero based) must be greater than or equal = to zero and less than the size of the argument list. at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String fo rmat, Object[] args) at System.String.Format(IFormatProvider provider, String format, Objec= t[] arg s) at NAnt.Core.Task.Log(Level messageLevel, String message, Object[] arg= s) at NAnt.Core.Tasks.XmlPeekTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.TaskContainer.ExecuteTask() ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ nant-developers mailing list nan...@li... https://lists.sourceforge.net/lists/listinfo/nant-developers |