| Summary: | [terminal] split the plugin into the terminal view and connection contributions | ||
|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Michael Scharf <eclipse> |
| Component: | Terminal | Assignee: | Michael Scharf <eclipse> |
| Status: | CLOSED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, javier.montalvoorus, mark.melvin, martin.gutschelhofer, nobody, norbert.ploett, sridhars |
| Version: | unspecified | ||
| Target Milestone: | 1.0.1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Michael Scharf
Here's a starting point for discussing a possible split of plug-ins: * The Terminal Core Plugin, which contains the vt102 emulation and the SWT widget, should have minimal dependencies. Ideally, it should be able to run in an RCP application, see http://wiki.eclipse.org/index.php/RCP_FAQ#What_is_included_in_the_Rich_Client_Platform.3F * In order to avoid an explosion in the number of plugins, when the standalone Terminal View can live with RCP dependencies only, I could imaging having it in the core terminal plugin as well. If it needs more dependencies, I'd vote for putting it in a separate plugin. Capabilities could be used to hide the Terminal view when an application doesn't want to see it. * The terminal core plugin should also contain the basic interfaces for contribution terminal connectors, like the serial, telnet, ssh, rse or debugconsole ones. Each of those should live in its own plugin. With this suggestion, we could have the following plugins: org.eclipse.tm.terminal -- core vt102 emu, swt widget org.eclipse.tm.terminal.view -- stand-alone terminal view using the widget org.eclipse.tm.terminal.serial -- serial connector org.eclipse.tm.terminal.rse -- rse connector I checked a first version of the new plugin structure in. It's not finished but seems to work. org.eclipse.tm.terminal -- core vt102 emu, swt widget org.eclipse.tm.terminal.view -- stand-alone terminal view using the widget org.eclipse.tm.terminal.serial -- serial connector The serial plugin does not compile unless you have installed the java comm library into your jre lib/ext directory (http://java.sun.com/products/javacomm/). I created 3 plugins and 3 feature plugins. I created a (temporary) update site: http://www.scharf.gr/eclipse/org.eclipse.tm.terminal-update To run the serial terminal you have to have the java comm library installed. I increased the number of classes and interfaces during the restructuring (there were a few big classes with many inner classes), but the total lines of code (without comments and empty lines) decreased by 15%. It's now about 4500 lines. I hope to decrease the size in the future (my goal is to reduce another 15%).... A first cut of the terminal is now checked in. It's currently available out of CVS only, best use the Project Set from http://www.eclipse.org/dsdp/tm/development/cvs_setup.php For the Serial plugin, see the readme.txt in the plugin I consider this task done.... Verified with M20061215-0955. Closing. Verified with M20061215-0955. Closing. |