Example #1
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		/// Initializes a new instance of the <see cref="NantRunner"/> class.
		/// </summary>
		/// <param name="fileName">The filename and path of NAnt</param>
		/// <param name="commandLine">Command line</param>
		/// <param name="workingDirectory">Working directory</param>
		/// <param name="log">Log listener</param>
		/// <param name="handler">Build status handler</param>
		/// -----------------------------------------------------------------------------------
		internal NantRunner(string fileName, string commandLine, string workingDirectory,
			AddinLogListener log, BuildStatusHandler handler)
		{
			m_ProgramFileName = fileName;
			m_CommandLine = commandLine;
			m_WorkingDirectory = workingDirectory;
			m_Log = log;
			BuildStatusChange += handler;
		}
Example #2
0
 /// -----------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="NantRunner"/> class.
 /// </summary>
 /// <param name="fileName">The filename and path of NAnt</param>
 /// <param name="commandLine">Command line</param>
 /// <param name="workingDirectory">Working directory</param>
 /// <param name="log">Log listener</param>
 /// <param name="handler">Build status handler</param>
 /// -----------------------------------------------------------------------------------
 internal NantRunner(string fileName, string commandLine, string workingDirectory,
                     AddinLogListener log, BuildStatusHandler handler)
 {
     m_ProgramFileName  = fileName;
     m_CommandLine      = commandLine;
     m_WorkingDirectory = workingDirectory;
     m_Log              = log;
     BuildStatusChange += handler;
 }