jcmdline Developer Info

Introduction
Running a Single UT
Releasing a New Version of jcmdline

[toc]

Introduction

This document contains information for developers working on the jcmdline package. It is not too complete a document, but will be added to as necessary. This project is hosted on SourceForge. Any work on this project should be done from a CVS copy of the source files.

[toc]

Running a Single UT

To run a single unit test, the "ant utone" target can be used.

Alternately, it is sometimes simpler to just run from the command line and see the output. An environment file, jcmdline.env, can be sourced into the user's environment (might want to modify this to suit your environment). A unit test may then be run from the command line:

java jcmdline/StringParam_UT
or even a single test within the UT:
java jcmdline/StringParam_UT testMaxLength
A list of tests within a UT file can be obtained with the -help option:
java jcmdline/StringParam_UT -help

[toc]

Releasing a New Version of jcmdline

These are the current notes for releasing a new version of the jcmdline package. At some point it would be nice to have ant do more of this automatically, but since the process is still being experimented with, I am leaving much of it manual. To release a new version of the package: