Skip to content

Commit

Permalink
Exist Packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed May 27, 2015
1 parent 2f1f51c commit 6886fad
Show file tree
Hide file tree
Showing 680 changed files with 113 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Canonical - Latin Literature
=========

This will be the base repo for all text and annotation data published in the PDL

Tufts University holds the overall copyright to the Perseus Digital Library; the materials therein
(including all texts, translations, images, descriptions, drawings, etc.) are provided for the
personal use of students, scholars, and the public.

Materials within the Perseus DL have varying copyright status: please contact the project for more information
about a specific component or object. Copyright is protected by the copyright laws of the United States and
the Universal Copyright Convention.

Unless otherwise indicated, all contents of this repository are licensed under a
Creative Commons Attribution-ShareAlike 3.0 United States License. You must offer Perseus
any modifications you make. Perseus provides credit for all accepted changes.

# Installing on exist-db

- Install `ant`
- Run `ant` at the root of this repository.
- In the package manager of your existDB install, select your .xar file and upload it.
- You have now the Perseus Canonical Latin Lit installed in your repository.
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="xar" name="canonical-latinLit">
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="canonical-latinLit"/>
<property name="build.dir" value="build"/>
<target name="xar">
<mkdir dir="${build.dir}"/>
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="${build.dir}/*"/>
</target>
</project>
27 changes: 27 additions & 0 deletions collection.xconf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ti="http://chs.harvard.edu/xmlns/cts">
<fulltext default="none" attributes="false"/>
<lucene>
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer">
<param name="stopwords" type="org.apache.lucene.analysis.util.CharArraySet"/>
</analyzer>
<text qname="tei:div"/>
<text qname="tei:div1"/>
<text qname="tei:div2"/>
<text qname="tei:sp"/>
<text qname="tei:lg"/>
<text qname="tei:l"/>
<text qname="tei:body"/>
<ignore qname="note"/>
<ignore qname="tei:note"/>
</lucene>
<range>
<create qname="tei:l" type="xs:string" case="no"/>
<create qname="tei:div" type="xs:string"/>
<create qname="tei:div1" type="xs:string"/>
<create qname="tei:div2" type="xs:string"/>
<create qname="tei:body" type="xs:string"/>
<create qname="@n" type="xs:string"/>
</range>
</index>
</collection>
5 changes: 5 additions & 0 deletions expath-pkg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="https://github.com/PerseusDL/canonical-latinLit" abbrev="canonical-latinLit" version="0.1" spec="1.0">
<title>Canonical Latin Literature</title>
<dependency package="http://exist-db.org/apps/shared"/>
</package>
Loading

0 comments on commit 6886fad

Please sign in to comment.