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 2018/01/26 14:44:34 UTC
svn commit: r1822303 - in
/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests:
./ uima.example.DateTime/ uima.example.DateTime/.settings/
uima.example.DateTime/bin/ uima.example.DateTime/bin/org/
uima.example.DateTime/bin/...
Author: schor
Date: Fri Jan 26 14:44:33 2018
New Revision: 1822303
URL: http://svn.apache.org/viewvc?rev=1822303&view=rev
Log:
no Jira update test pears to have uv3-beta versions of jcas files
Added:
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pearold (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.classpath
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.project
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/org.eclipse.jdt.core.prefs
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateAnnot.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateTimeAnnot.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/RoomNumber.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/TimeAnnot.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$1.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$2.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$Maker.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialDateTime.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialTypeSystem.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/install.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateAnnot.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateTimeAnnot.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/RoomNumber.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/TimeAnnot.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/TutorialDateTime.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pearold (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.classpath
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.project
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/org.eclipse.jdt.core.prefs
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/RoomNumber.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/ex1/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.class (with props)
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/RoomNumberAnnotator.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/TutorialTypeSystem.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/install.xml
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/RoomNumber.java
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.java
Modified:
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pear
uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pear
Modified: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pear
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pear?rev=1822303&r1=1822302&r2=1822303&view=diff
==============================================================================
Binary files - no diff available.
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pearold
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pearold?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime.pearold
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.classpath
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.classpath?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.classpath (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.classpath Fri Jan 26 14:44:33 2018
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/uimaj-core"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.project
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.project?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.project (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.project Fri Jan 26 14:44:33 2018
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>DateTime</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.apache.uima.pear.UimaNature</nature>
+ </natures>
+</projectDescription>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/org.eclipse.jdt.core.prefs?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/org.eclipse.jdt.core.prefs (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/.settings/org.eclipse.jdt.core.prefs Fri Jan 26 14:44:33 2018
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateAnnot.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateAnnot.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateAnnot.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateTimeAnnot.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateTimeAnnot.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/DateTimeAnnot.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/RoomNumber.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/RoomNumber.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/RoomNumber.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/TimeAnnot.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/TimeAnnot.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/TimeAnnot.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$1.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime%241.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$1.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$2.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime%242.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$2.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$Maker.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime%24Maker.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime$Maker.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/bin/org/apache/uima/tutorial/ex3/TutorialDateTime.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialDateTime.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialDateTime.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialDateTime.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialDateTime.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+ <!--
+ ***************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ***************************************************************
+ -->
+
+<!--
+ Descriptor for a primitive TAE that uses the TutorialDateTime annotator
+-->
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+ <annotatorImplementationName>org.apache.uima.tutorial.ex3.TutorialDateTime</annotatorImplementationName>
+
+
+ <analysisEngineMetaData>
+ <name>TutorialDateTime Annotator</name>
+ <description>Finds dates and times</description>
+ <version>1.0</version>
+ <vendor>The Apache Software Foundation</vendor>
+
+ <!--
+ Configuration Parameter Definitions
+ -->
+ <configurationParameters/>
+
+ <!--
+ Values for the configuration parameters
+ -->
+ <configurationParameterSettings/>
+
+ <!--
+ TypeSystem Definition
+ -->
+
+ <typeSystemDescription>
+ <imports>
+ <import location="TutorialTypeSystem.xml"/>
+ </imports>
+ </typeSystemDescription>
+
+ <!--
+ Capabilities: Inputs, Outputs, and Preconditions
+ -->
+ <capabilities>
+ <capability>
+ <inputs/>
+ <outputs>
+ <type allAnnotatorFeatures="true">
+ org.apache.uima.tutorial.DateTimeAnnot</type>
+ <type allAnnotatorFeatures="true">
+ org.apache.uima.tutorial.TimeAnnot</type>
+ <type allAnnotatorFeatures="true">
+ org.apache.uima.tutorial.DateAnnot</type>
+ </outputs>
+ <languagesSupported>
+ <language>en</language>
+ </languagesSupported>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>false</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+</analysisEngineDescription>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialTypeSystem.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialTypeSystem.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/desc/TutorialTypeSystem.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+ <!--
+ ***************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ***************************************************************
+ -->
+
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <name>TutorialTypeSystem</name>
+ <description>Type System Definition for the tutorial examples - as of Exercise 3</description>
+ <version>1.0</version>
+ <vendor>The Apache Software Foundation</vendor>
+ <types>
+ <typeDescription>
+ <name>org.apache.uima.tutorial.RoomNumber</name>
+ <description></description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>building</name>
+ <description>Building containing this room</description>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.tutorial.DateTimeAnnot</name>
+ <description></description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>shortDateString</name>
+ <description />
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.tutorial.TimeAnnot</name>
+ <description></description>
+ <supertypeName>org.apache.uima.tutorial.DateTimeAnnot</supertypeName>
+ <features></features>
+ </typeDescription>
+ <typeDescription>
+ <name>org.apache.uima.tutorial.DateAnnot</name>
+ <description></description>
+ <supertypeName>org.apache.uima.tutorial.DateTimeAnnot</supertypeName>
+ <features></features>
+ </typeDescription>
+ </types>
+</typeSystemDescription>
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/install.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/install.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/install.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/metadata/install.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<COMPONENT_INSTALLATION_DESCRIPTOR>
+ <OS>
+ <NAME>Windows</NAME>
+ </OS>
+ <TOOLKITS>
+ </TOOLKITS>
+ <UIMA_FRAMEWORK>
+ </UIMA_FRAMEWORK>
+ <SUBMITTED_COMPONENT>
+ <ID>uima.example.DateTimeAnnotator</ID>
+ <NAME></NAME>
+ <DESC>$main_root/desc/TutorialDateTime.xml</DESC>
+ <DEPLOYMENT>standard</DEPLOYMENT>
+ </SUBMITTED_COMPONENT>
+ <INSTALLATION>
+ <PROCESS>
+ <ACTION>set_env_variable</ACTION>
+ <PARAMETERS>
+ <COMMENTS></COMMENTS>
+ <VAR_VALUE>$main_root/bin;</VAR_VALUE>
+ <VAR_NAME>CLASSPATH</VAR_NAME>
+ </PARAMETERS>
+ </PROCESS>
+ <PROCESS>
+ <ACTION>set_env_variable</ACTION>
+ <PARAMETERS>
+ <COMMENTS></COMMENTS>
+ <VAR_VALUE>$main_root/my/test/data/path</VAR_VALUE>
+ <VAR_NAME>uima.datapath</VAR_NAME>
+ </PARAMETERS>
+ </PROCESS>
+ </INSTALLATION>
+</COMPONENT_INSTALLATION_DESCRIPTOR>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateAnnot.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateAnnot.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateAnnot.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateAnnot.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,92 @@
+
+
+
+/* Apache UIMA v3 - First created by JCasGen Mon Aug 01 16:57:36 EDT 2016 */
+
+package org.apache.uima.tutorial;
+
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.impl.TypeSystemImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+
+
+
+/**
+ * Updated by JCasGen Mon Aug 01 16:57:36 EDT 2016
+ * XML source: C:/temp/pear/pearTestSrc/DateTime/desc/TutorialTypeSystem.xml
+ * @generated */
+public class DateAnnot extends DateTimeAnnot {
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int typeIndexID = JCasRegistry.register(DateAnnot.class);
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int type = typeIndexID;
+ /** @generated
+ * @return index of the type
+ */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+
+ /* *******************
+ * Feature Offsets *
+ * *******************/
+
+ /* Feature Adjusted Offsets */
+
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected DateAnnot() {/* intentionally empty block */}
+
+ /** Internal - constructor used by generator
+ * @generated
+ * @param casImpl the CAS this Feature Structure belongs to
+ * @param type the type of this Feature Structure
+ */
+ public DateAnnot(TypeImpl type, CASImpl casImpl) {
+ super(type, casImpl);
+ readObject();
+ }
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ */
+ public DateAnnot(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ * @param begin offset to the begin spot in the SofA
+ * @param end offset to the end spot in the SofA
+ */
+ public DateAnnot(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {/*default - does nothing empty block */}
+
+}
+
+
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateTimeAnnot.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateTimeAnnot.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateTimeAnnot.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/DateTimeAnnot.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,117 @@
+
+
+
+/* Apache UIMA v3 - First created by JCasGen Mon Aug 01 16:57:36 EDT 2016 */
+
+package org.apache.uima.tutorial;
+
+import java.lang.invoke.CallSite;
+import java.lang.invoke.MethodHandle;
+
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.impl.TypeSystemImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Mon Aug 01 16:57:36 EDT 2016
+ * XML source: C:/temp/pear/pearTestSrc/DateTime/desc/TutorialTypeSystem.xml
+ * @generated */
+public class DateTimeAnnot extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int typeIndexID = JCasRegistry.register(DateTimeAnnot.class);
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int type = typeIndexID;
+ /** @generated
+ * @return index of the type
+ */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+
+ /* *******************
+ * Feature Offsets *
+ * *******************/
+
+ /* Feature Adjusted Offsets */
+ private final static CallSite _FC_shortDateString = TypeSystemImpl.createCallSite(DateTimeAnnot.class, "shortDateString");
+ private final static MethodHandle _FH_shortDateString = _FC_shortDateString.dynamicInvoker();
+
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected DateTimeAnnot() {/* intentionally empty block */}
+
+ /** Internal - constructor used by generator
+ * @generated
+ * @param casImpl the CAS this Feature Structure belongs to
+ * @param type the type of this Feature Structure
+ */
+ public DateTimeAnnot(TypeImpl type, CASImpl casImpl) {
+ super(type, casImpl);
+ readObject();
+ }
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ */
+ public DateTimeAnnot(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ * @param begin offset to the begin spot in the SofA
+ * @param end offset to the end spot in the SofA
+ */
+ public DateTimeAnnot(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {/*default - does nothing empty block */}
+
+
+
+ //*--------------*
+ //* Feature: shortDateString
+
+ /** getter for shortDateString - gets
+ * @generated
+ * @return value of the feature
+ */
+ public String getShortDateString() { return _getStringValueNc(wrapGetIntCatchException(_FH_shortDateString));}
+
+ /** setter for shortDateString - sets
+ * @generated
+ * @param v value to set into the feature
+ */
+ public void setShortDateString(String v) {
+ _setStringValueNfc(wrapGetIntCatchException(_FH_shortDateString), v);
+ }
+
+ }
+
+
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/RoomNumber.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/RoomNumber.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/RoomNumber.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/RoomNumber.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,117 @@
+
+
+
+/* Apache UIMA v3 - First created by JCasGen Mon Aug 01 16:57:36 EDT 2016 */
+
+package org.apache.uima.tutorial;
+
+import java.lang.invoke.CallSite;
+import java.lang.invoke.MethodHandle;
+
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.impl.TypeSystemImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Mon Aug 01 16:57:36 EDT 2016
+ * XML source: C:/temp/pear/pearTestSrc/DateTime/desc/TutorialTypeSystem.xml
+ * @generated */
+public class RoomNumber extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int typeIndexID = JCasRegistry.register(RoomNumber.class);
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int type = typeIndexID;
+ /** @generated
+ * @return index of the type
+ */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+
+ /* *******************
+ * Feature Offsets *
+ * *******************/
+
+ /* Feature Adjusted Offsets */
+ private final static CallSite _FC_building = TypeSystemImpl.createCallSite(RoomNumber.class, "building");
+ private final static MethodHandle _FH_building = _FC_building.dynamicInvoker();
+
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected RoomNumber() {/* intentionally empty block */}
+
+ /** Internal - constructor used by generator
+ * @generated
+ * @param casImpl the CAS this Feature Structure belongs to
+ * @param type the type of this Feature Structure
+ */
+ public RoomNumber(TypeImpl type, CASImpl casImpl) {
+ super(type, casImpl);
+ readObject();
+ }
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ */
+ public RoomNumber(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ * @param begin offset to the begin spot in the SofA
+ * @param end offset to the end spot in the SofA
+ */
+ public RoomNumber(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {/*default - does nothing empty block */}
+
+
+
+ //*--------------*
+ //* Feature: building
+
+ /** getter for building - gets Building containing this room
+ * @generated
+ * @return value of the feature
+ */
+ public String getBuilding() { return _getStringValueNc(wrapGetIntCatchException(_FH_building));}
+
+ /** setter for building - sets Building containing this room
+ * @generated
+ * @param v value to set into the feature
+ */
+ public void setBuilding(String v) {
+ _setStringValueNfc(wrapGetIntCatchException(_FH_building), v);
+ }
+
+ }
+
+
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/TimeAnnot.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/TimeAnnot.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/TimeAnnot.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/TimeAnnot.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,92 @@
+
+
+
+/* Apache UIMA v3 - First created by JCasGen Mon Aug 01 16:57:36 EDT 2016 */
+
+package org.apache.uima.tutorial;
+
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.impl.TypeSystemImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+
+
+
+/**
+ * Updated by JCasGen Mon Aug 01 16:57:36 EDT 2016
+ * XML source: C:/temp/pear/pearTestSrc/DateTime/desc/TutorialTypeSystem.xml
+ * @generated */
+public class TimeAnnot extends DateTimeAnnot {
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int typeIndexID = JCasRegistry.register(TimeAnnot.class);
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int type = typeIndexID;
+ /** @generated
+ * @return index of the type
+ */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+
+ /* *******************
+ * Feature Offsets *
+ * *******************/
+
+ /* Feature Adjusted Offsets */
+
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected TimeAnnot() {/* intentionally empty block */}
+
+ /** Internal - constructor used by generator
+ * @generated
+ * @param casImpl the CAS this Feature Structure belongs to
+ * @param type the type of this Feature Structure
+ */
+ public TimeAnnot(TypeImpl type, CASImpl casImpl) {
+ super(type, casImpl);
+ readObject();
+ }
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ */
+ public TimeAnnot(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ * @param begin offset to the begin spot in the SofA
+ * @param end offset to the end spot in the SofA
+ */
+ public TimeAnnot(JCas jcas, int begin, int end) {
+ super(jcas);
+ setBegin(begin);
+ setEnd(end);
+ readObject();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {/*default - does nothing empty block */}
+
+}
+
+
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/TutorialDateTime.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/TutorialDateTime.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/TutorialDateTime.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.DateTime/src/org/apache/uima/tutorial/ex3/TutorialDateTime.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,224 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.uima.tutorial.ex3;
+
+import java.text.BreakIterator;
+import java.text.DateFormat;
+import java.text.NumberFormat;
+import java.text.ParsePosition;
+import java.util.Date;
+import java.util.Locale;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
+import org.apache.uima.analysis_engine.ResultSpecification;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.tcas.Annotation;
+import org.apache.uima.tutorial.DateAnnot;
+import org.apache.uima.tutorial.DateTimeAnnot;
+import org.apache.uima.tutorial.TimeAnnot;
+import org.apache.uima.util.Level;
+
+/**
+ * Simple Date/Time annotator.
+ */
+public class TutorialDateTime extends JCasAnnotator_ImplBase {
+
+ static abstract class Maker {
+ abstract Annotation newAnnotation(JCas jcas, int start, int end);
+ }
+
+ JCas jcas;
+
+ String input;
+
+ ParsePosition pp = new ParsePosition(0);
+
+ // Static vars holding patterns, and function pointers
+
+ // n:nn nn:nn followed optionally with AM or PM
+
+ // .*? (any number of arbitrary chars, minimum, not greedy)
+ // \b followed by a word boundary
+ // [0-2]? followed by the optionally the first digit, a 0, 1, or 2
+ // \d:[0-6]\d followed by a digit and the colon char,and minutes
+ // \s*?(AM|PM)? followed by optional white space (non greedy) and AM or PM
+ static final Pattern hoursMinutesPattern = Pattern
+ .compile("(?s)\\b([0-2]?\\d:[0-5]\\d\\s*(AM\\W|PM\\W|am\\W|pm\\W)?)");
+
+ //
+ static final DateFormat dfTimeShort = DateFormat.getTimeInstance(DateFormat.SHORT, Locale.US);
+
+ // .*? (any number of artibrary chars, non greedy
+ // \b word boundary
+ // [0-1]? optional first digit
+ // \d digit of month
+ // /
+ // [0-3]? optional day of month 1st digit
+ // \d
+ // ((/[1-2]\d\d\d)|(/\d\d)|\s) // year is /nnnn or /nn or missing
+ static final Pattern numericDatePattern = Pattern
+ .compile("(?s)\\b([0-1]?\\d/[0-3]?\\d((/[1-2]\\d\\d\\d)|(/\\d\\d))?)\\W");
+
+ // not static, because DateFormat is not threadsafe
+ final DateFormat dfDateShort = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US);
+
+ // .*? (any number of artibrary chars, non greedy
+ // \b word boundary
+ // [Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Sept|Oct|Nov|Dec] Month
+ // \.? optional period
+ // \s+
+ // [0-3]? optional day of month 1st digit
+ // \d
+ // (((,\s+)?[1-2]\d\d\d\W)|((,\s+)?\d\d\W)|\W) // year is /nnnn or /nn or missing
+ static final String shortMonthNames = "(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Sept|Oct|Nov|Dec)";
+
+ static final Pattern mediumDatePattern = Pattern.compile("(?s)\\b(" + shortMonthNames
+ + "\\.?\\s[0-3]?\\d(((,\\s+)?[1-2]\\d\\d\\d)|((,\\s+)?\\d\\d))?)\\W");
+
+ static final DateFormat dfDateMedium = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US);
+
+ // for long month names, exclude May since it is covered by short month names
+ static final String longMonthNames = "(January|February|March|April|June|July|August|September|October|November|December)";
+
+ static final Pattern longDatePattern = Pattern.compile("(?s)\\b(" + longMonthNames
+ + "\\s[0-3]?\\d(((,\\s+)?[1-2]\\d\\d\\d)|((,\\s+)?\\d\\d))?)\\W");
+
+ static final DateFormat dfDateLong = DateFormat.getDateInstance(DateFormat.LONG, Locale.US);
+
+ static final NumberFormat numberFormat = NumberFormat.getInstance(Locale.US);
+
+ // function pointers for new instances
+ static final Maker dateAnnotationMaker = new Maker() {
+ Annotation newAnnotation(JCas jcas, int start, int end) {
+ return new DateAnnot(jcas, start, end);
+ }
+ };
+
+ static final Maker timeAnnotationMaker = new Maker() {
+ Annotation newAnnotation(JCas jcas, int start, int end) {
+ return new TimeAnnot(jcas, start, end);
+ }
+ };
+
+ static final String defaultYear = "2003";
+
+ private static boolean warningMessageShown = false;
+
+ // PROCESS
+ /**
+ * The ResultSpecification controls what gets produced. For example, to only produce
+ * DateAnnotations, change the descriptor for this component to specify it outputs only that type.
+ */
+ public void process(JCas aJCas) {
+ jcas = aJCas;
+ input = jcas.getDocumentText();
+
+ // Create Annotations
+ ResultSpecification resultSpec = getResultSpecification();
+ boolean timeWanted = resultSpec.containsType("org.apache.uima.tutorial.TimeAnnot", aJCas.getDocumentLanguage());
+ boolean dateWanted = resultSpec.containsType("org.apache.uima.tutorial.DateAnnot", aJCas.getDocumentLanguage());
+
+ if (timeWanted)
+ makeAnnotations(timeAnnotationMaker, hoursMinutesPattern, dfTimeShort);
+
+ if (dateWanted) {
+ makeAnnotations(dateAnnotationMaker, numericDatePattern, dfDateShort);
+ makeAnnotations(dateAnnotationMaker, mediumDatePattern, dfDateMedium);
+ makeAnnotations(dateAnnotationMaker, longDatePattern, dfDateLong);
+ }
+
+ if (!timeWanted && !dateWanted && !warningMessageShown) {
+ String m = String.format(
+ "No output is being produced by the TutorialDateTime annotator because the Result Specification did not contain" +
+ " a request for the type%n" +
+ " org.apache.uima.tutorial.TimeAnnot nor%n" +
+ " org.apache.uima.tutorial.DateAnnot" +
+ " with the language '%s'%n" +
+ " (Note: this message will only be shown once.)%n",
+ aJCas.getDocumentLanguage());
+ System.err.println(m);
+ getContext().getLogger().log(Level.WARNING, m);
+ warningMessageShown = true;
+ }
+ }
+
+ // HELPER METHODS
+
+ void makeAnnotations(Maker m, BreakIterator b) {
+ b.setText(input);
+ for (int end = b.next(), start = b.first(); end != BreakIterator.DONE; start = end, end = b
+ .next()) {
+
+ // eliminate all-whitespace tokens
+ boolean isWhitespace = true;
+ for (int i = start; i < end; i++) {
+ if (!Character.isWhitespace(input.charAt(i))) {
+ isWhitespace = false;
+ break;
+ }
+ }
+ if (!isWhitespace) {
+ m.newAnnotation(jcas, start, end).addToIndexes();
+ }
+ }
+ }
+
+ void makeAnnotations(Maker m, Pattern pattern, DateFormat dateFormat) {
+ Matcher matcher = pattern.matcher(input);
+ String matched;
+ while (matcher.find()) {
+ int start = matcher.start(1);
+ matched = fixUpDateTimeStrings(matcher.group(1));
+ DateTimeAnnot dtAnnot = (DateTimeAnnot) m.newAnnotation(jcas, start, matcher.end(1));
+ pp.setIndex(0);
+ Date dtSpec = dateFormat.parse(matched, pp);
+ // System.out.println(dtAnnot.dtSpec);
+ if (dtSpec != null) {
+ dtAnnot.setShortDateString(dfDateShort.format(dtSpec));
+ }
+ dtAnnot.addToIndexes();
+ }
+ }
+
+ String fixUpDateTimeStrings(String s) {
+ String av; // append value
+ pp.setIndex(0);
+ if (-1 < s.indexOf(":")) { // have time string
+ if (s.endsWith("AM") || s.endsWith("PM") || s.endsWith("am") || s.endsWith("pm"))
+ return s;
+ else {
+ int hour = numberFormat.parse(s, pp).intValue();
+ if (0 == hour)
+ av = " AM";
+ else if (hour < 9)
+ av = " PM";
+ else
+ av = " AM";
+ return s + av;
+ }
+ }
+
+ // have date string
+ return s + ", " + defaultYear; // in case no year available
+ }
+
+}
Modified: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pear
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pear?rev=1822303&r1=1822302&r2=1822303&view=diff
==============================================================================
Binary files - no diff available.
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pearold
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pearold?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber.pearold
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.classpath
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.classpath?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.classpath (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.classpath Fri Jan 26 14:44:33 2018
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/uimaj-core"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.project
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.project?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.project (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.project Fri Jan 26 14:44:33 2018
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>RoomNumber</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.apache.uima.pear.UimaNature</nature>
+ </natures>
+</projectDescription>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/org.eclipse.jdt.core.prefs?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/org.eclipse.jdt.core.prefs (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/.settings/org.eclipse.jdt.core.prefs Fri Jan 26 14:44:33 2018
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/RoomNumber.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/RoomNumber.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/RoomNumber.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.class
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.class?rev=1822303&view=auto
==============================================================================
Binary file - no diff available.
Propchange: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/bin/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.class
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/RoomNumberAnnotator.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/RoomNumberAnnotator.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/RoomNumberAnnotator.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/RoomNumberAnnotator.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+ <!--
+ ***************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ***************************************************************
+ -->
+
+<!-- Descriptor for the example RoomNumberAnnotator. -->
+
+<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>org.apache.uima.java</frameworkImplementation>
+ <primitive>true</primitive>
+ <annotatorImplementationName>org.apache.uima.tutorial.ex1.RoomNumberAnnotator</annotatorImplementationName>
+
+ <analysisEngineMetaData>
+ <name>Room Number Annotator</name>
+ <description>An example annotator that searches for room numbers in the IBM Watson
+ research buildings.</description>
+ <version>1.0</version>
+ <vendor>The Apache Software Foundation</vendor>
+
+ <!-- TypeSystem Definition -->
+ <typeSystemDescription>
+ <imports>
+ <import location="TutorialTypeSystem.xml"/>
+ </imports>
+ </typeSystemDescription>
+
+ <!-- Capabilities: Inputs, Outputs, and Preconditions -->
+ <capabilities>
+ <capability>
+ <inputs/>
+ <outputs>
+ <type>org.apache.uima.tutorial.RoomNumber</type>
+ <feature>org.apache.uima.tutorial.RoomNumber:building</feature>
+ </outputs>
+ </capability>
+ </capabilities>
+ <operationalProperties>
+ <modifiesCas>true</modifiesCas>
+ <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+ <outputsNewCASes>false</outputsNewCASes>
+ </operationalProperties>
+ </analysisEngineMetaData>
+</analysisEngineDescription>
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/TutorialTypeSystem.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/TutorialTypeSystem.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/TutorialTypeSystem.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/desc/TutorialTypeSystem.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+ <!--
+ ***************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ ***************************************************************
+ -->
+
+<typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
+ <name>TutorialTypeSystem</name>
+ <description>Type System Definition for the tutorial examples - as of Exercise 1</description>
+ <version>1.0</version>
+ <vendor>The Apache Software Foundation</vendor>
+ <types>
+ <typeDescription>
+ <name>org.apache.uima.tutorial.RoomNumber</name>
+ <description></description>
+ <supertypeName>uima.tcas.Annotation</supertypeName>
+ <features>
+ <featureDescription>
+ <name>building</name>
+ <description>Building containing this room</description>
+ <rangeTypeName>uima.cas.String</rangeTypeName>
+ </featureDescription>
+ </features>
+ </typeDescription>
+ </types>
+</typeSystemDescription>
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/install.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/install.xml?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/install.xml (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/metadata/install.xml Fri Jan 26 14:44:33 2018
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<COMPONENT_INSTALLATION_DESCRIPTOR>
+ <OS>
+ <NAME>Windows</NAME>
+ </OS>
+ <TOOLKITS>
+ <JDK_VERSION>1.8.0</JDK_VERSION>
+ </TOOLKITS>
+ <UIMA_FRAMEWORK>
+ </UIMA_FRAMEWORK>
+ <SUBMITTED_COMPONENT>
+ <ID>RoomNumber</ID>
+ <NAME></NAME>
+ <DESC>$main_root/desc/RoomNumberAnnotator.xml</DESC>
+ <DEPLOYMENT>standard</DEPLOYMENT>
+ </SUBMITTED_COMPONENT>
+ <INSTALLATION>
+ <PROCESS>
+ <ACTION>set_env_variable</ACTION>
+ <PARAMETERS>
+ <COMMENTS></COMMENTS>
+ <VAR_VALUE>$main_root/bin;</VAR_VALUE>
+ <VAR_NAME>CLASSPATH</VAR_NAME>
+ </PARAMETERS>
+ </PROCESS>
+ </INSTALLATION>
+</COMPONENT_INSTALLATION_DESCRIPTOR>
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/RoomNumber.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/RoomNumber.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/RoomNumber.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/RoomNumber.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,104 @@
+
+
+
+/* Apache UIMA v3 - First created by JCasGen Mon Aug 01 10:52:25 EDT 2016 */
+
+package org.apache.uima.tutorial;
+
+import java.lang.invoke.CallSite;
+import java.lang.invoke.MethodHandle;
+
+import org.apache.uima.cas.impl.CASImpl;
+import org.apache.uima.cas.impl.TypeImpl;
+import org.apache.uima.cas.impl.TypeSystemImpl;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.jcas.JCasRegistry;
+
+
+import org.apache.uima.jcas.tcas.Annotation;
+
+
+/**
+ * Updated by JCasGen Mon Aug 01 10:52:25 EDT 2016
+ * XML source: C:/temp/pear/pearTestSrc/RoomNumber/desc/TutorialTypeSystem.xml
+ * @generated */
+public class RoomNumber extends Annotation {
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int typeIndexID = JCasRegistry.register(RoomNumber.class);
+ /** @generated
+ * @ordered
+ */
+ @SuppressWarnings ("hiding")
+ public final static int type = typeIndexID;
+ /** @generated
+ * @return index of the type
+ */
+ @Override
+ public int getTypeIndexID() {return typeIndexID;}
+
+
+ /* *******************
+ * Feature Offsets *
+ * *******************/
+
+ /* Feature Adjusted Offsets */
+ private final static CallSite _FC_building = TypeSystemImpl.createCallSite(RoomNumber.class, "building");
+ private final static MethodHandle _FH_building = _FC_building.dynamicInvoker();
+
+
+ /** Never called. Disable default constructor
+ * @generated */
+ protected RoomNumber() {/* intentionally empty block */}
+
+ /** Internal - constructor used by generator
+ * @generated
+ * @param casImpl the CAS this Feature Structure belongs to
+ * @param type the type of this Feature Structure
+ */
+ public RoomNumber(TypeImpl type, CASImpl casImpl) {
+ super(type, casImpl);
+ readObject();
+ }
+
+ /** @generated
+ * @param jcas JCas to which this Feature Structure belongs
+ */
+ public RoomNumber(JCas jcas) {
+ super(jcas);
+ readObject();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * Write your own initialization here
+ * <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {/*default - does nothing empty block */}
+
+
+
+ //*--------------*
+ //* Feature: building
+
+ /** getter for building - gets Building containing this room
+ * @generated
+ * @return value of the feature
+ */
+ public String getBuilding() { return _getStringValueNc(wrapGetIntCatchException(_FH_building));}
+
+ /** setter for building - sets Building containing this room
+ * @generated
+ * @param v value to set into the feature
+ */
+ public void setBuilding(String v) {
+ _setStringValueNfc(wrapGetIntCatchException(_FH_building), v);
+ }
+
+ }
+
+
\ No newline at end of file
Added: uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.java?rev=1822303&view=auto
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.java (added)
+++ uima/uv3/uimaj-v3/trunk/uimaj-tools/src/test/resources/pearTests/pearMergerTests/uima.example.RoomNumber/src/org/apache/uima/tutorial/ex1/RoomNumberAnnotator.java Fri Jan 26 14:44:33 2018
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.uima.tutorial.ex1;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
+import org.apache.uima.jcas.JCas;
+import org.apache.uima.tutorial.RoomNumber;
+
+/**
+ * Example annotator that detects room numbers using Java 1.4 regular expressions.
+ */
+public class RoomNumberAnnotator extends JCasAnnotator_ImplBase {
+ private Pattern mYorktownPattern = Pattern.compile("\\b[0-4]\\d-[0-2]\\d\\d\\b");
+
+ private Pattern mHawthornePattern = Pattern.compile("\\b[G1-4][NS]-[A-Z]\\d\\d\\b");
+
+ /**
+ * @see JCasAnnotator_ImplBase#process(JCas)
+ */
+ public void process(JCas aJCas) {
+ // get document text
+ String docText = aJCas.getDocumentText();
+ // search for Yorktown room numbers
+ Matcher matcher = mYorktownPattern.matcher(docText);
+ while (matcher.find()) {
+ // found one - create annotation
+ RoomNumber annotation = new RoomNumber(aJCas);
+ annotation.setBegin(matcher.start());
+ annotation.setEnd(matcher.end());
+ annotation.setBuilding("Yorktown");
+ annotation.addToIndexes();
+ }
+ // search for Hawthorne room numbers
+ matcher = mHawthornePattern.matcher(docText);
+ while (matcher.find()) {
+ // found one - create annotation
+ RoomNumber annotation = new RoomNumber(aJCas);
+ annotation.setBegin(matcher.start());
+ annotation.setEnd(matcher.end());
+ annotation.setBuilding("Hawthorne");
+ annotation.addToIndexes();
+ }
+ }
+
+}