예제 #1
0
 public ProcessWrapper(LauncherConfiguration configuration)
 {
     this.workingDirectory = configuration.WorkingDirectory;
     this.executable       = configuration.Executable;
     this.javaHome         = configuration.JavaHome;
     this.args             = Environment.GetCommandLineArgs();
 }
예제 #2
0
        public LauncherCore()
        {
            Console.Out.WriteLine("[Launcher] Starting Pentaho Launcher");
            configuration = new LauncherConfiguration();
            configuration.LoadConfiguration();

            Console.Out.WriteLine("[Launcher] Launcher location '{0}'.", configuration.FullPathExecutable);

            Console.CancelKeyPress += CancelHandler;
        }
 public LauncherFileRegistration(LauncherConfiguration configuration)
 {
     this.configuration = configuration;
 }