Ejemplo n.º 1
0
 /// <summary>
 /// Stop the current NAnt process.
 /// </summary>
 public void StopTarget()
 {
     if (NAntProcess.IsWorking)
     {
         NAntProcess.Stop();
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initialize the thread for NAnt process.
        /// </summary>
        public void StartTarget()
        {
            if (!NAntProcess.IsWorking)
            {
                NAntProcess.Filename   = Filename;
                NAntProcess.TargetNode = CurrentNode;

                // Sets focus to console
                VisualStudioUtils.ShowWindow(ApplicationObject, "Output");

                NAntProcess.Start();
            }
        }
Ejemplo n.º 3
0
 private ViewController()
 {
     NAntProcess = new NAntProcess(this);
 }