This tutorial explains where to get Cactus samples and how to use
them.
本チュートリアルでは Cactus のサンプルの場所と使い方について説明します。
There are some samples available as part of the documentation. The
samples depend on the kind of test case you are writing (Servlet,
Taglibs, Filters, ...). For this reason you'll find some samples
in the TestCase Howto
tutorial.
ドキュメントの一部としてサンプルが幾つかあります。
そのサンプルは自分が書こうとしているテストケースの種類によります。
(サーブレット,タグライブラリ,フィルター、など)
こうした理由から、
TestCase Howto
に幾つかサンプルがあります。
However, the majority of Cactus samples are in the form of source
samples. These samples are part of the Cactus distribution that
you have downloaded (in the sample/src directory).
しかしながら、Cactus のサンプルの多くはサンプルソースの形式になっています。
これらのサンプルはダウンロードした Cactus ディストリビューションの一部となっています。
(sample/src ディレクトリにあります。)
The following section explains how to execute the Cactus Samples
using Ant (the Samples are packaged to be executed with Ant).
If you wish to integrate them in your own build system or in your
favorite IDE, you'll have to understand the principles first and
manually install them (read the
Getting Started
and the Configuration Howto
tutorials). Some detailed explanations for IDE integration
are also available in the IDE Howto
tutorial.
次節では、Ant を使って Cactus のサンプルをどのように実行するか説明します。
(サンプルは Ant で実行されるようにパッケージ化されています)
サンプルを自分のビルドシステムや好みのIDEと統合したい場合には、
その原理を先に理解し、マニュアルによりインストールしなければなりません。
(Getting Started および
Configuration Howto を読んでください)
IDE との統合に関する詳しい情報は
IDE Howto チュートリアルにもあります。