Thanks for your answer.
I have three clases the action itself ( extends AbstractRutaAction), the
actionextension (implements IRutaActionExtension ) and the eclipse
extension (extends IIDEActionExtension class). I added manually this part
to descriptor file
<configurationParameters>
....
<nameValuePair>
<name>additionalExtensions</name>
<value>
<array>
<string>com.xxxx.xxxx.MyActionExtension</string>
</array>
</value>
</nameValuePair><configurationParameters
...
</configurationParameters>
Ruta workbench remove this part of confguration. I'll try to add bo
basicengine to see if that works.
Kind regards.
On 2 December 2014 at 13:42, Peter Klügl <[email protected]> wrote:
> Hi,
>
> there are two types of extension, one for the analysis engine and one
> for the workbench.
> The second takes care that the descriptor contain references to the
> first one.
>
> Provides the editor syntax highlighting for your new action?
>
> Do you have a plugin in the workbench that provides an Eclipse extension
> for the extension point org.apache.uima.ruta.ide.actionExtension?
> I wonder why the extension is part of the classpath at all if the
> configuration parameters are not updated.
>
> The descriptors are replaced when the script file is saved. There is no
> direct way to avoid the overwriting. If you do not want to take care of
> the Workbench stuff at all, you could probably also just add the
> extension to the BasicEngine.xml (it's the template for the descriptors)
>
>
> Best,
>
> Peter
>
>
>
> Am 02.12.2014 13:15, schrieb Silvestre Losada:
> > I created new UIMA action using the languages extension
> > <
> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.language.extensions
> >,
> > In file descriptor generated by ruta workbench I had to added to
> > configuration parameters in additiionalExtensions section. The extension
> is
> > working properly, however ruta workbench overwrites the file descriptor
> > sometimes and I loose that configuration. Is there any way to configure
> > Ruta workbench to avoid overwriting the file descriptor?
> >
> > Kind regards
> >
>
>
>