wiki:build

Building TNTBase from source

The root of the TNTBase SVN repository is  https://svn.tntbase.org/repos/tntbase. You may choose from one of releases under releases or trunk

Note: TNTBase is a research software, so building it on your machine might require some efforts.

xSVN

The most challenging part is to build xSVN. Its building instructions can be found in the INSTALL file in the root of TNTBase sources. You can explore the trunk version here. These instructions have been written mostly for developers. So if you don't understand something or have any problems, don't hesitate to contact  Vyacheslav Zholudev

Building Java components and Deploying

These instructions assume that you have TNTBase checked out under /TNTBase directory. Building Java components require some initial configuration

  1. In /TNTBase/DbXmlAccessLib create file build.properties. It can be created from build.properties.template. All fields are self-explanatory.
  2. In the /TNTBase/DbXmlAccessLib folder run ant deploy.to.tntreader and afterwards ant deploy.to.tomcat. The latter step is needed for deploying DB XML libraries to global Tomcat directory, since they should be global for all Tomcat applications
  3. Go to folder /TNTBase/TntClient and repeat step 1. Then run ant copy.to.tntreader
  4. Go to folder /TNTBase/TntReader and repeat step 1. Then run ant.deploy. Script init-tntbase may be adapted afterwards for deploying multiple instances of TNTBase.