XDB
xDB est une base de données XML éditée par EMC. Celle ci contient une notion de répertoire, document, utilisateurs, groupes.
Documentations Les documentations sont déployées lors de l'installation du produit. Elles ont été déployées sur cette machine aux adresses:
La documentation du manuel, installée sur cette machine, été modifiée car elle présentait des erreurs sur les liens. En regardant les traces Apache, de nombreuses erreurs d'accès sont observées, et des URLs sont mal formatées.
Installation
Dépendances
Librairie | Version | Licence |
---|---|---|
Ant | 1.8.1 | Apache License Version 2.0 |
ANTLR | 3.1.3 | BSD license |
AspectJ | 1.6.7.a | EPL V1.0 |
FOP | 0.95 | Apache License Version 2.0 |
Google Collections | 1.0 | Apache License Version 2.0 |
ICU | 4.4.1 | ICU License |
Lucene | 3.0.1 | Apache License Version 2.0 |
Xalan | 2.7.1 | Apache License Version 2.0 |
XMLBeans | 2.5.0 | Apache License Version 2.0 |
Xerces2 | 2.9.1 | Apache License Version 2.0 |
Jline | 0.9.94 | BSD license |
Spring Framework | 2.5.6.SEC01 | Apache License Version 2.0 |
Un fichier pom.xml
, dans le sous répertoire docs
(du répertoire d'installation) est fourni pour décrire ces dépendances
<?xml version="1.0" encoding="UTF-8"?>
<!--
Maven 2 POM describing xDB and its dependencies.
Install using
mvn install:install-file -DpomFile=pom.xml -Dfile=path/to/xhive.jar
If you want to include JavaDocs, first create a jar of the JavaDocs directory. Assuming you are
in your xDB installation directory (replace / with \ on Windows):
cd docs/apidocs
jar cf ../../xhive-javadocs.jar *
cd ../..
mvn install:install-file -DpomFile=pom.xml -Dfile=lib/xhive.jar -Djavadoc=xhive-javadocs.jar
rm xhive-javadocs.jar
Afterwards, you can easily add a dependency on xDB to your projects like this:
<dependency>
<groupId>com.xhive</groupId>
<artifactId>xdb</artifactId>
<version> ... the version ... </version>
</dependency>
Note that some of the libraries referenced through dependencies are actually older than the ones
that ship with xDB. This should not be a problem, but when newer libraries are available in the
Maven repositories, these should be upgraded.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xhive</groupId>
<artifactId>xdb</artifactId>
<version>xDB 10.0.0</version>
<name>xDB</name>
<packaging>jar</packaging>
<profiles>
<profile>
<id>jdk-1.6</id>
<activation>
<jdk>1.6</jdk>
</activation>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.1.3</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.8</version>
</dependency>
<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>fop</artifactId>
<version>0.95</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>0.9.94</version>
</dependency>
</dependencies>
</project>
Pour l'installation en local sur un poste Windows, l'enchaînement des commandes est le suivant (une petite erreur s'est glissée dans la documentation du pom):
cd docs\apidocs jar.exe cf ../../xhive-javadocs.jar * cd ../.. mvn install:install-file -DpomFile=docs\pom.xml -Dfile=lib\xhive.jar -Djavadoc=xhive-javadocs.jar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [install:install-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [install:install-file {execution: default-cli}] [INFO] Installing E:\APPS\xDB\lib\xhive.jar to E:\APPS\apache-maven-2.2.1\repository\com\xhive\xdb\xDB 10.0.0\xdb-xDB 10.0.0.jar [INFO] Installing E:\APPS\xDB\docs\pom.xml to E:\APPS\apache-maven-2.2.1\repository\com\xhive\xdb\xDB 10.0.0\xdb-xDB 10.0.0.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Sun Oct 24 17:31:45 CEST 2010 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------