***** Sample Data Generation *****
The following file provides a brief description of the steps involved in
performing data generation to a CSV file. For more examples,
refer to the "custom" and "samples" directories in the distribution package.
Please contact support@thinkui.com if you have any questions or comments.
***** SETUP *****
Download and install the ThinkUI Data Generator software (version 1.0.0 or later).
Follow the instructions in the README.TXT and verify that you are able to access your database.
***** STEPS *****
To perform data generation via Ant, please follow the following steps:
1. Define the classpath in Ant.
e.g.
Tip: You may need to add your the JDBC jar file for your database to the path.
2. Define the custom Data Generator Generate Ant Task to generate data.
e.g.
3. Define the "datagen" task to generate data.
The writer element is used to specify where the generated data should be written.
The attribute and corresponding generator element is used to specify what data values to generate.
e.g.
4. Invoke your Ant build.xml file as follows:
e.g.
C:\Program Files\ThinkUI\DataGenerator\samples>ant -f sample_build.xml
5. The generated data are found in the "output" directory or is written directly to the target database.
If no target file or database has been configured, the output will be displayed to stdout.