The architectural design for the static parsers has changed in moving from 1.3 to 3.x. The org.eclipse.hyades.logging.events.* classes have been migrated to the org.eclipse.hyades.logging.events.cbe.* Common Base Event classes.
Follow these steps to migrate your static parser:
The classes used in your static parser Java class for Common Base Events need to be updated. All instances of org.eclipse.hyades.logging.events.* need to be migrated to org.eclipse.hyades.logging.events.cbe.*. For example, if you have a set of import statements:
import org.eclipse.hyades.logging.events.ICommonBaseEvent;in 3.x.x, these statements need to be updated to:
import org.eclipse.hyades.logging.events.IComponentIdentification;
import org.eclipse.hyades.logging.events.IReportSituation;
import org.eclipse.hyades.logging.events.ISituation;
import org.eclipse.hyades.logging.events.cbe.CommonBaseEvent;For details on the org.eclipse.hyades.logging.events.cbe.* classes, refer to the Common Base Event Programming API.
import org.eclipse.hyades.logging.events.cbe.ComponentIdentification;
import org.eclipse.hyades.logging.events.cbe.ReportSituation;
import org.eclipse.hyades.logging.events.cbe.Situation;
Additional fields in the adapter are now being validated in the Adapter Configuration Editor. For example, the Implementation Creation Date and the Role Creation Date fields must have a value that conforms to the XML date time format, yyyy-MM-ddThh:mm:ss. Ensure that any errors that show up in the Problems view for your adatper are corrected before you run the adapter.
v3.x.x Configuration | v1.3.0 Configuration | |
---|---|---|
Java Build Path plug-ins |
org.eclipse.hyades.logging.adapter.config\hglaconfig.jar org.eclipse.hyades.logging.core\hlcore.jar org.eclipse.hyades.logging.core\hlcbe101.jar org.eclipse.hyades.logging.parsers\hparse.jar org.eclipse.hyades.logging.adapter\hgla.jar org.eclipse.emf.ecore\runtime\ecore.jar org.eclipse.emf.common\runtime\common.jar org.eclipse.hyades.logging.commons\hlcommons.jar org.apache.jakarta_commons_logging\commons-logging.jar |
org.eclipse.hyades.logging.adapter\hglaconfig.jar org.eclipse.hyades.logging.core\hlcore.jar org.eclipse.hyades.logging.core\hlevents.jar org.eclipse.hyades.logging.parsers\hparser.jar org.apache.xerces\xmlParserAPIs.jar org.eclipse.hyades.logging.commons\common-loggings.jar |
Common Base Event API | org.eclipse.hyades.logging.events.cbe.* | org.eclipse.hyades.logging.events.* |
Adapter Configuration File changes |
Additional fields validated through editor:
|
N/A |
Related tasks
Creating a log parser
Related references
Adapter Configuration File structure
Adapter Configuration Editor
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.