You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by en...@apache.org on 2011/04/01 15:01:46 UTC
svn commit: r1087691 [4/13] - in /incubator/stanbol/trunk/reengineer: ./
base/ base/.settings/ base/src/ base/src/main/ base/src/main/java/
base/src/main/java/org/ base/src/main/java/org/apache/
base/src/main/java/org/apache/stanbol/ base/src/main/java...
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/iksproject/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/iksproject/kres/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/iksproject/kres/shared/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/iksproject/kres/shared/dependency/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/main/resources/eu/iksproject/kres/shared/dependency/mysql/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/iksproject/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/iksproject/kres/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/iksproject/kres/shared/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/iksproject/kres/shared/dependency/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/eu/iksproject/kres/shared/dependency/mysql/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/org/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/org/apache/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/org/apache/stanbol/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/org/apache/stanbol/reengineer/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/mysql/src/test/java/org/apache/stanbol/reengineer/mysql/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reengineer/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/pom.xml?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/pom.xml (added)
+++ incubator/stanbol/trunk/reengineer/pom.xml Fri Apr 1 13:01:38 2011
@@ -0,0 +1,54 @@
+<?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.stanbol</groupId>
+ <artifactId>stanbol-parent</artifactId>
+ <version>${stanbol-version}</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.reengineer.reactor</artifactId>
+ <packaging>pom</packaging>
+ <version>${stanbol-version}</version>
+
+ <name>Apache Stanbol Reengineer reactor</name>
+ <description>
+ Pseudo project to build the complete Apache Stanbol Reengineer.
+ </description>
+
+ <inceptionYear>2011</inceptionYear>
+
+ <modules>
+ <!--module>../jersey</module>
+ <module>../ontologymanager/ontonet</module>
+ <module>../owl</module-->
+ <module>base</module>
+ <module>db</module>
+ <module>mysql</module>
+ <module>web</module>
+ <module>xerces</module>
+ <module>xml</module>
+ </modules>
+
+</project>
Propchange: incubator/stanbol/trunk/reengineer/web/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reengineer/web/.classpath
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/.classpath?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/.classpath (added)
+++ incubator/stanbol/trunk/reengineer/web/.classpath Fri Apr 1 13:01:38 2011
@@ -0,0 +1,168 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java" including="**/*.java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" sourcepath="M2_REPO/javax/activation/activation/1.1/activation-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/asm/asm/3.1/asm-3.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-discovery/commons-discovery/0.4/commons-discovery-0.4.jar" sourcepath="M2_REPO/commons-discovery/commons-discovery/0.4/commons-discovery-0.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.4/commons-io-1.4.jar" sourcepath="M2_REPO/commons-io/commons-io/1.4/commons-io-1.4-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/freemarker/freemarker/2.3.9/freemarker-2.3.9.jar" sourcepath="M2_REPO/org/freemarker/freemarker/2.3.9/freemarker-2.3.9-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.0/httpcore-4.0.jar" sourcepath="M2_REPO/org/apache/httpcomponents/httpcore/4.0/httpcore-4.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar" sourcepath="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.7/iri-0.7.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.7/iri-0.7-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/hp/hpl/jena/iri/0.7/iri-0.7-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/jackson/jackson-core-asl/1.1.1/jackson-core-asl-1.1.1.jar" sourcepath="M2_REPO/org/codehaus/jackson/jackson-core-asl/1.1.1/jackson-core-asl-1.1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/jena/2.6.2/jena-2.6.2.jar" sourcepath="M2_REPO/com/hp/hpl/jena/jena/2.6.2/jena-2.6.2-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/hp/hpl/jena/jena/2.6.2/jena-2.6.2-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/com/sun/jersey/jersey-client/1.1.5.1/jersey-client-1.1.5.1.jar" sourcepath="M2_REPO/com/sun/jersey/jersey-client/1.1.5.1/jersey-client-1.1.5.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/sun/jersey/jersey-client/1.1.5.1/jersey-client-1.1.5.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/com/sun/jersey/jersey-core/1.1.5.1/jersey-core-1.1.5.1.jar" sourcepath="M2_REPO/com/sun/jersey/jersey-core/1.1.5.1/jersey-core-1.1.5.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/sun/jersey/jersey-core/1.1.5.1/jersey-core-1.1.5.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/com/sun/jersey/jersey-json/1.1.5.1/jersey-json-1.1.5.1.jar" sourcepath="M2_REPO/com/sun/jersey/jersey-json/1.1.5.1/jersey-json-1.1.5.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/sun/jersey/jersey-json/1.1.5.1/jersey-json-1.1.5.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/com/sun/jersey/jersey-server/1.1.5.1/jersey-server-1.1.5.1.jar" sourcepath="M2_REPO/com/sun/jersey/jersey-server/1.1.5.1/jersey-server-1.1.5.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/com/sun/jersey/jersey-server/1.1.5.1/jersey-server-1.1.5.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/jettison/jettison/1.2/jettison-1.2.jar" sourcepath="M2_REPO/org/codehaus/jettison/jettison/1.2/jettison-1.2-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/codehaus/jettison/jettison/1.2/jettison-1.2-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty/6.1.22/jetty-6.1.22.jar" sourcepath="M2_REPO/org/mortbay/jetty/jetty/6.1.22/jetty-6.1.22-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty-util/6.1.22/jetty-util-6.1.22.jar" sourcepath="M2_REPO/org/mortbay/jetty/jetty-util/6.1.22/jetty-util-6.1.22-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar" sourcepath="M2_REPO/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/4.7/junit-4.7.jar" sourcepath="M2_REPO/junit/junit/4.7/junit-4.7-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar" sourcepath="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mockito/mockito-all/1.6/mockito-all-1.6.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/base/ops4j-base-io/1.2.1/ops4j-base-io-1.2.1.jar" sourcepath="M2_REPO/org/ops4j/base/ops4j-base-io/1.2.1/ops4j-base-io-1.2.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/base/ops4j-base-io/1.2.1/ops4j-base-io-1.2.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/base/ops4j-base-lang/1.2.1/ops4j-base-lang-1.2.1.jar" sourcepath="M2_REPO/org/ops4j/base/ops4j-base-lang/1.2.1/ops4j-base-lang-1.2.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/base/ops4j-base-lang/1.2.1/ops4j-base-lang-1.2.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/base/ops4j-base-monitors/1.2.1/ops4j-base-monitors-1.2.1.jar" sourcepath="M2_REPO/org/ops4j/base/ops4j-base-monitors/1.2.1/ops4j-base-monitors-1.2.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/base/ops4j-base-monitors/1.2.1/ops4j-base-monitors-1.2.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/base/ops4j-base-net/1.2.1/ops4j-base-net-1.2.1.jar" sourcepath="M2_REPO/org/ops4j/base/ops4j-base-net/1.2.1/ops4j-base-net-1.2.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/base/ops4j-base-net/1.2.1/ops4j-base-net-1.2.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/base/ops4j-base-store/1.2.1/ops4j-base-store-1.2.1.jar" sourcepath="M2_REPO/org/ops4j/base/ops4j-base-store/1.2.1/ops4j-base-store-1.2.1-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/base/ops4j-base-store/1.2.1/ops4j-base-store-1.2.1-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.jaxrs.rdf.providers/0.13-incubating-SNAPSHOT/org.apache.clerezza.jaxrs.rdf.providers-0.13-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.jaxrs.rdf.providers/0.13-incubating-SNAPSHOT/org.apache.clerezza.jaxrs.rdf.providers-0.13-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.core/0.12-incubating-SNAPSHOT/org.apache.clerezza.rdf.core-0.12-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.core/0.12-incubating-SNAPSHOT/org.apache.clerezza.rdf.core-0.12-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.core.test/0.13-incubating-SNAPSHOT/org.apache.clerezza.rdf.core.test-0.13-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.core.test/0.13-incubating-SNAPSHOT/org.apache.clerezza.rdf.core.test-0.13-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.commons/0.5-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.commons-0.5-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.commons/0.5-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.commons-0.5-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.facade/0.12-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.facade-0.12-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.facade/0.12-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.facade-0.12-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.serializer/0.9-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.serializer-0.9-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.jena.serializer/0.9-incubating-SNAPSHOT/org.apache.clerezza.rdf.jena.serializer-0.9-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.ontologies/0.11-incubating-SNAPSHOT/org.apache.clerezza.rdf.ontologies-0.11-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.ontologies/0.11-incubating-SNAPSHOT/org.apache.clerezza.rdf.ontologies-0.11-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.rdfjson/0.3-incubating-SNAPSHOT/org.apache.clerezza.rdf.rdfjson-0.3-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.rdfjson/0.3-incubating-SNAPSHOT/org.apache.clerezza.rdf.rdfjson-0.3-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.utils/0.13-incubating-SNAPSHOT/org.apache.clerezza.rdf.utils-0.13-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.rdf.utils/0.13-incubating-SNAPSHOT/org.apache.clerezza.rdf.utils-0.13-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/org.apache.clerezza.utils/0.1-incubating-SNAPSHOT/org.apache.clerezza.utils-0.1-incubating-SNAPSHOT.jar" sourcepath="M2_REPO/org/apache/clerezza/org.apache.clerezza.utils/0.1-incubating-SNAPSHOT/org.apache.clerezza.utils-0.1-incubating-SNAPSHOT-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.apache.felix.scr.annotations/1.2.0/org.apache.felix.scr.annotations-1.2.0.jar" sourcepath="M2_REPO/org/apache/felix/org.apache.felix.scr.annotations/1.2.0/org.apache.felix.scr.annotations-1.2.0-sources.jar"/>
+ <classpathentry kind="src" path="/org.apache.stanbol.kres.jersey"/>
+ <classpathentry kind="src" path="/org.apache.stanbol.ontologymanager.ontonet"/>
+ <classpathentry kind="src" path="/org.apache.stanbol.owlapi"/>
+ <classpathentry kind="src" path="/org.apache.stanbol.reengineer.base"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/clerezza/ext/org.json.simple/0.3-incubating-SNAPSHOT/org.json.simple-0.3-incubating-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/osgi/org.osgi.compendium/4.1.0/org.osgi.compendium-4.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/felix/org.osgi.core/1.4.0/org.osgi.core-1.4.0.jar" sourcepath="M2_REPO/org/apache/felix/org.osgi.core/1.4.0/org.osgi.core-1.4.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/owlapi/owlapi/3.0.0/owlapi-3.0.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam/1.2.0/pax-exam-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam/1.2.0/pax-exam-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam/1.2.0/pax-exam-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-container-default/1.2.0/pax-exam-container-default-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-container-default/1.2.0/pax-exam-container-default-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-container-default/1.2.0/pax-exam-container-default-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-container-rbc/1.2.0/pax-exam-container-rbc-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-container-rbc/1.2.0/pax-exam-container-rbc-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc/1.2.0/pax-exam-container-rbc-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-container-rbc-client/1.2.0/pax-exam-container-rbc-client-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-container-rbc-client/1.2.0/pax-exam-container-rbc-client-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-container-rbc-client/1.2.0/pax-exam-container-rbc-client-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-junit/1.2.0/pax-exam-junit-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-junit/1.2.0/pax-exam-junit-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-junit/1.2.0/pax-exam-junit-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-junit-extender/1.2.0/pax-exam-junit-extender-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-junit-extender/1.2.0/pax-exam-junit-extender-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-junit-extender/1.2.0/pax-exam-junit-extender-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-runtime/1.2.0/pax-exam-runtime-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-runtime/1.2.0/pax-exam-runtime-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-runtime/1.2.0/pax-exam-runtime-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/exam/pax-exam-spi/1.2.0/pax-exam-spi-1.2.0.jar" sourcepath="M2_REPO/org/ops4j/pax/exam/pax-exam-spi/1.2.0/pax-exam-spi-1.2.0-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/ops4j/pax/exam/pax-exam-spi/1.2.0/pax-exam-spi-1.2.0-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/ops4j/pax/runner/pax-runner-no-jcl/1.3.0/pax-runner-no-jcl-1.3.0.jar" sourcepath="M2_REPO/org/ops4j/pax/runner/pax-runner-no-jcl/1.3.0/pax-runner-no-jcl-1.3.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar" sourcepath="M2_REPO/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211-sources.jar">
+ <attributes>
+ <attribute value="jar:file:/home/x-marley/.m2/repository/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211-javadoc.jar!/" name="javadoc_location"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-simple/1.5.2/slf4j-simple-1.5.2.jar" sourcepath="M2_REPO/org/slf4j/slf4j-simple/1.5.2/slf4j-simple-1.5.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/wymiwyg/wymiwyg-commons-core/0.7.5/wymiwyg-commons-core-0.7.5.jar" sourcepath="M2_REPO/org/wymiwyg/wymiwyg-commons-core/0.7.5/wymiwyg-commons-core-0.7.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+</classpath>
\ No newline at end of file
Added: incubator/stanbol/trunk/reengineer/web/.project
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/.project?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/.project (added)
+++ incubator/stanbol/trunk/reengineer/web/.project Fri Apr 1 13:01:38 2011
@@ -0,0 +1,23 @@
+<projectDescription>
+ <name>org.apache.stanbol.reengineer.web</name>
+ <comment>Set of rest services to deal with reengineer tasks. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+ <projects>
+ <project>org.apache.stanbol.kres.jersey</project>
+ <project>org.apache.stanbol.ontologymanager.ontonet</project>
+ <project>org.apache.stanbol.owlapi</project>
+ <project>org.apache.stanbol.reengineer.base</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reengineer/web/.settings/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.jdt.core.prefs?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.jdt.core.prefs (added)
+++ incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.jdt.core.prefs Fri Apr 1 13:01:38 2011
@@ -0,0 +1,6 @@
+#Wed Mar 23 17:40:15 GMT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.6
Added: incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.m2e.core.prefs
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.m2e.core.prefs?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.m2e.core.prefs (added)
+++ incubator/stanbol/trunk/reengineer/web/.settings/org.eclipse.m2e.core.prefs Fri Apr 1 13:01:38 2011
@@ -0,0 +1,5 @@
+#Wed Mar 23 17:37:35 GMT 2011
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
Added: incubator/stanbol/trunk/reengineer/web/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/pom.xml?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/pom.xml (added)
+++ incubator/stanbol/trunk/reengineer/web/pom.xml Fri Apr 1 13:01:38 2011
@@ -0,0 +1,323 @@
+<?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.stanbol</groupId>
+ <artifactId>stanbol-parent</artifactId>
+ <version>${stanbol-version}</version>
+ <relativePath>../../../parent</relativePath>
+ </parent>
+
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.reengineer.web</artifactId>
+ <version>${stanbol-version}</version>
+ <packaging>bundle</packaging>
+
+ <name>Apache Stanbol Reengineer Web</name>
+ <description>Set of rest services to deal with reengineer tasks</description>
+
+ <dependencies>
+
+ <!-- dependencies on other IKS modules -->
+ <dependency>
+ <groupId>org.apache.clerezza</groupId>
+ <artifactId>org.apache.clerezza.rdf.core</artifactId>
+ <version>0.12-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.clerezza</groupId>
+ <artifactId>org.apache.clerezza.rdf.rdfjson</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.clerezza</groupId>
+ <artifactId>org.apache.clerezza.jaxrs.rdf.providers</artifactId>
+ <version>0.13-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.clerezza</groupId>
+ <artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId>
+ <version>0.9-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.clerezza</groupId>
+ <artifactId>org.apache.clerezza.rdf.rdfjson</artifactId>
+ <version>0.3-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- specific deps for this project -->
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ <version>${jersey-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-core</artifactId>
+ <version>${jersey-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ <version>${jersey-version}</version>
+ <exclusions>
+ <!-- jaxb is now part of java 6 -->
+ <exclusion>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!--
+ <dependency> <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-multipart</artifactId> <version>1.4</version>
+ </dependency>
+ -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>freemarker</groupId>
+ <artifactId>freemarker</artifactId>
+ <version>2.3.9</version>
+ </dependency>
+ <!-- indirect dependency for freemarker -->
+ <dependency>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <!-- servlet container, most useful for the tests -->
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>6.1.22</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- generic tax -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.5.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- OSGi tax -->
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>4.1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <version>4.1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.scr.annotations</artifactId>
+ <version>1.2.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- for tests -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.7</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.6</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-client</artifactId>
+ <version>${jersey-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.exam</groupId>
+ <artifactId>pax-exam</artifactId>
+ <version>${pax-exam-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.exam</groupId>
+ <artifactId>pax-exam-junit</artifactId>
+ <version>${pax-exam-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.exam</groupId>
+ <artifactId>pax-exam-container-default</artifactId>
+ <version>${pax-exam-version}</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Stanbol deps -->
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.kres.jersey</artifactId>
+ <version>${stanbol-version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.reengineer.base</artifactId>
+ <version>${stanbol-version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.owl</artifactId>
+ <version>${stanbol-version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- OWL deps -->
+ <dependency>
+ <groupId>com.hp.hpl.jena</groupId>
+ <artifactId>jena</artifactId>
+ <version>2.6.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>owlapi</groupId>
+ <artifactId>owlapi</artifactId>
+ <version>3.0.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ </dependencies>
+
+
+
+
+
+ <repositories>
+ <!-- needed for jersey -->
+ <repository>
+ <id>maven2-repository.dev.java.net</id>
+ <name>Java.net Repository for Maven</name>
+ <url>http://download.java.net/maven/2/</url>
+ </repository>
+ <repository>
+ <id>repository-codehaus</id>
+ <name>Codehaus maven repository</name>
+ <url>http://repository.codehaus.org</url>
+ </repository>
+
+ <!-- needed for clerezza SNAPSHOT only -->
+ <repository>
+ <id>apache repository - snapshot repo</id>
+ <name>apache repository</name>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ </repository>
+ </repositories>
+
+ <build>
+ <!-- make it an OSGi bundle -->
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ >org.apache.stanbol.reengineer.web.*;version=${stanbol-version}
+ </Export-Package>
+ <Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=jersey-json|jettison|jackson-core-asl</Embed-Dependency>
+ <Embed-Transitive>true</Embed-Transitive>
+ <Import-Package>
+ org.semanticweb.owlapi.*,
+ !javax.servlet.jsp.*,
+ !org.apache.tools.*,
+ !org.mortbay.*,
+ !org.apache.xpath.*,
+ !org.jdom.*,
+ !org.jaxen.*,
+ !org.apache.xml.*,
+ !org.mozilla.javascript.*,
+ !org.python.*,
+ !org.dom4j.*,
+ !org.apache.log.*,
+ *
+ </Import-Package>
+ <Embed-Dependency>freemarker</Embed-Dependency>
+ <_nouses>true</_nouses>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-scr-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reengineer/web/src/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/org/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpoint.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpoint.java?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpoint.java (added)
+++ incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpoint.java Fri Apr 1 13:01:38 2011
@@ -0,0 +1,141 @@
+package org.apache.stanbol.reengineer.web;
+
+import java.io.IOException;
+import java.util.Dictionary;
+import java.util.Hashtable;
+
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Reference;
+import org.apache.stanbol.reengineer.base.api.ReengineerManager;
+import org.apache.stanbol.reengineer.base.api.Reengineer;
+import org.osgi.framework.BundleContext;
+import org.osgi.service.component.ComponentContext;
+import org.osgi.service.http.HttpService;
+import org.osgi.service.http.NamespaceException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.sun.jersey.spi.container.servlet.ServletContainer;
+
+import org.apache.stanbol.kres.jersey.processors.ViewProcessorImpl;
+
+/**
+ * Jersey-based RESTful endpoint for KReS.
+ *
+ * This OSGi component serves as a bridge between the OSGi context and the
+ * Servlet context available to JAX-RS resources.
+ *
+ * @author andrea.nuzzolese
+ */
+
+@Component(immediate = true, metatype = true)
+public class JerseyEndpoint {
+
+ private final Logger log = LoggerFactory.getLogger(getClass());
+
+ @Property(value = "/kres/reengineer")
+ public static final String ALIAS_PROPERTY = "org.apache.stanbol.reengineer.web.jersey.alias";
+
+ @Property(value = "/kres/reengineer/static")
+ public static final String STATIC_RESOURCES_URL_ROOT_PROPERTY = "org.apache.stanbol.reengineer.web.jersey.static.url";
+
+ @Property(value = "/META-INF/static")
+ public static final String STATIC_RESOURCES_CLASSPATH_PROPERTY = "org.apache.stanbol.reengineer.web.jersey.static.classpath";
+
+ @Property(value = "/META-INF/templates")
+ public static final String FREEMARKER_TEMPLATE_CLASSPATH_PROPERTY = "org.apache.stanbol.reengineer.web.jersey.templates.classpath";
+
+ @Reference
+ HttpService httpService;
+
+ @Reference
+ Reengineer semionReengineer;
+
+ @Reference
+ ReengineerManager reengineeringManager;
+
+ protected ServletContext servletContext;
+
+ public Dictionary<String, String> getInitParams() {
+ // pass configuration for Jersey resource
+ // TODO: make the list of enabled JAX-RS resources and providers
+ // configurable using an OSGi service
+ Dictionary<String, String> initParams = new Hashtable<String, String>();
+ initParams.put("javax.ws.rs.Application",
+ JerseyEndpointApplication.class.getName());
+
+ // make jersey automatically turn resources into Viewable models and
+ // hence lookup matching freemarker templates
+ initParams.put("com.sun.jersey.config.feature.ImplicitViewables",
+ "true");
+ return initParams;
+ }
+
+ protected void activate(ComponentContext ctx) throws IOException,
+ ServletException, NamespaceException {
+
+ // register the JAX-RS resources as a servlet under configurable alias
+ ServletContainer container = new ServletContainer();
+ String alias = (String) ctx.getProperties().get(ALIAS_PROPERTY);
+ String staticUrlRoot = (String) ctx.getProperties().get(
+ STATIC_RESOURCES_URL_ROOT_PROPERTY);
+ String staticClasspath = (String) ctx.getProperties().get(
+ STATIC_RESOURCES_CLASSPATH_PROPERTY);
+ String freemakerTemplates = (String) ctx.getProperties().get(
+ FREEMARKER_TEMPLATE_CLASSPATH_PROPERTY);
+
+ log.info("Registering servlets with HTTP service "
+ + httpService.toString());
+ ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
+ Thread.currentThread().setContextClassLoader(
+ getClass().getClassLoader());
+ try {
+ httpService.registerServlet(alias, container, getInitParams(), null);
+ httpService.registerResources(staticUrlRoot, staticClasspath, null);
+ } finally {
+ Thread.currentThread().setContextClassLoader(classLoader);
+ }
+
+ // forward the main KReS OSGi components to the servlet context so that
+ // they can be looked up by the JAX-RS resources
+ servletContext = container.getServletContext();
+ servletContext.setAttribute(BundleContext.class.getName(),
+ ctx.getBundleContext());
+ servletContext.setAttribute(Reengineer.class.getName(),
+ semionReengineer);
+
+// servletContext.setAttribute(LinkDiscovery.class.getName(),
+// linkDiscovery);
+ servletContext.setAttribute(ReengineerManager.class.getName(),
+ reengineeringManager);
+
+ servletContext.setAttribute(STATIC_RESOURCES_URL_ROOT_PROPERTY,
+ staticUrlRoot);
+ servletContext.setAttribute(
+ ViewProcessorImpl.FREEMARKER_TEMPLATE_PATH_INIT_PARAM,
+ freemakerTemplates);
+
+ log.info("Jersey servlet registered at {}", alias);
+ }
+
+ protected void deactivate(ComponentContext ctx) {
+ log.info("Deactivating jersey bundle");
+ String alias = (String) ctx.getProperties().get(ALIAS_PROPERTY);
+ httpService.unregister(alias);
+ servletContext = null;
+ }
+
+
+ protected void bindHttpService(HttpService httpService) {
+ this.httpService = httpService;
+ }
+
+ protected void unbindHttpService(HttpService httpService) {
+ this.httpService = null;
+ }
+
+}
Added: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpointApplication.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpointApplication.java?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpointApplication.java (added)
+++ incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JerseyEndpointApplication.java Fri Apr 1 13:01:38 2011
@@ -0,0 +1,49 @@
+package org.apache.stanbol.reengineer.web;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import javax.ws.rs.core.Application;
+
+import org.apache.stanbol.kres.jersey.processors.ViewProcessorImpl;
+import org.apache.stanbol.kres.jersey.writers.GraphWriter;
+import org.apache.stanbol.owl.web.OWLOntologyWriter;
+import org.apache.stanbol.kres.jersey.writers.ResultSetWriter;
+
+/**
+ * Statically define the list of available resources and providers to be used by the KReS JAX-RS Endpoint.
+ *
+ * The jersey auto-scan mechanism does not seem to work when deployed through OSGi's HttpService
+ * initialization.
+ *
+ * In the future this class might get refactored as an OSGi service to allow for dynamic configuration and
+ * deployment of additional JAX-RS resources and providers.
+ *
+ * @author andrea.nuzzolese
+ */
+
+public class JerseyEndpointApplication extends Application {
+
+ @Override
+ public Set<Class<?>> getClasses() {
+ Set<Class<?>> classes = new HashSet<Class<?>>();
+
+ classes.add(ReengineerResource.class);
+
+ // message body writers
+ classes.add(GraphWriter.class);
+ classes.add(ResultSetWriter.class);
+ // classes.add(OwlModelWriter.class);
+ classes.add(OWLOntologyWriter.class);
+ return classes;
+ }
+
+ @Override
+ public Set<Object> getSingletons() {
+ Set<Object> singletons = new HashSet<Object>();
+ // view processors
+ singletons.add(new ViewProcessorImpl());
+ return singletons;
+ }
+
+}
Added: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JettyServer.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JettyServer.java?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JettyServer.java (added)
+++ incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/JettyServer.java Fri Apr 1 13:01:38 2011
@@ -0,0 +1,96 @@
+package org.apache.stanbol.reengineer.web;
+
+import java.net.URI;
+import java.util.Dictionary;
+import java.util.Enumeration;
+
+import org.mortbay.jetty.Server;
+import org.mortbay.jetty.servlet.Context;
+import org.mortbay.jetty.servlet.ServletHolder;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.sun.jersey.spi.container.servlet.ServletContainer;
+
+/**
+ * Standalone (OSGi independent) Jetty-based server with the KReS Jersey
+ * endpoint. The OSGi component need be injected manually to the ServletContext
+ * to make them available to the resources.
+ *
+ * This class is mainly useful for testing the JAX-RS resources without faking a
+ * complete OSGI runtime.
+ *
+ * For seamless OSGi deployments the JerseyEndpoint component should be
+ * automatically registered in the container and registers the JAXRS resources
+ * automatically.
+ *
+ * @author andrea.nuzzolese
+ */
+public class JettyServer {
+
+ private final Logger log = LoggerFactory.getLogger(getClass());
+
+ public static String DEFAUL_BASE_URI = "http://localhost:9998/";
+
+ protected Server server = new Server();
+
+ private Context context;
+
+ public void start(String baseUri) throws Exception {
+ log.info("starting the Jetty / Jersey endpoint");
+ ServletHolder servletHolder = new ServletHolder(ServletContainer.class);
+ Dictionary<String, String> initParams = new JerseyEndpoint().getInitParams();
+ Enumeration<String> keys = initParams.keys();
+ while (keys.hasMoreElements()) {
+ String key = keys.nextElement();
+ servletHolder.setInitParameter(key, initParams.get(key));
+ }
+
+ URI uri = new URI(baseUri);
+ // restart any previous server instance while keeping the previous
+ // attribute settings
+ if (server.isRunning()) {
+ server.stop();
+ }
+ server = new Server(uri.getPort());
+ context = new Context(server, "/", Context.SESSIONS);
+ context.addServlet(servletHolder, "/*");
+ server.start();
+ }
+
+ public void stop() throws Exception {
+ log.info("stopping the Jetty / Jersey endpoint");
+ server.stop();
+ }
+
+ public void setAttribute(String name, Object value) {
+ if (context != null) {
+ context.getServletContext().setAttribute(name, value);
+ }
+ }
+
+ public Object getAttribute(String name) {
+ if (context != null) {
+ return context.getServletContext().getAttribute(name);
+ }
+ return null;
+ }
+
+ public void removeAttribute(String name) {
+ if (context != null) {
+ context.getServletContext().removeAttribute(name);
+ }
+ }
+
+ /**
+ * For starting manually.
+ */
+ public static void main(String[] args) throws Exception {
+ JettyServer server = new JettyServer();
+ server.start(DEFAUL_BASE_URI);
+ System.out.println("Hit enter to stop it...");
+ System.in.read();
+ server.stop();
+ }
+
+}
\ No newline at end of file
Added: incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/ReengineerResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/ReengineerResource.java?rev=1087691&view=auto
==============================================================================
--- incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/ReengineerResource.java (added)
+++ incubator/stanbol/trunk/reengineer/web/src/main/java/org/apache/stanbol/reengineer/web/ReengineerResource.java Fri Apr 1 13:01:38 2011
@@ -0,0 +1,288 @@
+package org.apache.stanbol.reengineer.web;
+
+import java.io.InputStream;
+import java.util.Collection;
+
+import javax.servlet.ServletContext;
+import javax.servlet.http.HttpServletRequest;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.FormParam;
+import javax.ws.rs.GET;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.Context;
+import javax.ws.rs.core.HttpHeaders;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.clerezza.rdf.core.Literal;
+import org.apache.clerezza.rdf.core.LiteralFactory;
+import org.apache.clerezza.rdf.core.MGraph;
+import org.apache.clerezza.rdf.core.UriRef;
+import org.apache.clerezza.rdf.core.access.TcManager;
+import org.apache.clerezza.rdf.core.impl.SimpleMGraph;
+import org.apache.clerezza.rdf.core.impl.TripleImpl;
+import org.apache.stanbol.ontologymanager.ontonet.impl.io.ClerezzaOntologyStorage;
+import org.apache.stanbol.reengineer.base.api.DataSource;
+import org.apache.stanbol.reengineer.base.api.ReengineeringException;
+import org.apache.stanbol.reengineer.base.api.ReengineerManager;
+import org.apache.stanbol.reengineer.base.api.Reengineer;
+import org.apache.stanbol.reengineer.base.api.datasources.DataSourceFactory;
+import org.apache.stanbol.reengineer.base.api.datasources.InvalidDataSourceForTypeSelectedException;
+import org.apache.stanbol.reengineer.base.api.datasources.NoSuchDataSourceExpection;
+import org.apache.stanbol.reengineer.base.api.datasources.RDB;
+import org.apache.stanbol.reengineer.base.api.settings.ConnectionSettings;
+import org.apache.stanbol.reengineer.base.api.settings.DBConnectionSettings;
+import org.apache.stanbol.reengineer.base.api.util.ReengineerType;
+import org.apache.stanbol.reengineer.base.api.util.UnsupportedReengineerException;
+import org.semanticweb.owlapi.model.IRI;
+import org.semanticweb.owlapi.model.OWLOntology;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.sun.jersey.api.view.ImplicitProduces;
+import org.apache.stanbol.kres.jersey.resource.NavigationMixin;
+
+
+@Path("/reengineer")
+@ImplicitProduces("text/html")
+public class ReengineerResource extends NavigationMixin {
+
+
+
+ protected ReengineerManager reengineeringManager;
+ protected TcManager tcManager;
+ protected ClerezzaOntologyStorage storage;
+
+ private final Logger log = LoggerFactory.getLogger(getClass());
+
+
+ public ReengineerResource(@Context ServletContext servletContext) {
+ tcManager = (TcManager) servletContext.getAttribute(TcManager.class.getName());
+ storage = (ClerezzaOntologyStorage) servletContext.getAttribute(ClerezzaOntologyStorage.class.getName());
+ reengineeringManager = (ReengineerManager) (servletContext.getAttribute(ReengineerManager.class.getName()));
+ if (reengineeringManager == null) {
+ throw new IllegalStateException(
+ "ReengineeringManager missing in ServletContext");
+ }
+ }
+
+
+ @POST
+ @Consumes(MediaType.MULTIPART_FORM_DATA)
+ public Response reengineering(
+ @FormParam("output-graph") String outputGraph,
+ @FormParam("input-type") String inputType,
+ @FormParam("input") InputStream input,
+ @Context HttpHeaders headers, @Context HttpServletRequest httpServletRequest){
+
+
+ System.out.println("Reengineering: "+inputType);
+ int reengineerType = -1;
+ try {
+ reengineerType = ReengineerType.getType(inputType);
+ } catch (UnsupportedReengineerException e) {
+ Response.status(404).build();
+ }
+
+ try {
+ DataSource dataSource = DataSourceFactory.createDataSource(reengineerType, input);
+
+ try {
+ OWLOntology ontology;
+ System.out.println("STORE PROVIDER : "+storage);
+ System.out.println("OUTGRAPH: "+outputGraph);
+ String servletPath = httpServletRequest.getLocalAddr();
+ System.out.println("SERVER PATH : "+servletPath);
+ servletPath = "http://"+servletPath+"/kres/graphs/"+outputGraph+":"+httpServletRequest.getLocalPort();
+ if(outputGraph == null || outputGraph.equals("")){
+ ontology = reengineeringManager.performReengineering(servletPath, null, dataSource);
+ return Response.ok().build();
+ }
+ else{
+ ontology = reengineeringManager.performReengineering(servletPath, IRI.create(outputGraph), dataSource);
+
+ storage.store(ontology);
+ return Response.ok(ontology).build();
+ }
+ } catch (ReengineeringException e) {
+ e.printStackTrace();
+ return Response.status(500).build();
+ }
+
+ } catch (NoSuchDataSourceExpection e) {
+ return Response.status(415).build();
+ } catch (InvalidDataSourceForTypeSelectedException e) {
+ return Response.status(204).build();
+ }
+
+ }
+
+
+ @POST
+ @Consumes(MediaType.MULTIPART_FORM_DATA)
+ @Path("/schema")
+ public Response schemaReengineering(
+ @FormParam("output-graph") String outputGraph,
+ @FormParam("input-type") String inputType,
+ @FormParam("input") InputStream input,
+ @Context HttpHeaders headers,
+ @Context HttpServletRequest httpServletRequest){
+
+ int reengineerType = -1;
+ try {
+ reengineerType = ReengineerType.getType(inputType);
+ } catch (UnsupportedReengineerException e) {
+ Response.status(404).build();
+ }
+
+ try {
+ DataSource dataSource = DataSourceFactory.createDataSource(reengineerType, input);
+
+ try {
+ OWLOntology ontology;
+
+ String servletPath = httpServletRequest.getLocalAddr();
+ servletPath = "http://"+servletPath+"/kres/graphs/"+outputGraph+":"+httpServletRequest.getLocalPort();
+ if(outputGraph == null){
+ ontology = reengineeringManager.performSchemaReengineering(servletPath, null, dataSource);
+ return Response.ok().build();
+ }
+ else{
+ ontology = reengineeringManager.performSchemaReengineering(servletPath, IRI.create(outputGraph), dataSource);
+ return Response.ok(ontology).build();
+ }
+ } catch (ReengineeringException e) {
+ return Response.status(500).build();
+ }
+
+ } catch (NoSuchDataSourceExpection e) {
+ return Response.status(415).build();
+ } catch (InvalidDataSourceForTypeSelectedException e) {
+ return Response.status(204).build();
+ }
+
+ }
+
+
+
+ @GET
+ @Path("/reengineers")
+ public Response listReengineers(@Context HttpHeaders headers){
+ Collection<Reengineer> reengineers = reengineeringManager.listReengineers();
+ MGraph mGraph = new SimpleMGraph();
+ UriRef semionRef = new UriRef("http://semion.kres.iksproject.eu#Semion");
+ for(Reengineer semionReengineer : reengineers){
+ UriRef hasReengineer = new UriRef("http://semion.kres.iksproject.eu#hasReengineer");
+ Literal reenginnerLiteral = LiteralFactory.getInstance().createTypedLiteral(semionReengineer.getClass().getCanonicalName());
+ mGraph.add(new TripleImpl(semionRef, hasReengineer, reenginnerLiteral));
+ }
+
+ return Response.ok(mGraph).build();
+ }
+
+
+ @GET
+ @Path("/reengineers/count")
+ public Response countReengineers(@Context HttpHeaders headers){
+
+ return Response.ok(reengineeringManager.countReengineers()).build();
+ }
+
+
+
+ @POST
+ @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
+ @Path("/db/schema")
+ public Response reengineeringDBSchema(
+ @FormParam("output-graph") String outputGraph,
+ @FormParam("db") String physicalDBName, @FormParam("jdbc") String jdbcDriver,
+ @FormParam("protocol") String protocol, @FormParam("host") String host,
+ @FormParam("port") String port, @FormParam("username") String username, @FormParam("password") String password,
+ @Context HttpHeaders headers,
+ @Context HttpServletRequest httpServletRequest){
+
+
+ log.info("There are " + tcManager.listMGraphs().size() + " mGraphs");
+ System.out.println("There are " + tcManager.listMGraphs().size() + " mGraphs");
+
+ //UriRef uri = ContentItemHelper.makeDefaultUri(databaseURI, databaseURI.getBytes());
+ ConnectionSettings connectionSettings = new DBConnectionSettings(protocol, host, port, physicalDBName, username, password, null, jdbcDriver);
+ DataSource dataSource = new RDB(connectionSettings);
+
+ String servletPath = httpServletRequest.getLocalAddr();
+ servletPath = "http://"+servletPath+"/kres/graphs/"+outputGraph+":"+httpServletRequest.getLocalPort();
+
+ if(outputGraph != null && !outputGraph.equals("")){
+ OWLOntology ontology;
+ try {
+ ontology = reengineeringManager.performSchemaReengineering(servletPath, IRI.create(outputGraph), dataSource);
+ /*MediaType mediaType = headers.getMediaType();
+ String res = OntologyRenderUtils.renderOntology(ontology, mediaType.getType());*/
+ return Response.ok(ontology).build();
+ } catch (ReengineeringException e) {
+ return Response.status(500).build();
+ }
+ }
+ else{
+ try {
+ reengineeringManager.performSchemaReengineering(servletPath, null, dataSource);
+ return Response.ok().build();
+ } catch (ReengineeringException e) {
+ return Response.status(500).build();
+ }
+ }
+
+
+ }
+
+
+ @POST
+ @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
+ @Path("/db")
+ public Response reengineeringDB(
+ @QueryParam("db") String physicalDBName, @QueryParam("jdbc") String jdbcDriver,
+ @QueryParam("protocol") String protocol, @QueryParam("host") String host,
+ @QueryParam("port") String port, @QueryParam("username") String username, @QueryParam("password") String password,
+ @QueryParam("output-graph") String outputGraph,
+ @Context HttpHeaders headers,
+ @Context HttpServletRequest httpServletRequest){
+
+
+ log.info("There are " + tcManager.listMGraphs().size() + " mGraphs");
+ System.out.println("There are " + tcManager.listMGraphs().size() + " mGraphs");
+
+ //UriRef uri = ContentItemHelper.makeDefaultUri(databaseURI, databaseURI.getBytes());
+ ConnectionSettings connectionSettings = new DBConnectionSettings(protocol, host, port, physicalDBName, username, password, null, jdbcDriver);
+ DataSource dataSource = new RDB(connectionSettings);
+
+ String servletPath = httpServletRequest.getLocalAddr();
+ servletPath = "http://"+servletPath+"/kres/graphs/"+outputGraph+":"+httpServletRequest.getLocalPort();
+
+ if(outputGraph != null && !outputGraph.equals("")){
+ OWLOntology ontology;
+ try {
+ ontology = reengineeringManager.performReengineering(servletPath, IRI.create(outputGraph), dataSource);
+ return Response.ok(ontology).build();
+ } catch (ReengineeringException e) {
+ return Response.status(500).build();
+ }
+
+ }
+ else{
+ try {
+ reengineeringManager.performReengineering(servletPath, null, dataSource);
+ return Response.ok().build();
+ } catch (ReengineeringException e) {
+ return Response.status(500).build();
+ }
+ }
+
+
+ }
+
+
+
+
+}
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:01:38 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/add.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/add.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/add.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/addRule.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/addRule.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/addRule.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/ajax-loader.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/ajax-loader.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/ajax-loader.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/anonymous_48.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/anonymous_48.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/anonymous_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_128.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_128.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_128.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_16.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_16.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/black_gear_16.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/caos_puzzle.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/caos_puzzle.jpg?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/caos_puzzle.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_48.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_48.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_map_48.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_map_48.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/compass_map_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/configure.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/configure.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/configure.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/delete.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/delete.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/delete.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download_rdf.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download_rdf.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/download_rdf.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/external.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/external.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/external.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-black.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-black.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-black.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-sw.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-sw.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon-sw.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/favicon.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_cropped.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_cropped.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_cropped.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white_small.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white_small.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/fise_logo_white_small.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_folded.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_folded.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_folded.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_unfolded.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_unfolded.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/foldable_unfolded.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/header_bg.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/header_bg.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/header_bg.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/iks_project_logo.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/iks_project_logo.jpg?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/iks_project_logo.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogo.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogo.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogoExtended.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogoExtended.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/kresLogoExtended.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/loading.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/loading.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/loading.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/next.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/next.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/next.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/organization_48.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/organization_48.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/organization_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/previous.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/previous.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/previous.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer.64.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer.64.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer.64.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_16.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_16.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_16.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_24.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_24.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rdf_flyer_24.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rules.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rules.gif?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/rules.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.jpg?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/stlabLogo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/sw-cube.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/sw-cube.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/sw-cube.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/user_48.png
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/web/src/main/resources/META-INF/static/images/user_48.png?rev=1087691&view=auto
==============================================================================
Binary file - no diff available.