Author: pkluegl Date: Thu May 2 20:18:26 2013 New Revision: 1478514 URL: http://svn.apache.org/r1478514 Log: no jira - fixed license headers - added extension example to modules - extended archives with other .project files
Modified: uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/pom.xml uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/src/main/java/org/apache/uima/ruta/example/extensions/ExampleActionIDEExtension.java uima/sandbox/ruta/trunk/pom.xml uima/sandbox/ruta/trunk/ruta-core/pom.xml uima/sandbox/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/rule/RuleApply.java Modified: uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/pom.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/pom.xml?rev=1478514&r1=1478513&r2=1478514&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/pom.xml (original) +++ uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/pom.xml Thu May 2 20:18:26 2013 @@ -22,7 +22,7 @@ <modelVersion>4.0.0</modelVersion> <artifactId>ruta-ep-example-extensions</artifactId> <version>2.0.1-SNAPSHOT</version> - <name>Example for language extensions</name> + <name>Apache UIMA Ruta: ${project.artifactId}</name> <parent> <groupId>org.apache.uima</groupId> <artifactId>ruta-parent</artifactId> Modified: uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/src/main/java/org/apache/uima/ruta/example/extensions/ExampleActionIDEExtension.java URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/src/main/java/org/apache/uima/ruta/example/extensions/ExampleActionIDEExtension.java?rev=1478514&r1=1478513&r2=1478514&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/src/main/java/org/apache/uima/ruta/example/extensions/ExampleActionIDEExtension.java (original) +++ uima/sandbox/ruta/trunk/example-projects/ruta-ep-example-extensions/src/main/java/org/apache/uima/ruta/example/extensions/ExampleActionIDEExtension.java Thu May 2 20:18:26 2013 @@ -1,3 +1,22 @@ +/* + * 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.ruta.example.extensions; import java.util.List; Modified: uima/sandbox/ruta/trunk/pom.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/pom.xml?rev=1478514&r1=1478513&r2=1478514&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/pom.xml (original) +++ uima/sandbox/ruta/trunk/pom.xml Thu May 2 20:18:26 2013 @@ -90,6 +90,8 @@ <module>ruta-docbook</module> <module>ruta-eclipse-feature</module> + + <module>example-projects/ruta-ep-example-extensions</module> </modules> <build> <pluginManagement> @@ -193,6 +195,12 @@ <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip" update="true"> <zipfileset dir="${basedir}/example-projects/ExampleProject/" includes=".project" prefix="${project.artifactId}-${project.version}/example-projects/ExampleProject/" /> </zip> + <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip" update="true"> + <zipfileset dir="${basedir}/example-projects/ExtensionsExample/" includes=".project" prefix="${project.artifactId}-${project.version}/example-projects/${basedir}/example-projects/ExtensionsExample/" /> + </zip> + <zip destfile="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip" update="true"> + <zipfileset dir="${basedir}/example-projects/TextRulerExample/" includes=".project" prefix="${project.artifactId}-${project.version}/example-projects/${basedir}/example-projects/TextRulerExample/" /> + </zip> </target> </configuration> <goals> Modified: uima/sandbox/ruta/trunk/ruta-core/pom.xml URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-core/pom.xml?rev=1478514&r1=1478513&r2=1478514&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-core/pom.xml (original) +++ uima/sandbox/ruta/trunk/ruta-core/pom.xml Thu May 2 20:18:26 2013 @@ -107,6 +107,7 @@ <excludes> <exclude>src/main/java/org/apache/uima/ruta/type/*.java</exclude> <!-- jcasgen files --> <exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaLexer.tokens</exclude> <!-- grammar tokens --> + <exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaParser.tokens</exclude> <!-- grammar tokens --> <exclude>src/test/resources/org/apache/uima/ruta/action/*ruta</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/*.txt</exclude> <!-- test data --> <exclude>src/test/resources/org/apache/uima/ruta/*ruta</exclude> <!-- test data --> Modified: uima/sandbox/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/rule/RuleApply.java URL: http://svn.apache.org/viewvc/uima/sandbox/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/rule/RuleApply.java?rev=1478514&r1=1478513&r2=1478514&view=diff ============================================================================== --- uima/sandbox/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/rule/RuleApply.java (original) +++ uima/sandbox/ruta/trunk/ruta-core/src/main/java/org/apache/uima/ruta/rule/RuleApply.java Thu May 2 20:18:26 2013 @@ -1,3 +1,22 @@ +/* + * 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.ruta.rule; import java.util.ArrayList;