Bug 220306 - [terminal][serial] Terminal prints to stdout when selecting serial back-end but RXTX is not installed
Summary: [terminal][serial] Terminal prints to stdout when selecting serial back-end b...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: Terminal (show other bugs)
Version: 2.0.3   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 175336
Blocks:
  Show dependency tree
 
Reported: 2008-02-25 19:31 EST by Martin Oberhuber CLA
Modified: 2008-07-09 10:47 EDT (History)
1 user (show)

See Also:


Attachments
Patch fixing the issue and improving install instructions (12.20 KB, patch)
2008-07-09 10:45 EDT, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2008-02-25 19:31:54 EST
Found when verifying TM 2.0.3 fixes on Linux-GTK RHEL4:

Install TM-Terminal-SDK but not RXTX.
Try to open serial terminal
--> An info dialog is opened showing that RXTX is not installed,
    and how to get it.
--> Same information is printed to stdout as an exception

Expected behavior:
1.) TM Terminal should not print to stdout
2.) Information about obtaining RXTX should point to the "Eclpse Update-Site"
    version of RXTX, which is available as per bug 175336 comment 5
Comment 1 Martin Oberhuber CLA 2008-07-09 10:45:41 EDT
Created attachment 106949 [details]
Patch fixing the issue and improving install instructions

Attached patch fixes the issue. The Terminal Logger used to print all exceptoins to stdout, now it does so only in case the Eclipse Logging mechanism should not be available (which is very unlikely).
Comment 2 Martin Oberhuber CLA 2008-07-09 10:46:38 EDT
Patch committed:
[220306] Improve RXTX Serial Install Instructions