Torque Directory Structure

Here is what the Torque directory structure looks like in CVS:

    jakarta-turbine-torque/
      examples/       <--- example schema and config files
      profile/        <--- testing profiles
      src/            <--- sources
        conf/         <--- runtime configuration
        dtd/          <--- DTD for schema.xml files
        generator/    <--- home of torque-gen
        java/         <--- java sources
        rttest/       <--- sources for the runtime tests
        schema/       <--- needed schema files (IDBroker)
        templates/    <--- templates for sql- and om- generation
        test/         <--- junit tests
      xdocs/          <--- docs in anakia xml format
      

Building

Building Torque from CVS is now very easy because it has been Maven-enabled. Before you begin, you'll need to check out the db-torque CVS repository (if you are not familiar with the Apache CVS repositories, please refer to the documentation ).

maven java:jar builds the jar.

Please refer to the Maven Getting Started document for instructions on how to build the project using Maven.

Testing

You must define a profile in your ${user.home}/build.properties file

    torque.testProfile=profile/oracle.profile
      

Edit the profile to match your database settings. To start the runtime tests simply type:

    maven runtime:test
      

Please report any problems to the turbine-dev mailing list.