You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2012/02/16 14:05:37 UTC
svn commit: r1244972 - in
/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site: ./
.settings/ features/ plugins/ target/ target/work/ target/work/plugins/ web/
Author: pkluegl
Date: Thu Feb 16 13:05:36 2012
New Revision: 1244972
URL: http://svn.apache.org/viewvc?rev=1244972&view=rev
Log:
UIMA-2353
added update site for TextMarker
Added:
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.project
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.core.resources.prefs
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.m2e.core.prefs
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/features/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/index.html
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/plugins/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/pom.xml
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/signEclipseUpdateSite.sh
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/site.xml
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/target/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/target/work/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/target/work/plugins/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/verifySigsEclipseUpdateSite.sh
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.css
uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.xsl
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.project
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.project?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.project (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.project Thu Feb 16 13:05:36 2012
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>uimaj-textmarker-eclipse-update-site</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.UpdateSiteBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.eclipse.pde.UpdateSiteNature</nature>
+ </natures>
+</projectDescription>
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.core.resources.prefs?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.core.resources.prefs (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.core.resources.prefs Thu Feb 16 13:05:36 2012
@@ -0,0 +1,3 @@
+#Fri Dec 16 17:19:44 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.m2e.core.prefs
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.m2e.core.prefs?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.m2e.core.prefs (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/.settings/org.eclipse.m2e.core.prefs Thu Feb 16 13:05:36 2012
@@ -0,0 +1,5 @@
+#Fri Dec 16 17:18:55 CET 2011
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/index.html
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/index.html?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/index.html (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/index.html Thu Feb 16 13:05:36 2012
@@ -0,0 +1,78 @@
+<html>
+<!--
+ 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.
+-->
+<head>
+<title>uima-ep-update-site</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<style>@import url("web/site.css");</style>
+<script type="text/javascript">
+ var returnval = 0;
+ var stylesheet, xmlFile, cache, doc;
+ function init(){
+ // NSCP 7.1+ / Mozilla 1.4.1+ / Safari
+ // Use the standard DOM Level 2 technique, if it is supported
+ if (document.implementation && document.implementation.createDocument) {
+ xmlFile = document.implementation.createDocument("", "", null);
+ stylesheet = document.implementation.createDocument("", "", null);
+ if (xmlFile.load){
+ xmlFile.load("site.xml");
+ stylesheet.load("web/site.xsl");
+ } else {
+ alert("Document could not be loaded by browser.");
+ }
+ xmlFile.addEventListener("load", transform, false);
+ stylesheet.addEventListener("load", transform, false);
+ }
+ //IE 6.0+ solution
+ else if (window.ActiveXObject) {
+ xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
+ xmlFile.async = false;
+ xmlFile.load("site.xml");
+ stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
+ stylesheet.async = false;
+ stylesheet.load("web/site.xsl");
+ cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
+ cache.stylesheet = stylesheet;
+ transformData();
+ }
+ }
+ // separate transformation function for IE 6.0+
+ function transformData(){
+ var processor = cache.createProcessor();
+ processor.input = xmlFile;
+ processor.transform();
+ data.innerHTML = processor.output;
+ }
+ // separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
+ function transform(){
+ returnval+=1;
+ if (returnval==2){
+ var processor = new XSLTProcessor();
+ processor.importStylesheet(stylesheet);
+ doc = processor.transformToDocument(xmlFile);
+ document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
+ }
+ }
+</script>
+</head>
+<body onload="init();">
+<!--[insert static HTML here]-->
+<div id="data"><!-- this is where the transformed data goes --></div>
+</body>
+</html>
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/pom.xml?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/pom.xml (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/pom.xml Thu Feb 16 13:05:36 2012
@@ -0,0 +1,232 @@
+<?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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>parent-pom</artifactId>
+ <version>3</version>
+ <relativePath />
+ </parent>
+
+ <artifactId>uimaj-textmarker-eclipse-update-site</artifactId>
+ <packaging>pom</packaging>
+ <version>4</version>
+
+ <name>Apache UIMAhe UIMA Eclipse: ${project.artifactId}</name>
+ <description>The UIMA TextMarker Eclipse update site</description>
+ <url>${uimaWebsiteUrl}</url>
+
+ <!-- Special inheritance note
+ even though the <scm> element that follows is exactly the
+ same as those in super poms, it cannot be inherited because
+ there is some special code that computes the connection elements
+ from the chain of parent poms, if this is omitted.
+
+ Keeping this a bit factored allows cutting/pasting the <scm>
+ element, and just changing the following two properties -->
+ <scm>
+ <connection>
+ scm:svn:http://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-textmarker-eclipse-update-site
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/uima/uimaj/trunk/uimaj-textmarker-eclipse-update-site
+ </developerConnection>
+ <url>
+ http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-textmarker-eclipse-update-site
+ </url>
+ </scm>
+
+ <properties>
+ <uimaScmRoot>uimaj</uimaScmRoot>
+ <uimaScmProject>${project.artifactId}</uimaScmProject>
+ <eclipseUpdateSite>${project.build.directory}/eclipse-update-site</eclipseUpdateSite>
+ <item-maven-release-version>2.4.1.SNAPSHOT</item-maven-release-version>
+ <item-eclipse-release-version>2.4.1.SNAPSHOT</item-eclipse-release-version>
+ </properties>
+
+ <!-- don't use dependency mechanism - use dependency:copy
+ because we need to get multiple versions for the
+ eclipese-feature-projects, and Maven
+ wants to resolve multiple versions into one. -->
+
+ <build>
+ <!-- normally, the resources spec copies into
+ target/classes/ ... but if it's not a "jar" packaging,
+ it copies into target/
+ -->
+ <resources>
+ <resource>
+ <targetPath>eclipse-update-site/web</targetPath>
+ <directory>web</directory>
+ </resource>
+ <resource>
+ <targetPath>eclipse-update-site</targetPath>
+ <directory>.</directory>
+ <includes>
+ <include>index.html</include>
+ <include>site.xml</include>
+ </includes>
+ </resource>
+ </resources>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-plugins-being-released</id>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <!-- ===================================================================
+ List here just the new versions of plugins that are being released;
+ remove old versions from this list.
+
+ Include (hard-code) the specific versions you wish to use.
+
+ The build will include just those new plugins; these should be
+ merged with other released plugins for previous versions that the
+ feature(s) support, on the actual eclipse-update-site
+ ======================================================================= -->
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-textmarker-addons</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.addons_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-textmarker-caseditor</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.caseditor_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-textmarker-engine</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.engine_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-textmarker-ide</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.ide_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-ep-textmarker-textruler</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.textruler_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/work/plugins</outputDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-features</id>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <!-- include here all of the new / updated
+ features being included in this build.
+ Merge in older features on the target update site -->
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-textmarker-eclipse-feature</artifactId>
+ <version>${item-maven-release-version}</version>
+ <destFileName>org.apache.uima.textmarker.feature_${item-eclipse-release-version}.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/eclipse-update-site/features</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>BuildUpdateSite</id>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <!-- if the property uima-maven-build-eclipse-home is set, use it, otherwise don't -->
+ <condition property="eclipse.home" value="${uima-maven-build-eclipse-home}">
+ <not>
+ <equals arg1="${uima-maven-build-eclipse-home}" arg2="$${uima-maven-build-eclipse-home}" />
+ </not>
+ </condition>
+
+ <property environment="envVar" />
+ <condition property="eclipse.home" value="${envVar.ECLIPSE_HOME}">
+ <isset property="envVar.ECLIPSE_HOME" />
+ </condition>
+
+ <fail unless="eclipse.home" message="********** Please set up and use an ant property eclipse.home set to an Eclipse installation at level 3.3 or later, e.g. c:/eclipses/3.3/eclipse" />
+
+ <!-- Define property: eclipse-equinox-launcher in m2/settings.xml to point to the
+ ECLIPSE_HOME/plugins/org.eclipse.equinox.launcherXXX.jar -->
+ <java jar="${eclipse-equinox-launcher}" fork="true" failonerror="true" maxmemory="256m">
+ <arg line="-application org.eclipse.update.core.siteOptimizer" />
+ <arg line="-jarProcessor -verbose -processAll -pack" />
+ <arg line="-outputDir ${eclipseUpdateSite}/plugins" />
+ <arg line="${project.build.directory}/work/plugins" />
+ </java>
+
+ <copy todir="${eclipseUpdateSite}/web" preservelastmodified="true">
+ <fileset dir="web" />
+ </copy>
+ <copy todir="${eclipseUpdateSite}" file="index.html" preservelastmodified="true" />
+ <copy todir="${eclipseUpdateSite}" file="site.xml" preservelastmodified="true" />
+
+ <!-- copy all feature jars preserved in SVN in the features/ folder to the target -->
+ <copy todir="${eclipseUpdateSite}/features" preservelastmodified="true">
+ <fileset dir="features" />
+ </copy>
+
+
+ <!-- see http://wiki.eclipse.org/Update_Site_Optimization -->
+ <!-- Define property: eclipse-equinox-launcher in m2/settings.xml to point to the
+ ECLIPSE_HOME/plugins/org.eclipse.equinox.launcherXXX.jar -->
+ <java jar="${eclipse-equinox-launcher}" fork="true" failonerror="true" maxmemory="256m">
+ <arg line="-application org.eclipse.update.core.siteOptimizer" />
+ <arg line="-digestBuilder -digestOutputDir=target/eclipse-update-site" />
+ <arg line="-siteXML=target/eclipse-update-site/site.xml" />
+ </java>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/signEclipseUpdateSite.sh
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/signEclipseUpdateSite.sh?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/signEclipseUpdateSite.sh (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/signEclipseUpdateSite.sh Thu Feb 16 13:05:36 2012
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# 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.
+
+# Bourne shell syntax, this should hopefully run on pretty much anything.
+
+usage() {
+ echo "Usage: cd to the uimaj-eclipse-update-site project, then ./signEclipseUpdateSite.sh"
+}
+
+if [ "$1" = "-help" ]
+then
+ usage
+ exit 1
+fi
+
+# Create PGP signatures
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do gpg --output $i.asc --detach-sig --armor $i; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do gpg --output $i.asc --detach-sig --armor $i; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.pack.gz; do gpg --output $i.asc --detach-sig --armor $i; done
+gpg --output target/eclipse-update-site/digest.zip.asc --detach-sig --armor target/eclipse-update-site/digest.zip
+
+
+# Create MD5 checksums
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do md5sum --binary $i > $i.md5; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do md5sum --binary $i > $i.md5; done
+md5sum --binary target/eclipse-update-site/digest.zip > target/eclipse-update-site/digest.zip.md5
+
+# Create SHA1 checksums
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do sha1sum --binary $i > $i.sha1; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do sha1sum --binary $i > $i.sha1; done
+sha1sum --binary target/eclipse-update-site/digest.zip > target/eclipse-update-site/digest.zip.sha1
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/site.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/site.xml?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/site.xml (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/site.xml Thu Feb 16 13:05:36 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site
+ mirrorsURL="http://uima.apache.org/mirrors-support/uima-eclipse-update--xml.cgi"
+ digestURL="/">
+ <description url="http://www.apache.org/dist/uima/eclipse-update-site">
+ Eclipse update site for Apache UIMA TextMarker.
+ </description>
+ <feature url="features/org.apache.uima.textmarker_2.4.1.SNAPSHOT.jar" id="org.apache.uima.textmarker.feature" version="2.4.1.SNAPSHOT">
+ <category name="uima-textmarker"/>
+ </feature>
+
+ <category-def name="uima-textmarker" label="Apache UIMA TextMarker Eclipse tooling and runtime support"/>
+</site>
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/verifySigsEclipseUpdateSite.sh
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/verifySigsEclipseUpdateSite.sh?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/verifySigsEclipseUpdateSite.sh (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/verifySigsEclipseUpdateSite.sh Thu Feb 16 13:05:36 2012
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+# 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.
+
+# On windows, run this inside cygwin
+# Bourne shell syntax, this should hopefully run on pretty much anything.
+
+usage() {
+ echo "Usage: cd to eclipseUpdateSite, then verifySigsEclipseUpdateSite.sh )"
+}
+
+# Verify PGP signatures
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do gpg --verify $i.asc; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do gpg --verify $i.asc; done
+gpg --verify target/eclipse-update-site/digest.zip.asc
+
+# Verify MD5 checksums
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do md5sum --check $i.md5; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do md5sum --check $i.md5; done
+md5sum --check target/eclipse-update-site/digest.zip.md5
+
+# Verify SHA1 checksums
+for i in target/eclipse-update-site/features/org.apache.uima.*.jar; do sha1sum --check $i.sha1; done
+for i in target/eclipse-update-site/plugins/org.apache.uima.*.jar; do sha1sum --check $i.sha1; done
+md5sum --check target/eclipse-update-site/digest.zip.md5
+
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.css
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.css?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.css (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.css Thu Feb 16 13:05:36 2012
@@ -0,0 +1,30 @@
+<STYLE type="text/css">
+/*
+ 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.
+*/
+td.spacer {padding-bottom: 10px; padding-top: 10px;}
+.title { font-family: sans-serif; color: #99AACC;}
+.bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; }
+.sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white;}
+.log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color:black;}
+.big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;}
+.light-row {background:#FFFFFF}
+.dark-row {background:#EEEEFF}
+.header {background:#99AADD}
+#indent {word-wrap : break-word;width :300px;text-indent:10px;}
+</STYLE>
Added: uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.xsl
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.xsl?rev=1244972&view=auto
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.xsl (added)
+++ uima/sandbox/trunk/TextMarker/uimaj-textmarker-eclipse-update-site/web/site.xsl Thu Feb 16 13:05:36 2012
@@ -0,0 +1,232 @@
+<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl="urn:schemas-microsoft-com:xslt">
+<xsl:output method="html" 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.
+-->
+<xsl:key name="cat" match="category" use="@name"/>
+<xsl:template match="/">
+<xsl:for-each select="site">
+ <html>
+ <head>
+ <title>uima-ep-update-site</title>
+ <style>@import url("web/site.css");</style>
+ </head>
+ <body>
+ <h1 class="title">uima-ep-update-site</h1>
+ <p class="bodyText"><xsl:value-of select="description"/></p>
+ <table width="100%" border="0" cellspacing="1" cellpadding="2">
+ <xsl:for-each select="category-def">
+ <xsl:sort select="@label" order="ascending" case-order="upper-first"/>
+ <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
+ <xsl:if test="count(key('cat',@name)) != 0">
+ <tr class="header">
+ <td class="sub-header" width="30%">
+ <xsl:value-of select="@name"/>
+ </td>
+ <td class="sub-header" width="70%">
+ <xsl:value-of select="@label"/>
+ </td>
+ </tr>
+ <xsl:for-each select="key('cat',@name)">
+ <xsl:sort select="ancestor::feature//@version" order="ascending"/>
+ <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/>
+ <tr>
+ <xsl:choose>
+ <xsl:when test="(position() mod 2 = 1)">
+ <xsl:attribute name="class">dark-row</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">light-row</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ <td class="log-text" id="indent">
+ <xsl:choose>
+ <xsl:when test="ancestor::feature//@label">
+ <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
+ <br/>
+ <div id="indent">
+ (<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/>)
+ </div>
+ </xsl:when>
+ <xsl:otherwise>
+ <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@version"/></a>
+ </xsl:otherwise>
+ </xsl:choose>
+ <br />
+ </td>
+ <td>
+ <table>
+ <xsl:if test="ancestor::feature//@os">
+ <tr><td class="log-text" id="indent">Operating Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="ancestor::feature//@ws">
+ <tr><td class="log-text" id="indent">Windows Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="ancestor::feature//@nl">
+ <tr><td class="log-text" id="indent">Languages:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="ancestor::feature//@arch">
+ <tr><td class="log-text" id="indent">Architecture:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td>
+ </tr>
+ </xsl:if>
+ </table>
+ </td>
+ </tr>
+ </xsl:for-each>
+ <tr><td class="spacer"><br/></td><td class="spacer"><br/></td></tr>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:if test="count(feature) > count(feature/category)">
+ <tr class="header">
+ <td class="sub-header" colspan="2">
+ Uncategorized
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="function-available('msxsl:node-set')">
+ <xsl:variable name="rtf-nodes">
+ <xsl:for-each select="feature[not(category)]">
+ <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
+ <xsl:sort select="@version" order="ascending" />
+ <xsl:value-of select="."/>
+ <xsl:copy-of select="." />
+ </xsl:for-each>
+ </xsl:variable>
+ <xsl:variable name="myNodeSet" select="msxsl:node-set($rtf-nodes)/*"/>
+ <xsl:for-each select="$myNodeSet">
+ <tr>
+ <xsl:choose>
+ <xsl:when test="position() mod 2 = 1">
+ <xsl:attribute name="class">dark-row</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">light-row</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ <td class="log-text" id="indent">
+ <xsl:choose>
+ <xsl:when test="@label">
+ <a href="{@url}"><xsl:value-of select="@label"/></a>
+ <br />
+ <div id="indent">
+ (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>)
+ </div>
+ </xsl:when>
+ <xsl:otherwise>
+ <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
+ </xsl:otherwise>
+ </xsl:choose>
+ <br /><br />
+ </td>
+ <td>
+ <table>
+ <xsl:if test="@os">
+ <tr><td class="log-text" id="indent">Operating Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@os"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@ws">
+ <tr><td class="log-text" id="indent">Windows Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@nl">
+ <tr><td class="log-text" id="indent">Languages:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@arch">
+ <tr><td class="log-text" id="indent">Architecture:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td>
+ </tr>
+ </xsl:if>
+ </table>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:for-each select="feature[not(category)]">
+ <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
+ <xsl:sort select="@version" order="ascending" />
+ <tr>
+ <xsl:choose>
+ <xsl:when test="count(preceding-sibling::feature[not(category)]) mod 2 = 1">
+ <xsl:attribute name="class">dark-row</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">light-row</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ <td class="log-text" id="indent">
+ <xsl:choose>
+ <xsl:when test="@label">
+ <a href="{@url}"><xsl:value-of select="@label"/></a>
+ <br />
+ <div id="indent">
+ (<xsl:value-of select="@id"/> - <xsl:value-of select="@version"/>)
+ </div>
+ </xsl:when>
+ <xsl:otherwise>
+ <a href="{@url}"><xsl:value-of select="@id"/> - <xsl:value-of select="@version"/></a>
+ </xsl:otherwise>
+ </xsl:choose>
+ <br /><br />
+ </td>
+ <td>
+ <table>
+ <xsl:if test="@os">
+ <tr><td class="log-text" id="indent">Operating Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@os"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@ws">
+ <tr><td class="log-text" id="indent">Windows Systems:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@ws"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@nl">
+ <tr><td class="log-text" id="indent">Languages:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@nl"/></td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="@arch">
+ <tr><td class="log-text" id="indent">Architecture:</td>
+ <td class="log-text" id="indent"><xsl:value-of select="@arch"/></td>
+ </tr>
+ </xsl:if>
+ </table>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ </body>
+ </html>
+</xsl:for-each>
+</xsl:template>
+</xsl:stylesheet>