Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » cant deploy a rule based GLA
cant deploy a rule based GLA [message #8322] Sun, 06 March 2005 13:00 Go to next message
Andreas Voss is currently offline Andreas Voss
Messages: 51
Registered: July 2009
Member
Hi all,

I have a rule based generic log adapter file that works fine in the
adapter file editor (I can scroll through the log file and see output
from FormatterResult etc). But when I run this in a run-time workbench
it complains that the file adapters\My.adapter can not be found (the
file is there and I triple checked the spelling) - error code is IWAT0369E

Probably there is something wrong with the plugin.xml, especially is the
StaticParserWrapper the right class for a rule-based GLA?

Is there any example of a rule-based GLA somewhere?

I'm using hyades release 3.2.0, eclipse 3.0.1, jdk 1.5.0

Thanks a lot for any pointers,
Andreas

<extension
point="org.eclipse.hyades.logging.parsers.logParser">
<parser
name="My Parser"
icon="./icons/full/obj16/apache_access.gif"
description="My Parser"
class=" org.eclipse.hyades.logging.adapter.config.StaticParserWrappe r "
ui_name="My Parser UI"
id="com.tonbeller.tdilog.TdiLogParser">
<field
useBrowse="true"
name="Path"
id="file_path"
browseType="*.log">
</field>
<parserParameter
name="Default"
value="./adapters/My.adapter">
</parserParameter>
</parser>
</extension>
Re: cant deploy a rule based GLA [message #11283 is a reply to message #8322] Mon, 21 March 2005 15:05 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Andreas,
The documentation and samples for creating log file parsers is somewhat
dated. This will be fixed under
https://bugs.eclipse.org/bugs/show_bug.cgi?id=87302. This defect contains an
attachment with some existing parsers that you may find helpful.

In the meantime, might I suggest you consult the product documentation
(Help >> Help Contents). I would suggest including a version filed in your
parser extension point declaration. For example:

<field
useBrowse="false"
defaultValue="v1"
name="Version"
helpContextId=""
tooltip="This is the version"
ui_type="combobox"
id="version">
</field>

Paul

"Andreas Voss" <eclipse@a-voss.de> wrote in message
news:d0eut2$vf1$1@www.eclipse.org...
> Hi all,
>
> I have a rule based generic log adapter file that works fine in the
> adapter file editor (I can scroll through the log file and see output
> from FormatterResult etc). But when I run this in a run-time workbench
> it complains that the file adapters\My.adapter can not be found (the
> file is there and I triple checked the spelling) - error code is IWAT0369E
>
> Probably there is something wrong with the plugin.xml, especially is the
> StaticParserWrapper the right class for a rule-based GLA?
>
> Is there any example of a rule-based GLA somewhere?
>
> I'm using hyades release 3.2.0, eclipse 3.0.1, jdk 1.5.0
>
> Thanks a lot for any pointers,
> Andreas
>
> <extension
> point="org.eclipse.hyades.logging.parsers.logParser">
> <parser
> name="My Parser"
> icon="./icons/full/obj16/apache_access.gif"
> description="My Parser"
> class=" org.eclipse.hyades.logging.adapter.config.StaticParserWrappe r "
> ui_name="My Parser UI"
> id="com.tonbeller.tdilog.TdiLogParser">
> <field
> useBrowse="true"
> name="Path"
> id="file_path"
> browseType="*.log">
> </field>
> <parserParameter
> name="Default"
> value="./adapters/My.adapter">
> </parserParameter>
> </parser>
> </extension>
>
>
>
>
Previous Topic:RAServer startup - Fileserver class not found
Next Topic:How can I perform logging from within a HyadesTestCase?
Goto Forum:
  


Current Time: Thu Oct 23 01:49:48 GMT 2014

Powered by FUDForum. Page generated in 0.13014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software