Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 80353 Details for
Bug 197297
Problems with the process console when attaching to an agent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Initialize console in IProcess#getConsole
execution_patch.txt (text/plain), 1.55 KB, created by
Stanislav Polevic
on 2007-10-15 10:08:48 EDT
(
hide
)
Description:
Initialize console in IProcess#getConsole
Filename:
MIME Type:
Creator:
Stanislav Polevic
Created:
2007-10-15 10:08:48 EDT
Size:
1.55 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.execution >Index: src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.execution/src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java,v >retrieving revision 1.23 >diff -u -r1.23 ProcessImpl.java >--- src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java 22 Aug 2007 16:47:03 -0000 1.23 >+++ src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java 15 Oct 2007 14:01:13 -0000 >@@ -417,7 +417,12 @@ > */ > public IConsole getConsole() > { >- if (this._console == null){this._console = new ConsoleImpl();} >+ if (this._console == null) { >+ this._console = new ConsoleImpl(); >+ this._console.setAC(this._ac); >+ this._console.setTPTPAC(true); >+ } >+ > return this._console; > } > >@@ -555,17 +560,8 @@ > { > try > { >- if(this.getConsole() == null) >- { >- this._console = new ConsoleImpl(); >- this._console.setAC(this._ac); >- this._console.setTPTPAC(true); >- } >- if(this._console.getAC() == null) >- { >- this._console.setAC(this._ac); >- this._console.setTPTPAC(true); >- } >+ // Initialize the console >+ getConsole(); > > //Get the PC destID > this._destID = getDestID(); >@@ -602,6 +598,7 @@ > e.printStackTrace(); > } > } >+ > //To Do > public void handleCommand(ICommandElement command) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197297
:
80346
|
80347
|
80353
|
80354
|
84867
|
84868