You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/04/25 10:40:43 UTC

[uima-uimaj] 01/01: [UIMA-6435] Vinci example descriptors do not work

This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch bugfix/UIMA-6435-Vinci-example-descriptors-do-not-work
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 5b377d8fc3d53cea265e7223c08e64c7285e5a98
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon Apr 25 12:40:37 2022 +0200

    [UIMA-6435] Vinci example descriptors do not work
    
    - Use relative paths - relative to the example project so that the "Start Vinci service" launch config works
---
 uimaj-examples/src/main/deploy/vinci/Deploy_MeetingDetectorTAE.xml      | 2 +-
 uimaj-examples/src/main/deploy/vinci/Deploy_PersonTitleAnnotator.xml    | 2 +-
 .../src/main/deploy/vinci/Deploy_XmiWriterWithTutorialTypeSystem.xml    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/uimaj-examples/src/main/deploy/vinci/Deploy_MeetingDetectorTAE.xml b/uimaj-examples/src/main/deploy/vinci/Deploy_MeetingDetectorTAE.xml
index de23b68fc..6854271dc 100644
--- a/uimaj-examples/src/main/deploy/vinci/Deploy_MeetingDetectorTAE.xml
+++ b/uimaj-examples/src/main/deploy/vinci/Deploy_MeetingDetectorTAE.xml
@@ -23,7 +23,7 @@
    
 <deployment name="Vinci Meeting Detector TAE">
   <service name="uima.tutorial.MeetingDetectorTAE" provider="vinci">
-    <parameter name="resourceSpecifierPath" value="C:/Program Files/apache-uima/examples/descriptors/tutorial/ex4/MeetingDetectorTAE.xml"/>
+    <parameter name="resourceSpecifierPath" value="descriptors/tutorial/ex4/MeetingDetectorTAE.xml"/>
     <parameter name="numInstances" value="1"/>
   </service>
 </deployment>
diff --git a/uimaj-examples/src/main/deploy/vinci/Deploy_PersonTitleAnnotator.xml b/uimaj-examples/src/main/deploy/vinci/Deploy_PersonTitleAnnotator.xml
index d2a892f40..04f4c72f3 100644
--- a/uimaj-examples/src/main/deploy/vinci/Deploy_PersonTitleAnnotator.xml
+++ b/uimaj-examples/src/main/deploy/vinci/Deploy_PersonTitleAnnotator.xml
@@ -23,7 +23,7 @@
    
 <deployment name="Vinci Person Title Annotator Service">
   <service name="uima.annotator.PersonTitleAnnotator" provider="vinci">
-    <parameter name="resourceSpecifierPath" value="C:/Program Files/apache-uima/examples/descriptors/analysis_engine/PersonTitleAnnotator.xml"/>
+    <parameter name="resourceSpecifierPath" value="descriptors/analysis_engine/PersonTitleAnnotator.xml"/>
     <parameter name="numInstances" value="1"/>
   </service>
 </deployment>
diff --git a/uimaj-examples/src/main/deploy/vinci/Deploy_XmiWriterWithTutorialTypeSystem.xml b/uimaj-examples/src/main/deploy/vinci/Deploy_XmiWriterWithTutorialTypeSystem.xml
index 941611187..af7cf4e49 100644
--- a/uimaj-examples/src/main/deploy/vinci/Deploy_XmiWriterWithTutorialTypeSystem.xml
+++ b/uimaj-examples/src/main/deploy/vinci/Deploy_XmiWriterWithTutorialTypeSystem.xml
@@ -23,7 +23,7 @@
    
 <deployment name="Vinci Service for XMI Writer CAS Consumer with Tutorial Type System">
   <service name="uima.consumer.XmiWriterWithTutorialTypeSystem" provider="vinci">
-    <parameter name="resourceSpecifierPath" value="C:/Program Files/apache-uima/examples/descriptors/cas_consumer/XmiWriterWithTutorialTypeSystem.xml"/>
+    <parameter name="resourceSpecifierPath" value="descriptors/cas_consumer/XmiWriterWithTutorialTypeSystem.xml"/>
     <parameter name="numInstances" value="1"/>
   </service>
 </deployment>