Author: eae Date: Tue Feb 5 22:01:16 2019 New Revision: 1853043 URL: http://svn.apache.org/viewvc?rev=1853043&view=rev Log: UIMA-5962 Update duccbook to run sample applications with UIMA v3
Modified: uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex Modified: uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex?rev=1853043&r1=1853042&r2=1853043&view=diff ============================================================================== --- uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex (original) +++ uima/uima-ducc/trunk/uima-ducc-duccdocs/src/site/tex/duccbook/part3/ducc-applications.tex Tue Feb 5 22:01:16 2019 @@ -290,11 +290,18 @@ Copy a UIMA logger configuration file th cp $DUCC_HOME/examples/sampleapps/descriptors/ConsoleLogger.properties . \end{verbatim} -Copy the executable code and resources for the DUCC sample application components: +Copy the executable code and resources for the DUCC sample application components. +If using UIMA v2.x: \begin{verbatim} mkdir lib cp $DUCC_HOME/lib/uima-ducc/examples/uima-ducc-examples*.jar lib \end{verbatim} +If using UIMA v3.x, update the example JCas classes and then copy the updated uima-ducc-examples*.jar from the /tmp folder to lib, as below: +\begin{verbatim} + mkdir lib + $UIMA_HOME/bin/runV3migrateJCas.sh -classesRoots $DUCC_HOME/lib/uima-ducc/examples -migrateClasspath $UIMA_HOME/lib + cp /tmp/migrateJCasOutput{some long number}/jars/1/uima-ducc-examples*.jar lib +\end{verbatim} For reference the source code for DUCC sample applications is in \ducchome/examples/src, with descriptors in \ducchome/examples/sampleapps/descriptors.