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:
- 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.
- Customize the TEI framework in Oxygen XML Editor plugin.
- Set the Oxygen XML Editor plugin
frameworks
folder to theoxygen/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. - Open the Preferences dialog box , go to , and select Custom.
- Set the Oxygen XML Editor plugin
- 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
- 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 thedist
subfolder of the SVN project. Each user that needs the customized TEI framework will receive thetei.zip
file and will unzip it in theframeworks
folder of the Oxygen XML Editor plugin install folder.