Customization of TEI Frameworks Using the Latest Sources

The TEI P4 and TEI P5 frameworks are available as a public project at the following SVN repository: https://github.com/TEIC/oxygen-tei. This project is the base for customizing a TEI framework.

To customize a TEI framework, follow this procedure:

  1. Check out the project on a local computer from the SVN repository.
    This action is done with an SVN client application that creates a working copy of the SVN repository on a local computer.
  2. Customize the TEI framework in Oxygen XML Developer plugin.
    1. Set the Oxygen XML Developer plugin frameworks folder to the oxygen/frameworks subfolder of the folder of the SVN working copy.
      Open the Preferences dialog box , go to Global, and set the path of the SVN working copy in the Use custom frameworks option.
    2. Open the Preferences dialog box , go to Document Type AssociationLocations, and select Custom.
  3. Build a jar file with the TEI framework.
    The SVN project includes a build.xml file that can be used for building a jar file using the Ant tool. The command that should be used:
    ant -f build.xml
  4. Distribute the jar file to the users that need the customized TEI framework.
    The command from the above step creates a file tei.zip in the dist subfolder of the SVN project. Each user that needs the customized TEI framework will receive the tei.zip file and will unzip it in the frameworks folder of the Oxygen XML Developer plugin install folder.

Was this helpful?