You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2008/01/08 17:17:19 UTC

svn commit: r610040 [1/3] - in /incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee: ./ descriptors/ src/

Author: schor
Date: Tue Jan  8 08:17:17 2008
New Revision: 610040

URL: http://svn.apache.org/viewvc?rev=610040&view=rev
Log:
[UIMA-689] setting svn:eol-style

Modified:
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/ActiveMQAnalysisEngineService.cpp   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/ActiveMQAnalysisEngineService.hpp   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/deployCppService.cpp   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/deployCppService.hpp   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/deployCppService.mak   (contents, props changed)
    incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/src/deployCppService.vcproj   (contents, props changed)

Modified: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project?rev=610040&r1=610039&r2=610040&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project Tue Jan  8 08:17:17 2008
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-	<name>uimacpp-ee</name>
-	<comment></comment>
-	<projects>
-	</projects>
-	<buildSpec>
-	</buildSpec>
-	<natures>
-	</natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>uimacpp-ee</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/.project
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt?rev=610040&r1=610039&r2=610040&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt Tue Jan  8 08:17:17 2008
@@ -1,74 +1,74 @@
-Instructions for building and testing the UIMA C++ service wrapper, deployCppService
-
-"deployCppService" is a C++ application used to instantiate UIMA C++ based analytics, 
-and run them as UIMA services using the ActiveMQ implementation of JMS middleware 
-(http://en.wikipedia.org/wiki/Java_Message_Service). UIMA Perl, Python and Tcl analytics 
-can also be run as services with this wrapper.
-
-There are three prerequisites: the UIMA-EE Java SDK, the UIMA-EE C++ SDK and the 
-ActiveMQ-CPP library. Please download and unpack the UIMA-EE Java SDK, and then the 
-UIMA-EE C++ SDK appropriate to your platform. Note that the UIMA C++ SDK should be 
-installed directly under the Java SDK, in UIMA_HOME.
-
-Install the UIMA-EE Java SDK as per the README_FIRST instructions in that package.
-
-
-Building on Linux
------------------
-
-1) Download http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-2.1-src.tar.gz
-   and unpack it. Export ACTIVEMQ_HOME = yourinstallpath/activemq-cpp-2.1
-2) Follow the directions in ACTIVEMQ_HOME/README.txt for "Building on Unix/Linux/OS X/Cygwin"
-3) Setup the UIMACPP environment:
-      export UIMACPP_HOME=$UIMA_HOME/uimacpp
-      PATH=$PATH:$UIMACPP_HOME/bin
-      export LD_LIBRARY_PATH=$UIMACPP_HOME/lib
-4) cd to $UIMACPP_HOME/examples/service and build the service:
-      make -f deployCppService.mak
-5) Copy the service binary and strip it:
-      cp deployCppService $UIMACPP_HOME/bin
-      strip $UIMACPP_HOME/deployCppService
-
-
-Building on Windows
--------------------
-
-1) Download http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-2.1-src.zip
-   and unpack it. Set ACTIVEMQ_HOME=yourinstallpath\activemq-cpp-2.1
-2) Build ActiveMQ using MS VC++ 2005 project:
-      cd %ACTIVEMQ_HOME%\vs2005-build
-      devenv vs2005-activemq-cpp.sln /build Release (or Debug)
-3) Setup the UIMACPP environment:
-      set UIMACPP_HOME=%UIMA_HOME%\uimacpp
-      set PATH=%PATH%;%UIMACPP_HOME%\bin
-4) cd to %UIMACPP_HOME%\examples\service and build the service:
-      devenv deployCppService.vcproj /build Release (or Debug)
-5) Copy the ActiveMQ binaries:
-      copy %ACTIVEMQ_HOME%\vs2005-build\ReleaseDLL\activemq-cpp.dll %UIMACPP_HOME%\bin
-6) Copy the service binary:
-      copy deployCppService.exe %UIMACPP_HOME%\bin
-
-
-Testing the service wrapper
----------------------------
-
-1) Open a terminal and run an ActiveMQ broker:
-      setup the environment for the UIMA-EE Java SDK (UIMA_HOME, PATH)
-      start the ActiveMQ broker with "startBroker.sh" [Linux] or "startBroker" [Windows]
-2) Open a 2nd terminal build and test a C++ annotator, DaveDetector:
-      Build all the C++ samples using the directions in UIMACPP_HOME/examples/readme.html
-      Test DaveDetector following directions in the same readme
-3) In the 2nd terminal, start DaveDetector as a UIMA-EE service:
-      cd UIMACPP_HOME/examples/descriptors
-      deployCppService DaveDetector.xml DaveDetectorQ
-4) Open a 3rd terminal and use the UIMA-EE sample client to test the service:
-      setup the environment for the UIMA-EE Java SDK, and run the client
-      On Linux (all one line):
-        runRemoteAsyncAE.sh tcp://localhost:61616 DaveDetectorQ
-           -c $UIMA_HOME/examples/descriptors/collection_reader/FileSystemCollectionReader.xml
-      On Windows (all one line):
-        runRemoteAsyncAE tcp://localhost:61616 DaveDetectorQ
-           -c %UIMA_HOME%\examples\descriptors\collection_reader\FileSystemCollectionReader.xml
-   The console should indicate successful processing of 8 documents.
-
-
+Instructions for building and testing the UIMA C++ service wrapper, deployCppService
+
+"deployCppService" is a C++ application used to instantiate UIMA C++ based analytics, 
+and run them as UIMA services using the ActiveMQ implementation of JMS middleware 
+(http://en.wikipedia.org/wiki/Java_Message_Service). UIMA Perl, Python and Tcl analytics 
+can also be run as services with this wrapper.
+
+There are three prerequisites: the UIMA-EE Java SDK, the UIMA-EE C++ SDK and the 
+ActiveMQ-CPP library. Please download and unpack the UIMA-EE Java SDK, and then the 
+UIMA-EE C++ SDK appropriate to your platform. Note that the UIMA C++ SDK should be 
+installed directly under the Java SDK, in UIMA_HOME.
+
+Install the UIMA-EE Java SDK as per the README_FIRST instructions in that package.
+
+
+Building on Linux
+-----------------
+
+1) Download http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-2.1-src.tar.gz
+   and unpack it. Export ACTIVEMQ_HOME = yourinstallpath/activemq-cpp-2.1
+2) Follow the directions in ACTIVEMQ_HOME/README.txt for "Building on Unix/Linux/OS X/Cygwin"
+3) Setup the UIMACPP environment:
+      export UIMACPP_HOME=$UIMA_HOME/uimacpp
+      PATH=$PATH:$UIMACPP_HOME/bin
+      export LD_LIBRARY_PATH=$UIMACPP_HOME/lib
+4) cd to $UIMACPP_HOME/examples/service and build the service:
+      make -f deployCppService.mak
+5) Copy the service binary and strip it:
+      cp deployCppService $UIMACPP_HOME/bin
+      strip $UIMACPP_HOME/deployCppService
+
+
+Building on Windows
+-------------------
+
+1) Download http://www.apache.org/dyn/closer.cgi/activemq/activemq-cpp/source/activemq-cpp-2.1-src.zip
+   and unpack it. Set ACTIVEMQ_HOME=yourinstallpath\activemq-cpp-2.1
+2) Build ActiveMQ using MS VC++ 2005 project:
+      cd %ACTIVEMQ_HOME%\vs2005-build
+      devenv vs2005-activemq-cpp.sln /build Release (or Debug)
+3) Setup the UIMACPP environment:
+      set UIMACPP_HOME=%UIMA_HOME%\uimacpp
+      set PATH=%PATH%;%UIMACPP_HOME%\bin
+4) cd to %UIMACPP_HOME%\examples\service and build the service:
+      devenv deployCppService.vcproj /build Release (or Debug)
+5) Copy the ActiveMQ binaries:
+      copy %ACTIVEMQ_HOME%\vs2005-build\ReleaseDLL\activemq-cpp.dll %UIMACPP_HOME%\bin
+6) Copy the service binary:
+      copy deployCppService.exe %UIMACPP_HOME%\bin
+
+
+Testing the service wrapper
+---------------------------
+
+1) Open a terminal and run an ActiveMQ broker:
+      setup the environment for the UIMA-EE Java SDK (UIMA_HOME, PATH)
+      start the ActiveMQ broker with "startBroker.sh" [Linux] or "startBroker" [Windows]
+2) Open a 2nd terminal build and test a C++ annotator, DaveDetector:
+      Build all the C++ samples using the directions in UIMACPP_HOME/examples/readme.html
+      Test DaveDetector following directions in the same readme
+3) In the 2nd terminal, start DaveDetector as a UIMA-EE service:
+      cd UIMACPP_HOME/examples/descriptors
+      deployCppService DaveDetector.xml DaveDetectorQ
+4) Open a 3rd terminal and use the UIMA-EE sample client to test the service:
+      setup the environment for the UIMA-EE Java SDK, and run the client
+      On Linux (all one line):
+        runRemoteAsyncAE.sh tcp://localhost:61616 DaveDetectorQ
+           -c $UIMA_HOME/examples/descriptors/collection_reader/FileSystemCollectionReader.xml
+      On Windows (all one line):
+        runRemoteAsyncAE tcp://localhost:61616 DaveDetectorQ
+           -c %UIMA_HOME%\examples\descriptors\collection_reader\FileSystemCollectionReader.xml
+   The console should indicate successful processing of 8 documents.
+
+

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml?rev=610040&r1=610039&r2=610040&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml Tue Jan  8 08:17:17 2008
@@ -1,26 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?>
-   
-<analysisEngineDeploymentDescription 
-  xmlns="http://uima.apache.org/resourceSpecifier">
-  
-  <name>DaveDetector Annotator</name>
-  <description>Deploys the DaveDetector Primitive AE</description>
-  
-  <deployment protocol="jms" provider="activemq">
-    <casPool numberOfCASes="5"/> 
-    <service>
-      <custom name="run_top_level_CPP_service_as_separate_process"/>
-      <inputQueue endpoint="DaveDetectorQueue" brokerURL="tcp://localhost:61616"/>
-      <environmentVariables>
-	<environmentVariable name="UIMACPP_HOME">c:/uimacpp</environmentVariable>
-       <environmentVariable name="Path">c:/cppExamples/src;c:/activemq-cpp-2.1-src/vs2005-build/ReleaseDLL</environmentVariable>
-      <environmentVariable name="LD_LIBRARY_PATH">c:/cppExamples/src</environmentVariable>
-      <environmentVariable name="UIMACPP_DATAPATH">C:/mydata</environmentVariable>
-	</environmentVariables>
-      <topDescriptor>
-       <import location="c:/cppExamples/descriptors/DaveDetector.xml"/> 
-      </topDescriptor>
-    </service>
-  </deployment>
-
-</analysisEngineDeploymentDescription>
+<?xml version="1.0" encoding="UTF-8"?>
+   
+<analysisEngineDeploymentDescription 
+  xmlns="http://uima.apache.org/resourceSpecifier">
+  
+  <name>DaveDetector Annotator</name>
+  <description>Deploys the DaveDetector Primitive AE</description>
+  
+  <deployment protocol="jms" provider="activemq">
+    <casPool numberOfCASes="5"/> 
+    <service>
+      <custom name="run_top_level_CPP_service_as_separate_process"/>
+      <inputQueue endpoint="DaveDetectorQueue" brokerURL="tcp://localhost:61616"/>
+      <environmentVariables>
+	<environmentVariable name="UIMACPP_HOME">c:/uimacpp</environmentVariable>
+       <environmentVariable name="Path">c:/cppExamples/src;c:/activemq-cpp-2.1-src/vs2005-build/ReleaseDLL</environmentVariable>
+      <environmentVariable name="LD_LIBRARY_PATH">c:/cppExamples/src</environmentVariable>
+      <environmentVariable name="UIMACPP_DATAPATH">C:/mydata</environmentVariable>
+	</environmentVariables>
+      <topDescriptor>
+       <import location="c:/cppExamples/descriptors/DaveDetector.xml"/> 
+      </topDescriptor>
+    </service>
+  </deployment>
+
+</analysisEngineDeploymentDescription>

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimacpp-ee/descriptors/Deploy_DaveDetector.xml
------------------------------------------------------------------------------
    svn:eol-style = native