Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 83841

Summary: Update the GLA docs with new class names
Product: z_Archived Reporter: Dave Smith <smith>
Component: TPTPAssignee: Nellie Chau <nelliec>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: Documentation
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dave Smith CLA 2005-01-27 11:32:48 EST
In TPTP, the contents of org.eclipse.hyades.logging.adapter.config are moved 
into org.eclipse.hyades.logging.parsers.  The classes formerly in 
org.eclipse.hyades.logging.adapter.config have been deprecated and replaced 
with classes in the org.eclipse.hyades.logging.parsers.  These new classes have 
names that better reflect the function of the classes.   For example: 

o.e.h.logging.adapter.config.StaticParserWrapper   --->  
o.e.h.logging.parsers.ParserWrapper   - this class is used for wrapping both 
static parsers and rules-based parsers so they can be used in the Log Import 
scenario. 
o.e.h.logging.adapter.config.sensors.StaticParserSensor  --->  
o.e.h.logging.parsers.adapter.sensors.StaticParserSensor 
o.e.h.logging.adapter.config.outputters.StaticParserOutputter  --->  
o.e.h.logging.parsers.adapter.outputters.LogImportOutputter  - this is a GLA 
outputter class for outputting the CommonBaseEvents to the Log Import loader 
and is used for both static and rules-based adapters. 

The GLA docs should reflect these new class names.

Another effect of this plugin consolidation is that the staticParser extension 
point name has changed:

org.eclipse.hyades.logging.adapter.config.staticParser  --->  
org.eclipse.hyades.logging.parsers.staticParser 

I don't think this extension point is mentioned in the GLA docs but it should 
be.  When creating a new static parser class, a staticParser extension must be 
added to the plugin.xml of the plugin that contains the static parser class.  
This is required so the class can be found when it is used to parse a file in 
the Log Import scenario.
Comment 1 Dave Smith CLA 2005-01-27 11:33:59 EST
This is required for 4.0
Comment 2 Dave Smith CLA 2005-02-04 01:47:58 EST
Note the new class name for the StaticParserWrapper class is:

org.eclipse.hyades.logging.parsers.importer.ParserWrapper

This is different than the name in my previous comments.
Comment 3 Nellie Chau CLA 2005-02-08 09:52:00 EST
Moving this out to i2.  
Comment 4 Nellie Chau CLA 2005-03-08 11:54:00 EST
Fixed.  Additional updates to the docs will go under defect 87314.
Comment 5 Nellie Chau CLA 2005-03-08 11:54:20 EST
Fixed.
Comment 6 Dave Smith CLA 2007-09-21 15:16:25 EDT
Verified with 20050718 TPTP 4.0 driver.  Closing this bugzilla.