Datastore Developers Guide
The build structures
previous :: contents :: next

Back to > Overview > Developers Guide

The build structures

Authors:
Szabo Csaba <crow@nolimits.ro>
Antal Attila <atech@nolimits.ro>
Table of Contents
1. Introduction
2. Using Ant
3. Targets
    3.1. The most general step
    3.2. Compiling
    3.3. Generating the packages
    3.4. Helper applications
    3.5. Documentation
    3.6. Testing
    3.7. Cleaning
    3.8. Distribution
4. Documentation
    4.1. XML
    4.2. Styles


1. Introduction

For building all types of applications, and to save a lot of time for this, we using an entire building application named Ant. In the $DATASTORE_HOME/tools/bin/ directory you can find this utility, on the other hand in the directory $DATASTORE_HOME/tools/lib/ you can find the packages for Ant.

top

2. Using Ant

In the base of the build staying a build.xml file. This file contains groups (targets) of commands. Those commands executes all things for build a needed application

Launching the build is very simple, only type in the command line the following:

What's mean the target you can see in the following chapter.

When you want to make build under Windows 98 you may get an error message: Out of environment space. To resolve this problem you must edit the config.sys file and put in the following line:

Where the WINDIR is the Windows directory (ex. c:\windows)

top

3. Targets

3.1. The most general step

This step to execute the build is sufficient for full functionality.

top

3.2. Compiling

This steps only compiles the source codes.

top

3.3. Generating the packages

Here we have two special steps, other than jar, for obtaining the special Avalon packages.

top

3.4. Helper applications

DataStore have some client applications to administer the database and working with data. Other applications is the examples, which showing some ways to connect to DataStore server.

top

3.5. Documentation

Steps to generate different documentations.

top

3.6. Testing

Run the unit test, and you have problems the build is breaking down. For informations consult the log file from the logs directory

top

3.7. Cleaning

You make changes but is not taking effect, the problem is you need to clean the old builds.

top

3.8. Distribution

Making distributions you can get all. Remember: before this run the tests.

top

4. Documentation

4.1. XML

top

4.2. Styles

top


© 2001