[ 
https://issues.apache.org/jira/browse/UIMA-3441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849662#comment-13849662
 ] 

Pablo Duboue commented on UIMA-3441:
------------------------------------

I am affected by this bug too, and looking into some possible solutions or a 
workaround. I'm not sure whether this is a bug in Ruta or in DLTK or in the way 
Ruta extends DLTK.

Executing the script with extra jars works by editing the run configuration and 
adding "user entries" in the classpath tab. But the testing environment doesn't 
work at all.

Any suggestions about where to start looking would be appreciated (the 
RerunActionHandler code uses the project classpath, which is computed somewhere 
else, so it is not the place to look).

By the way, the following extension in the ruta-ep-ide plugin.xml looks 
suspicious:

   <extension
         point="org.eclipse.dltk.core.buildpathContainerInitializer">
      <buildpathContainerInitializer
            
class="org.apache.uima.ruta.ide.core.packages.RutaPackagesBuildpathContainerInitializer"
            id="org.apache.uima.ruta.ide.core.PACKAGES">
      </buildpathContainerInitializer>
   </extension>

(there's no class RutaPackagesBuildpathContainerInitializer I can find.)

> Ruta: Extend classpath for Annotation Test run
> ----------------------------------------------
>
>                 Key: UIMA-3441
>                 URL: https://issues.apache.org/jira/browse/UIMA-3441
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.1.0ruta
>            Reporter: Martin Toepfer
>
> Using the Annotation Test component of Ruta fails when some script imports 
> Java/uimaFIT analysis engines from workspace projects because the 
> RerunActionHandler does not extend the classpath.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to