/// <summary>
 /// Constructs project manager with OutputPrx writing to console.
 /// </summary>
 /// <param name="args">A string[] representing arguments from command line.</param>
 /// <param name="options">A <see cref="T:Ferda.ProjectManager.ProjectManagerOptions"/>
 /// representing options for ProjectManaget</param>
 public ProjectManager(string[] args, ProjectManagerOptions options)
 {
     this.options = options;
     if(options.StartIceGridLocaly) StartIceGrid(options.IceBinPath, options.IceGridAsService, options.IceGridWorkingDirectory, options.IceGridApplicationXmlFilePath);
     modulesManager = new Ferda.ModulesManager.ModulesManager(args, options.LocalePrefs);
     archive = new Archive(views);
 }
 public void SetUp()
 {
     Debug.Listeners.Clear();
     TextWriterTraceListener t = new TextWriterTraceListener("TestLogModules.txt");
     Debug.Listeners.Add(t);
     Debug.AutoFlush = true;
     Debug.WriteLine("starting projectManager ...");
     Ferda.ProjectManager.ProjectManagerOptions options = new Ferda.ProjectManager.ProjectManagerOptions();
     options.StartIceGridLocaly = true;
     options.StopIceGridLocaly = true;
     options.IceGridAsService = false;
     options.LocalePrefs = new string[] { "en-US", "cs-CZ" };
     options.SentenceForWait = "[ icegridnode: Server: changed server `0' state to `Inactive' ]";
     projectManager = new Ferda.ProjectManager.ProjectManager(new string[0], options);
     Debug.WriteLine("getting modulesManager ...");
     modulesManager = projectManager.ModulesManager;
 }