# Torque Source code management

The Torque source code is located inside the Apache Software Foundation's subversion repository. If you have never worked with Subversion before, please take a look at the free subversion book and also at Source code repositories at the Apache Software Foundation to get more information.

# The Torque repository

## Torque Repository Structure

Torque 3 releases were in db/torque, Torque 4 and 5 (development history) is in /torque/torque4. The base directory of current develoment again now is in db/torque. The main branch is located in the trunk subdirectory of that directory. The layout is:

          trunk/
          <root> 				<--- contains the maven parent project and files
                                    common to all modules.
          torque-runtime       <--- contains the runtime module
          torque-generator     <--- contains the generator module
          torque-templates     <--- contains the generator templates module
          torque-maven-plugin  <--- contains the maven plugin module
          maven-ant-tasks      <--- contains the ant tasks module
          torque-test          <--- contains the test module
          torque-site          <--- contains the sources of the homepage

## Torque Developer Modules (new releases)

Torque contains the following modules:

Module | Trunk repository location
--- | ---
Runtime | http://svn.apache.org/repos/asf/db/torque/trunk/torque-runtime
Generator | http://svn.apache.org/repos/asf/db/torque/trunk/torque-generator
Templates | http://svn.apache.org/repos/asf/db/torque/trunk/torque-templates
Maven Plugin | http://svn.apache.org/repos/asf/db/torque/trunk/torque-maven-plugin
Ant Tasks | http://svn.apache.org/repos/asf/db/torque/trunk/maven-ant-tasks
Site | http://svn.apache.org/repos/asf/db/torque/trunk/torque-site
Test Project | http://svn.apache.org/repos/asf/db/torque/trunk/torque-test

## Torque 4 and 5 Module Releases

This has been the trunk for Torque 4 and 5 development ans is now historical. The current development trunk is now in http://svn.apache.org/repos/asf/db/torque//trunk/, see above.

Module | Trunk repository location
--- | ---
Runtime | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-runtime
Generator | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-generator
Templates | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-templates
Maven Plugin | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-maven-plugin
Ant Tasks | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/maven-ant-tasks
Site | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-site
Maven Parent | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-maven-parent
Test Project | http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-test

## Runtime, Generator, Templates, Maven 2 Plugin, Ant Tasks

These modules make up the main torque distribution. Tags and Branches are the same for all modules and are located in the directories `db/torque/tags` , `db/torque/branches`, and for 4 and 5.0 releases `db/torque/torque4/tags` and `db/torque/torque4/branches`.

## Maven Root (Parent)

The maven root module contains files that are needed in all main modules of the Torque source tree.

## Test Project

The test project is used by Torque developers to test the functionality of Torque. See the test guide for an explanation of how to run the tests.

## Site

The Torque site contains the information global to all Torque releases such as main navigation, download page or the page you're currently reading.