Index
This manual provides a brief description of procedures from installation through to use of the Knowledge Manager.
Operating as an Eclipse plug-in, this tool allows you to easily create and manage knowledge on GUI. Knowledge allows you to set search conditions, difficulty in porting, porting man-hours (approximate number of lines to be ported) and other factors for extracting the code that needs to be ported. The registered knowledge is managed in the XML format. It handles mainly the following information.
Table 1. Information handled by this tool
Item | Description |
---|---|
Knowledge documents information | Document information can be exported in the HTML format. By copying exported files to the Knowledge-Based Search makes it possible to link reference from search results. |
Search information regarding code that needs to be ported | Search information can be exported in the XML format. Using exported files as input to the Knowledge-Based Search makes it possible to use them as search logic. |
It has been confirmed that the tool can operate in the following hardware environment.
Table 1. Hardware Requirements
Item | Requirements |
---|---|
CPU | Pentium (R) Dual-Core CPU E5400 @2.70GHz (2 CPU) or the equivalent |
RAM | 2012MB RAM or more |
It has been confirmed that the tool can operate in the following software environment.
Table 1. Software Requirements
Item | Requirements |
---|---|
OS | Windows XP/7, RHEL6(*)Other Linux Compatible |
JavaVM | Oracle JRE 1.6 or more |
IDE | Eclipse 3.7 Indigo or Eclipse 4.3 Kepler |
None in particular.
Set up the operating environment described above. Perform the steps below after the required environment has been set up.
Download
Download the plug-in.
![]() | Note |
---|---|
https://github.com/TUBAME/migration-tool/releases |
Unzip
Unzip the downloaded file.
Unzipping the file creates the
tubame.knowhow_*
directory.
![]() | Note |
---|---|
The * part of the name varies with the version. |
![]() | Important |
---|---|
Unzipping the file in Windows may fail due to path length limitations.
If it fails, use a short path such as
|
Install in Eclipse.
Move or copy the unzipped directory to the
plugins
directory under the Eclipse installation directory.
Confirm installation.
Select the Eclipse menu as shown below.
→ → →
Confirm that the Plug-in Id column contains the tubame.knowhow plug-in name.
Complete installation.
This completes the installation.
The following describes how to use the tool.
Perform the following steps.
Start up Eclipse.
Start up the project creation wizard.
→ →
Create a
.→
Use the New Project wizard to make the appropriate settings required by the environment of the item to be ported to create a project.
Perform the following steps.
Start up Perspective.
→ → →
Initialize the tool.
Starting up Perspective automatically starts tool initialization. Please wait until initialization completes.
![]() | Note |
---|---|
Initializing XML marshal/unmarshal classes can take time. |
![]() | Note |
---|---|
Initialization once started cannot be canceled. Clicking the button is ignored. |
A method for creating knowledge is described below.
Create a Knowledge XML file.
→ → →
![]() | Note |
---|---|
To open a created → → |
Work with Knowledge Entry view.
Use Knowledge Entry view to add, refer to, update and delete knowledge. Created knowledge can be used as an item to create documents and other data. Use either of the following methods to start up Knowledge Entry view.
Auto startup after creating knowledge XML.
Start up from Eclipse Show View menu.
→ → → →
Create an item group that builds knowledge.
Use the following steps to create items. Since there are no items to begin with, a category must be created.
→ → →
![]() | Note |
---|---|
Only categories can be created when no item has been selected. |
![]() | Note |
---|---|
In addition to the above methods, copy and paste can also be used to create items. |
The following item types are used to build knowledge. A description of each item is given below.
Table 1. Item types
Item | Description |
---|---|
Category | An item corresponding to the chapters and sections that configure a document. It contains title information. |
Knowledge |
An item corresponding to knowledge content described in the chapters and sections that configure a document. It contains
DocBook#Artile
format content information.
|
Check item | An item that contains information whether or not corresponding knowledge will need to be ported. It contains information such as search processes, porting factors, difficulty and other information. |
Search information | A search logic item that the Knowledge-Based Search uses during searches. |
Work with the Knowledge Editor.
This editor edits registered items and creates document configurations. The Knowledge editor contains the following tab types. A description of each tab is given below.
Table 2. Tab Types
Item | Description | |||
---|---|---|---|---|
Documentation | Enables editing of the chapter configuration of HTML documents to be created. After creating a heading, categories can be dragged and dropped from the Knowledge Entry view to configure a document. | |||
Knowledge details |
An editor that edits knowledge content in the
DocBook#Article
format. In the editor, you can right-click to insert tag templates.
|
|||
Check item | Allows you to edit check item information and search information selected in Knowledge Entry view. |
The following describes
check item information
and
search information data entries that are edited in the
Check item
tab.
Table 3. Check Item Information
Item | Description | |||
---|---|---|---|---|
Search process | Provide an overview of which port items registered as knowledge should be searched and how they should be searched. | |||
Conduct a search | Select this checkbox to conduct searches using the Knowledge-Based Search. | |||
Porting factor | Searches items that correspond to the reason for the need to port code. | |||
Difficulty |
Selects the difficulty of porting work.
|
|||
Difficulty details | Selects difficulty details of porting work.
|
|||
Visual check | Enter criteria or investigation methods of visual checks when set logical search conditions are not enough to define items that need to be ported. | |||
Inquiry check | Enter items to be checked with developers when the need for porting cannot be determined without checking with the developer. |
Table 4. Search Information
Item | Description | |||
---|---|---|---|---|
Target search file | Enter the name of files subject to search. Regular expressions can be used in entries. | |||
Search keyword 1 | Enter the parameters that will be passed to the search module. Regular expressions and XPath entries can be made.
|
|||
Search keyword 2 | Enter the parameters that will be passed to the search module. Regular expressions and XPath entries can be made.
|
|||
Search module | Select the module to search based on the search module overview.
|
|||
Search Module overview | Displays a description of the search module overview. | |||
Line count calculation | Select this checkbox when the value in the Line count field should be added as porting man-hours when a search returns a hit. | |||
Reason for not calculating | Enter the reason when line count calculation should be ignored. | |||
Unknown/TODO | When the line count is not finalized, select an applicable item. | |||
Line count | Enter the rough number of lines that should be rewritten during porting. | |||
Line count basis | Enter the reason for the entered line count. | |||
Investigation details | Enter the investigation method for calculating the number of lines that will be rewritten. |
A standard Eclipse browser can be used to check a created knowledge document. The following two methods are provided.
Check the entire document.
In the toolbar, the Documentation tab.
button allows you to check an entire document configured using theCheck single items.
The Knowledge detail tab allows you to check documents created using single items.
→ →
This feature allows you to export created knowledge as files. The following two methods are provided.
Export to XML.
In the toolbar, the
button allows you to export files in the XML format.
![]() | Note |
---|---|
Exported files can be re-edited using Knowledge Manager. |
![]() | Note |
---|---|
Exported files can be used by Knowledge-Based Search as input files. |
Export to HTML
In the toolbar, the
button allows you to export files in the HTML format.![]() | Important |
---|---|
Exported files can be re-edited using Knowledge Manager. |
![]() | Note |
---|---|
Exported files can be used by Knowledge-Based Search as input files. |
Delete the installed
tubame.knowhow_*
. This completes the uninstallation.
![]() | Note |
---|---|
The * part of the name varies with the version. |
![]() | Note |
---|---|
Add the -clean option when starting up Eclipse after deletion. |