Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 197297 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java (-12 / +9 lines)
Lines 417-423 Link Here
417
	 */
417
	 */
418
	public IConsole getConsole() 
418
	public IConsole getConsole() 
419
	{
419
	{
420
		if (this._console == null){this._console = new ConsoleImpl();}
420
		if (this._console == null) {
421
			this._console = new ConsoleImpl();
422
			this._console.setAC(this._ac);
423
			this._console.setTPTPAC(true);
424
		}
425
421
		return this._console;
426
		return this._console;
422
	}
427
	}
423
428
Lines 555-571 Link Here
555
	{
560
	{
556
		 try
561
		 try
557
		 {
562
		 {
558
		 	if(this.getConsole() == null)
563
			// Initialize the console 
559
		 	{ 
564
		 	getConsole();
560
		 		this._console = new ConsoleImpl();
561
		 		this._console.setAC(this._ac);
562
		 		this._console.setTPTPAC(true);
563
		 	}
564
		 	if(this._console.getAC() == null)
565
		 	{
566
		 		this._console.setAC(this._ac);
567
		 		this._console.setTPTPAC(true);	
568
		 	}
569
		 	
565
		 	
570
			//Get the PC destID
566
			//Get the PC destID
571
		 	this._destID = getDestID();
567
		 	this._destID = getDestID();
Lines 602-607 Link Here
602
			 e.printStackTrace();
598
			 e.printStackTrace();
603
		 }
599
		 }
604
	}
600
	}
601
605
	//To Do 
602
	//To Do 
606
	public void handleCommand(ICommandElement command) 
603
	public void handleCommand(ICommandElement command) 
607
	{
604
	{

Return to bug 197297