Locked History Actions

Diff for "TeiAPI"

Differences between revisions 12 and 13
Revision 12 as of 2012-05-07 16:49:06
Size: 974
Editor: MichalLenart
Comment:
Revision 13 as of 2012-05-07 16:50:12
Size: 1108
Editor: MichalLenart
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:

=== Without Maven ===

Add this jar to your classpath: http://chopin.ipipan.waw.pl/~mlenart/maven2/ipipan/teiapi/1.0-SNAPSHOT/teiapi-1.0-SNAPSHOT.jar

Line 47: Line 53:

=== Without Maven ===

TEI API

This page describes TeiAPI - a java library for parsing NKJP-compatible TEI P5 files.

Usage

Without Maven

Add this jar to your classpath: http://chopin.ipipan.waw.pl/~mlenart/maven2/ipipan/teiapi/1.0-SNAPSHOT/teiapi-1.0-SNAPSHOT.jar

With Maven

In your pom.xml file:

  • add repository information:

   1 <repositories>
   2 
   3   <repository>
   4   ...
   5   </repository>
   6 
   7   <repository>
   8     <releases>
   9       <enabled>true</enabled>
  10       <updatePolicy>always</updatePolicy>
  11       <checksumPolicy>fail</checksumPolicy>
  12     </releases>
  13     <id>mlenart</id>
  14     <name>mlenart</name>
  15     <url>http://chopin.ipipan.waw.pl/~mlenart/maven2</url>
  16     <layout>default</layout>
  17   </repository>
  18 
  19 </repositories>
  • and dependency information:

   1 <dependencies>
   2  ...
   3  <dependency>
   4   <groupId>ipipan</groupId>
   5   <artifactId>teiapi</artifactId>
   6   <version>1.0-SNAPSHOT</version>
   7  </dependency>
   8 
   9 </dependencies>

More complicated real-life example file: pom.xml