Changes

Last update : July 6 2002
Doc for : v1.3

Cactusについて
  • Cactus とは
  • ニュース
  • 変更履歴
  • 特徴/開発状況
  • 目標
  • ロードマップ/ToDo
  • 協力者
  • 協力者募集
  • Cactus ユーザ
  • テスト済環境 ...
  • ライセンス


  • ダウンロード
  • ダウンロード


  • ドキュメント
  • Cactus の仕組み
  • さぁ始めよう
  • モック対コンテナ
  • Javadocs
  • └Javadocs
  • よくある質問


  • Howto ガイド
  • クラスパス Howto
  • 設定 Howto
  • アップグレードHowto
  • テストケース Howto
  • セキュリティHowto
  • Ant Howto
  • HttpUnit Howto
  • サンプル Howto
  • EJB Howto
  • IDE Howto
  • JUnitEE Howto


  • サポート
  • Bug DB
  • メーリングリスト


  • その他
  • 名前の由来
  • ロゴコンテスト
  • 参考文献
  • アクセス状況
  • └WebAlizer


  • 開発者向け
  • CVS
  • コード規約
  • ビルドの結果



  • 最近15日間のウェブサイトの変更/Last 15 days web site changes

    These are the changes that happened to the Cactus web site for the past 15 days since the last site update (excluding the todo and changes pages which are modified too often) :

    (頻繁に変更されるTodoおよび変更履歴のページを除き) Cactus ウェブサイトで最近 15 日間で行われた変更をここにまとめます :

    2002-04-21  howto_security  セキュリティチュートリアル完了/Finished security tutorial 
    2002-04-21  news  リリース準備/prepare for release ... 
    2002-04-21  testedon  コンテナに関する既知の問題の節を追加/added a section for known issues with containers 
    2002-04-21  testedon  結果を追加/even more tests ... 
    2002-04-21  testedon  more tests 
    2002-04-21  testedon  J2EE 1.2 上の WL 6.1 でテスト/tested on WL 6.1 with J2EE 1.2 
    2002-04-21  testedon  Tomcat 3.2.4 でテスト/Tested on Tomcat 3.2.4 
    2002-04-21  faq, testedon  ドキュメントの更新とテスト結果の追加/more doc updates and more tests 
    2002-04-21  features, testedon  変更およびテスト結果の追加/more changes + more tests 
    2002-04-20  testedon  どのサーバ/バージョンでCactusをテストしたかについてのページを追加。皆さんの結果を教えてください。/added page that describes what server/version cactus has been tested on. Please contribute with your own results. 
    2002-04-20  news, users  他の人々がCactusで何をしているか知るためのCactusユーザ向けページの追加。どうぞ使った経験を書き込んでください。/new Cactus user page to see what others are doing with Cactus. Please fill it with your own experience ! 
    2002-04-20  news  ニュースを再構成し、幾つか追加し、、まだやることがある、、、/reorganised news and added some ... still more to come ... 
    2002-04-20  logos  Alessandro Ceglia氏による新しいロゴの提案。カッコイイ。/new logo proposals by Alessandro Ceglia ! Cool. 
    2002-04-20  logos  Arthur Jasso 氏のロゴの追加および、左メニュー"その他" の節のリンクを追加/added logo from Arthur Jasso and added reference to the logo page in the left menu under the "Misc" section. 
    2002-04-20  faq  FAQ 項目の追加 : "サーバ起動時に runservertests Ant タスクが異常停止する" および、Cactus 1.3 用に changes.xml を変更/added a FAQ entry : "The Ant runservertests task hangs when my server is started" and updated changes.xml with doc change for Cactus 1.3 
    2002-04-19  downloads, faq, getting_started, howto_ant_cactus, howto_ant_install, howto_ant_primer, howto_classpath, howto_config, howto_httpunit, howto_ide, howto_ide_jbuilder4, howto_ide_jbuilder5, howto_ide_vajava_tomcat, howto_ide_vajava_wte, howto_junitee, howto_sample, howto_security, howto_testcase_filter, howto_testcase_servlet, how_it_works, mockobjects  Cactus 1.3 に従った2回目のウェブサイトドキュメントの更新。殆ど含まれている、、、、セキュリティHowto は未了/second batch of website documentation updates for Cactus 1.3 compliance. Almost there ... The Security howto is not finished yet ... 
    2002-04-17  logos  Dimenzio Design Works による新ロゴ/new logo submitted by Dimenzio Design Works [mailto:bogglins@yahoo.com] 
    2002-04-14  contributors, downloads, features, goals, how_it_works, how_it_works_uml, index  リリース 1.3 の準備のためドキュメントの更新を開始。"Cactusの仕組み"で停止(入れた)、/Cactusサイトの左メニューの最上部の項目から始めた/started updating docs in preparation for release 1.3. Stopped at "How it works ?" (included), starting from the top entry in the left menu on the cactus web site. 
    2002-04-14  news  Nickのメールへのリンクを追加/added link for Nick's email 
    2002-04-14  build_result, news  ニュースのページと正しい"ビルド結果"のページ(最近のビルドリファクタリングと同期されてなかった)/news News page + corrected "build result" page (it wasn't in synch with the recent build refactoring) 
    2002-04-10  howto_testcase  junit.ui をやめた(今はjunit.swingui)/no more junit.ui (now junit.swingui) 

    リリースでの変更/Release changes

    Cactus 1.3 (2002年4月21日 リリース)

  • update Improved classloader support on the server side : Cactus first tries to load the Class to test using the Context class loader (thus, if you container has set the context class loader to point to the webapp classloader you'll be able to use Cactus as an extension and share it between projects). If the class cannot be loaded through the context class loader, Cactus then tries to load it using the Webapp classloader (in that case you'll need to have cactus.jar in your WEB-INF/lib directory). (VMA)
  • update 改良されたクラスローダはサーバ側をサポートする : Cactus はまず最初に、Context クラスローダを用いてテストするクラスのロードを試みる。(従って、使用するコンテナがコンテキストクラスローダに対し、 webapp のクラスローダを参照するよう設定された場合、 Cactus をプロジェクト間で拡張として用いることができ、 共有することができる。) もし、そのクラスがコンテキストクラスローダによりロードできない場合には、 Cactus は、 webapp のクラスローダを用いてロードしようとする。 (この場合、使用コンテナの WEB-INF/lib ディレクトリに cactus.jar を置く必要がある。) (VMA)
  • fix ( Bug #6093). Modified the mechanism to get test result from the Server side. Previously Cactus was using a serialized object whereas now Cactus sends back XML data. (VMA)Kjeld氏に感謝します。
  • fix ( Bug #6093) サーバ側からテスト結果を得るメカニズムの変更。 以前は、Cactus はシリアライズされたオブジェクトを使っていたが、 現在は XML データを送信する。 (VMA)Kjeld氏に感謝します。
  • add Added a Tested On ... page that gives the list of Servers/Versions on which Cactus has been tested. Please contribute if you have a working configuration not listed there. (VMA)
  • add Cactus がテストされたサーバ/バージョンの一覧を記述した、 テスト済み環境のページを追加。 ここに無い設定で動作設定がある場合には教えてください。 (VMA)
  • add Added a "Cactus users" page so that Cactus users can describe what they are doing with Cactus and share that with others. (VMA)
  • add Cactus ユーザが、Cactus をどのように使っているかを述べ、 それを他の人たちと共有するために、 "Cactus ユーザ"のページを追加。 (VMA)
  • add Added support for Resin 2.1.0. The ResinRun Cactus Ant task that is used to start/stop Resin has been modified to support both Resin 2.0 and Resin 2.1 (Resin 2.1 has changed its API to start it). (VMA)
  • add Resin 2.1.0 のサポートを追加。 Resin の起動/停止に使われる ResinRun Cactus Ant タスクが、 Resin 2.0 と Resin 2.1 を共にサポートするよう変更された (Resin 2.1 は、その起動のためのAPIが変更された) (VMA)
  • add Added a Security Howto tutorial to explain how to unit test secure Servlet code. (VMA)
  • add ユーザ認証のあるサーブレットコードを単体テストするための方法を説明した、セキュリティHowto チュートリアルが追加された。 (VMA)
  • update Updated the whole web site for Cactus 1.3 and added some FAQ entries. (VMA)
  • update Cactus 1.3 のウェブサイト全体を更新し、FAQ に項目を追加。 (VMA)
  • update Improved Cactus logging. Cactus logging is now enabled by a cactus.enableLogging=true property that needs to be either defined in cactus.properties (which also needs to be part of the server WAR if you wish to turn on logging on the server side) or by using a java parameter (-Dcactus.enableLogging=true). If Log4J is not in the classpath, then logging is disabled. (VMA)
  • update Cactus のロギングの改良。 (サーバ側でログを有効にしたい場合、サーバの WAR でも必要となる) cactus.properties において、 あるいはまた、 Java のパラメータをを用いて (-Dcactus.enableLogging=true) 定義される必要がある cactus.enableLogging=true、 プロパティにより Cactus のロギングが可能となる。 Log4J がクラスパスに無い場合、ログは取られない。 (VMA)
  • add Added a "News" page with all news and events regarding Cactus. It is also supposed to act as a history page. (VMA)
  • add Cactus に関係する全てのニュースやイベントを記述した、 "ニュース"のページの追加。 更新履歴のページとしても位置付けられている。 (VMA)
  • fix ( Bug #4563) HttpServletContextWrapper.getRequestDispatcher() now throws null when the wrapped servlet context returns null when asked for a request dispatcher. (VMA)Steven L. Youtsey氏に感謝します。
  • fix ( Bug #4563) 現在、HttpServletContextWrapper.getRequestDispatcher() は、 ラップされたサーブレットコンテキストが返される時、 null をスローし、 リクエストディスパッチャに問い合わせを受けた時、 null をスローするようになった。 (VMA)Steven L. Youtsey氏に感謝します。
  • fix Wrapped HttpServletRequest.getRequestURL() (Servlet API 2.3 only) to take into account the simulated URL (if any). (VMA)Kim Madsen氏に感謝します。
  • fix もしシミュレートされたURLがあれば、それを考慮に入れるために、 HttpServletRequest.getRequestURL() をラップした。 (Servlet API 2.3 のみ) (VMA)Kim Madsen氏に感謝します。
  • update Completely reworked the internal Cactus build scripts and directory structure to make it more flexible and to prepare for the upcoming J2EE Sample application (we only have a Servlet Sample so far). (VMA)
  • update より柔軟に、そして、 来るべき J2EE サンプルアプリケーション (今はサーブレットサンプルしかありません) のために、 Cactus 内部のビルドファイルおよび、 ディレクトリ構造の完全な作り直し。 (VMA)
  • fix Corrected bug that prevented using testURL in runservertests with a URL that returned nothing. Also added some verbose logs. (VMA)Aslak Hellesoy氏に感謝します。
  • fix runservettests において、 何も返さない URL に対し、 testURL を使っていなかったバグの修正。 幾つかの冗長なログの追加。 (VMA)Aslak Hellesoy氏に感謝します。
  • add New Web site Statistics page, using Webalizer. (VMA)
  • add Webalizer を用いた、 アクセス状況ページの追加。 (VMA)
  • fix Corrected issue with getNamedDispatcher() not returning null when called with a servlet name that cannot be found, as is expected by the spec. Added test cases to verify the behaviour. (VMA)Kim Madsen氏に感謝します。
  • fix 仕様ににある、 見つからないサーブレット名で呼ばれた時に、 getNamedDispatcher()null を返さない問題の修正。 振舞いを検証するためにテストケースの追加。 (VMA)Kim Madsen氏に感謝します。
  • add Migration tutorial that explains how to move from Cactus 1.2 to Cactus 1.3 (VMA)
  • add Cactus 1.2 から 1.3 への移行法について説明した、 アップグレードチュートリアル (VMA)
  • add Cactus now supports JDK 1.4. Actually the only change made to support it was to use the assertXXX() methods of JUnit instead of the assert() one, which is now a reserved keyword in JDK 1.4. (VMA)
  • add 実際には、 Cactus の JDK 1.4 の新規サポート。 assert() は、 JDK 1.4 での予約語となったので、 JUnit のメソッドとして、その代わりに assertXXX() メソッドの使用をサポートするという変更のみ。 (VMA)
  • update Updated coding conventions and added target to Ant build file for automatic checking of conventions using Checkstyle. (VMA)
  • update コーディング規約の更新、および、 Checkstyle を用いた A自動規約チェックのためのターゲットを Ant ビルドファイルに追加。 (VMA)
  • update Reformatted all sources to be compliant with our coding conventions (checked using Checkstyle). (VMA)
  • update 全てのソースが Cactus のコーディング規約に準拠するよう修正 (Checkstyle を用いてチェック) (VMA)
  • add New JBuilder5 integration tutorial. (VMA)Sean Zhang氏に感謝します。
  • add 新たに JBuilder5 との統合の チュートリアル (VMA)Sean Zhang氏に感謝します。
  • add Added support for BASIC authentication. Thanks to Jason Robertson and Peter Wong. See class TestServletTestCase_Authentication in the sample unit tests for an example on how to use it. (VMA)
  • add BASIC 認証のサポートの追加。 Jason Robertson氏、および、 Peter Wong氏に感謝します。 使い方の例については、例題の単体テスト中の TestServletTestCase_Authentication クラスを参照の事 (VMA)
  • add Added WebRequest.setRedirectorName(String redirectorName) to override default cactus.servletRedirectorName parameter that you define in cactus.properties. This lets you define a redirector per test case if you wish. It is useful when you want to test some servlet methods that are secured and others that are not, for example. (VMA)
  • add cactus.properties で定義する デフォルト cactus.servletRedirectorName パラメータを上書きするために、WebRequest.setRedirectorName(String redirectorName) を追加。 これによりテストケース毎にリダイレクタの設定が可能。 例えば、一部がユーザー認証が必要で、残りは必要としないようなサーブレットメソッドのテストを行いたい場合に有用。 (VMA)
  • update Modified cactus.properties configuration parameters. For example, where you previously were writing cactus.servletRedirectorURL = http://localhost:8080/test/ServletRedirector you would now have 2 parameters : cactus.contextURL = http://localhost:8080/test and cactus.servletRedirectorName = ServletRedirector. (VMA)
  • update cactus.properties 設定パラメータの変更。 例えば、以前は cactus.servletRedirectorURL = http://localhost:8080/test/ServletRedirector と書いていたのを、今後は 2 つのパラメータが必要 : cactus.contextURL = http://localhost:8080/test および cactus.servletRedirectorName = ServletRedirector (VMA)
  • fix Cactus is now working again with JDK 1.2. (VMA)Balki Nakshatrala氏に感謝します。
  • fix JDK 1.2 で再び動作するようになった (VMA)Balki Nakshatrala氏に感謝します。
  • add Added LICENSE file to all Cactus jars, in META-INF/ directory. (VMA)
  • add META-INF/ ディレクトリ中の全ての Cactus jar ファイルにライセンスファイルを追加 (VMA)
  • fix Improved Tomcat 3.3 configuration that is bundled with the Cactus sample application and added delaySocketClose="true", which is a new attribute of Tomcat 3.3.1. The reason is that on fast CPU Tomcat 3.3.0 is releasing too quickly opened sockets and the Cactus client side gets a "socket closed by peer" exception. (VMA)Larry Isaacs氏に感謝します。
  • fix Cactus サンプルアプリケーションにバンドルされる Tomcat 3.3 用の設定を改良し、 Tomcat 3.3.1 の新しい属性である delaySocketClose="true" を追加。 速い CPU では、Tomcat 3.3.0 が開いたソケットの解放が早すぎ、 クライアント側 Cactus で "socket closed by peer" 例外が発生するため。 (VMA)Larry Isaacs氏に感謝します。
  • add Added automatic script support for WebLogic 6.1. (VMA)
  • add WebLogic 6.1 をサポートする自動ビルドファイルの追加。 (VMA)
  • fix Corrected bug in AbstractHttpServletRequestWrapper.getPathTranslated() which was not returning null when getRealPath("/") was returning null. It is allowed by the spec. to return null upon certain conditions (see section SRV.4.5 of the Servlet 2.3 spec.). (VMA)
  • fix getRealPath("/")null を返した時に、 AbstractHttpServletRequestWrapper.getPathTranslated()null を返していなかったバグ修正。 ある条件では null を返すことが仕様で認められている。 (Servlet 2.3 仕様書の SRV.4.5 の節を参照) (VMA)
  • add Add a tutorial for setting up Cactus in VAJava with Tomcat environment. (VMA)Jim Young氏に感謝します。
  • add Tomcat 環境で VAJava に Cactus を設定するチュートリアルの追加。 (VMA)Jim Young氏に感謝します。
  • fix Compatibility with JDK 1.2 was broken by using the URL.getPath() in HttpClientHelper. It is now fixed and should work both for JDK 1.2 and 1.3. (VMA)Piyush Asthana氏に感謝します。
  • fix Compatibility with JDK 1.2 was broken by using the URL.getPath() in HttpClientHelper. HttpClientHelper において URL.getPath() を使っていた事により、 JDK 1.2 との互換性が無くなっていた。 現在修正され、JDK 1.2 と 1.3 で動くはず。 (VMA)Piyush Asthana氏に感謝します。
  • add Added a AbstractTestCase.getLogger() method that lets any test case class get access to a logger to perform its own logging. Logs will go into the Cactus log files. (VMA)
  • add AbstractTestCase.getLogger() メソッドの追加。 これにより、どのテストケースクラスからも テストケース自身のログを取るために、ロガーへアクセスできる。 (VMA)
  • update By default, the Cactus log4j configuration file defines a root category that logs to the Cactus log file with a DEBUG Priority. There is another category for the Cactus classes with a Priority of WARN so that no debug logs will be printed by default. (VMA)
  • update デフォルトでは、 Cactus Log4J 設定ファイルでは、 Cactus ログファイルにログを行うルートカテゴリの優先度は、 DEBUG に設定されていた。 デフォルトでデバッグログを表示しないように、 Cactus のクラスのために、 WARN という優先度の別のカテゴリを設けた。 (VMA)
  • add Cactus is now using AspectJ under the hood to provide automatic logging of entries and exits of methods (for debugging purpose) and to automatically initialise the logging subsystem. The next step is to add automatic configuration checking using AspectJ. The consequence for end users if that they now need to include the aspectjrt.jar jar in their classpaths (both client side and server side). It is a small jar (25ko) that is packaged in the cactus distribution. (VMA)
  • add (デバッグ目的で)メソッドの開始と終了のログを自動的に取り、 ログ取得のためのサブシステムを初期化するための内部機構として Cactus では AspectJ を使用するようになった。 次のステップでは、 AspectJ を用いた自動設定チェック機能を追加する。 結果として、エンドユーザは、 aspectjrt.jar jar ファイルを (クライアント側、サーバ側双方に) クラスパスに入れる必要がある。 これは Cactus ディストリビューションのパッケージに入っている小さい jar ファイル(25KB)である。 (VMA)
  • add Added new java property "cactus.config" to specify location of cactus properties file (you pass it on the command line, ex: "java -Dcactus.config=conf/mycactus.properties"). If not specified, Cactus will look for a "cactus.properties" file in the classpath. (VMA)
  • add Cactus プロパティファイルの位置を指定するための新しい Java プロパティを "cactus.config" に追加。 (例えば次のようにコマンドラインで指定する: "java -Dcactus.config=conf/mycactus.properties") 指定しない場合、Cactus はクラスパスにある "cactus.properties"ファイルを探す。 (VMA)
  • add Test Runner として コンテナの中から Cactus 単体テストを実行するための JUnitEE の使い方を説明する Howto を追加。 (即ち、コンテナ中の同一の JVM 上に Cactus のクライアント側、サーバ側があることになる。) (VMA)Kaarle Kaila氏に感謝します。
  • fix Fixed bug in MockHttpURLConnection that was triggered by some modification in HttpUnit. It means that some Cactus 1.2 unit tests will fail if run with HttpUnit 1.2.8 (still in CVS on the 12/11/01). (VMA)
  • fix HttpUnit での幾つかの変更に起因する MockHttpURLConnection のバグの修正。 これは HttpUnit 1.2.8 で実行した場合、 Cactus 1.2 単体テストは失敗することを意味する。 (2001年12月11日のCVSにまだある) (VMA)
  • update Moved the Jyve FAQ to an internal FAQ - because Jyve was not always up and also so that we can have our FAQ in CVS along with the rest of the documentation. (VMA)
  • update Jyve の FAQ を内部的な FAQ へ移動 - Jyve は常に起動されているわけではなく、 自分達用の FAQ を残りのドキュメントと一緒に CVS に置けるため (VMA)
  • fix ( Bug #4563). The getHost() method of the ServletURL class returns the ":" signifing the start of the port number of the host. This has side effects in Cactus in that passing in the host name and port into the WebRequest method as "127.0.0.1:7001" will cause Cactus to use this url "http://127.0.0.1::7001". (VMA)Chris Hazen氏に感謝します。
  • fix ( Bug #4563) ServletURL クラスの getHost() メソッドは、 ホストのポート番号の始めを意味する ":" を返す。 これにより、 ホスト名とポート番号を WebRequest メソッドに "127.0.0.1:7001" のように渡すと、 "http://127.0.0.1::7001" というようなURLを使うことになるという副作用が起こる。 (VMA)Chris Hazen氏に感謝します。
  • update Added support for JUnit 3.8 (which has replaced the name() method by a getName() one). Note that Cactus is still supporting earlier versions of JUnit. (VMA)
  • update JUnit 3.8 のサポートを追加。 (このバージョンではname() メソッドを getName() に置き換えた) Cactus は以前のバージョンの JUnit もサポートしている事に注意 (VMA)
  • add Added a new method : WebRequest.setContentType(String) (if you don't specify anything it default to "application/x-www-form-urlencoded"). This will set the content type HTTP header for the request. You can get this value from your server code by calling HttpServletRequest.getContentType(). (VMA)
  • add 新メソッドの追加 : WebRequest.setContentType(String) (何も指定しない、デフォルトは "application/x-www-form-urlencoded") これはリクエストのHTTPヘッダの content type を設定する。 サーバーコードから HttpServletRequest.getContentType() の呼び出しにより この値は得られる。 (VMA)
  • add Added new method : WebRequest.setUserData(InputStream) to allow sending arbitrary data in the request body. Note that calling this method will invalidate any parameters that were set to be sent in the request body. (VMA)
  • add 新メソッド追加 : WebRequest.setUserData(InputStream)。 リクエストのボディに任意のデータを送れるようにするため。 このメソッドの呼び出しにより、 リクエストのボディで送られるように設定されたパラメータを全て無効化する事に注意 (VMA)
  • add Added support for testing code which uses HttpServletRequest.getReader(). Note: there seems to be a bug in Orion 1.4 for using getReader(). It runs fine on Orion 1.5 however. (VMA)
  • add HttpServletRequest.getReader() を使ったテストコードのサポートの追加。 メモ : Orion 1.4 では getReader() の使用にバグがあるようだ。 Orion 1.5 では正常動作する。 (VMA)
  • remove The WebRequest.setMethod() has been removed as deprecating it would have led to potential error difficult to locate (as Cactus default behaviour is now to pass parameter using GET, whereas before it was passing them using POST). (VMA)
  • remove 原因のわからないエラーの可能性を引き起こすため、 WebRequest.setMethod() を削除。 (従って、以前は POST を使って渡していたが、 現在は GET を使ってパラメータを渡すのが Cactus のデフォルトの振舞いとなる。) (VMA)
  • update The existing WebRequest.addParameter(name, value) is now passing the parameter in the URL query string by default (same as calling WebRequest.addParameter(name, value, WebRequest.GET_METHOD). (VMA)
  • update 既存の WebRequest.addParameter(name, value) は、 現在デフォルトで URL クエリ文字列によりパラメータを渡す。 (WebRequest.GET_METHOD も同様) (VMA)
  • add Added a new WebRequest.addParameter(name, value, method) where method is either "GET" or "POST". This let you choose on a fine grain level, which method you'd like to use to pass a given parameter. (VMA)
  • add "GET" および "POST" に対応した WebRequest.addParameter(name, value, method) の新規追加。 これにより、与えられたパラメータをどちらのメソッドで送信するか、 細かい粒度で選択できる。 (VMA)
  • update Changed the way Cactus passes internal parameters to the redirectors. They were previously passed as POST parameters (in the request body). They are now passed in the query string of the URL. This is to prepare the path for supporting unit testing binary data sent to servlets (like files, ...). Thanks to Kevin Jones for raising awareness of the issue and thanks to Alvin for providing a fix. (VMA)
  • update Cactus のリダイレクタへの内部パラメータ送信方法の変更。 以前は、(リクエストのボディ中で) POST メソッドのパラメータとして渡していた。 現在はURLのクエリ文字列で渡す。 これは、(ファイル等)サーブレットへバイナリデータを送る単体テストをサポートするパスの準備である。 この問題を教えていただき Kevin Jones 氏に感謝します。 そして、修正してくれた Alvin 氏に感謝します。 (VMA)
  • remove Removed ServletTestRequest. It was deprecated in version 1.2 and is now removed in 1.3. You should use WebRequest instead. (VMA)
  • remove ServletTestRequest を削除。 バージョン 1.2 で使用不可とし、 1.3 で削除される。 代わりにWebRequestを使用の事。 (VMA)

  • Cactus 1.2 (2001年9月25日 リリース)

  • add Added code sample for unit testing tag libs. (NDL)
  • add タグライブラリの単体テストの例題コードの追加。 (NDL)
  • add Tutorial for unit testing EJBs. Thanks to Hudson Wong. (VMA)
  • add EJB の単体テストのチュートリアルの追加。 Hudson Wong 氏に感謝します。 (VMA)
  • add Tutorial for unit testing Taglibs. (NDL)
  • add タグライブラリの単体テストのチュートリアル。 (NDL)
  • add Tutorial for unit testing Servlet Filters. (VMA)
  • add サーブレットフィルタの単体テストのチュートリアル。 (VMA)
  • add HttpServletRequestWrapper.getPathTranslated() now takes into account any path info set up in WebRequest.setURL(). (VMA)
  • add 今後、HttpServletRequestWrapper.getPathTranslated() では WebRequest.setURL() で設定された全ての path info を 考慮する必要がある。 (VMA)
  • fix Transform the WebResponse.getText() and WebResponse.getTestAsArray() so that they can be called repeatably and produce the same results. Previously the data were read from the server output stream and thus the second read was not returning anything (as it has already been read). (VMA)
  • fix 繰り返し呼び出せ、同じ結果が返せるように、 WebResponse.getText() および WebResponse.getTestAsArray() を変更。 以前は、データはサーバ出力ストリームから読み込まれていたので、 2 回目読み込んだ時には(既に一度読み込んだので)何も返されなかった。 (VMA)
  • update Cactus is now a top level Jakarta project. The package names have been changed from org.apache.commons.cactus to org.apache.cactus. (VMA)
  • update Cactus が Jakarta のトップレベルプロジェクトとなった。 パッケージ名が org.apache.commons.cactus から org.apache.cactus に変更された。 (VMA)
  • fix Bug fix: getRequest(), getServletContext() and getServletConfig() methods on the pageContext implicit object (available in JspTestCase) now returns the Cactus wrapped versions of these objects, thus taking into account the simulated URL. (VMA)Nicholas Lesiecki氏に感謝します。
  • fix バグ修正: (JspTestCaseで利用可能な)暗黙オブジェクト中の getRequest()getServletContext()getServletConfig() メソッドは、 Cactus のラップされたバージョンのオブジェクトを返すようになった。 従って、シミュレートされたURLを考慮する必要がある。 (VMA)Nicholas Lesiecki氏に感謝します。
  • add Added support for unit testing Servlet Filters (Servlet API 2.3 only) by providing a new FilterTestCase test case class. Also added some filter unit testing samples in the distribution. (VMA)
  • add 新しい FilterTestCase テストケースクラスを提供することにより、 サーブレットフィルタ(Servlet API 2.3 のみ)の単体テストのサポートを追加。 また、ディストリビューションにフィルターの単体テストの例題を追加。 (VMA)
  • fix ( Bug #3427). The Cactus HTTP client was following redirects. This is wrong for unit tests as we should be able to assert returned headers, cookies, ... even for a redirect response. (VMA)Tony Payne氏に感謝します。
  • fix ( Bug #3427) Cactus HTTP クライアントはページ転送に従っていた。 単体テストにおいて、 転送されたレスポンスに対しても、 返されたヘッダ、クッキーをアサーションできていたので、 これは誤りである。 (VMA)Tony Payne氏に感謝します。
  • add New WebRequest.addCookie(String theDomain, String theName, String theValue) and WebRequest.addCookie(Cookie theCookie) methods for adding cookies to the request. (VMA)
  • add リクエストにクッキーを追加するための WebRequest.addCookie(String theDomain, String theName, String theValue) および WebRequest.addCookie(Cookie theCookie) 新規メソッド (VMA)
  • add New org.apache.cactus.Cookie class that replaces the old org.apache.cactus.util.ClientCookie one which has been deprecated. The new Cookie class can be used in beginXXX() and endXXX() methods to manipulate cookies. (VMA)
  • add 使用不可となっていた古い org.apache.cactus.util.ClientCookieクラスに置き換わる org.apache.cactus.Cookie新クラス。 新しいクッキークラスは、 beginXXX()endXXX() メソッドにおいてクッキーを扱うのに使われる。 (VMA)
  • update Improved cookie handling and support for domains and paths. It means that the domain need to match either the redirector host name or the host specified in the call to setURL(), otherwise the cookie won't get sent. If no domain is used when adding a cookie to WebRequest then "locahost" domain is used. The cookie path is optional and can be null. If not null, the cookie is only sent for requests starting with the path URL. (VMA)
  • update クッキーの扱いの改良および、(クッキーのオプションである)ドメインとパスのサポート。 これは、 ドメインはリダイレクタのホスト名、あるいは、 setURL() の呼び出しで指定されたホストのいずれかにマッチしなければならず、 マッチしない場合クッキーは送信されないことを意味する。 WebRequest を付加する際にドメインが使われなかった場合、 "localhost" ドメインが使われる。 クッキーのパスはオプションであり、 null であることもありえる。 null でない場合、クッキーはパスURLで始るリクエストに対してのみ送られる。 (VMA)
  • add New dependency on the Jakarta Commons HttpClient component. It is used to manage client cookies, i.e. all Cactus code for managing cookies has been removed in favor of HttpClient. The consequence is that cookie handling now complies much better to the specifciation. (VMA)
  • add Jakarta Commons HttpClient コンポーネントとの新規依存関係。 これはクライアント側クッキーを管理するのに用いられる。 即ち、全てのクッキーを扱う Cactus コードは HttpClient のために削除された。 結局、クッキーの扱いは、前よりもよくなった。 (VMA)
  • fix Modified cactus.properties and web.xml mappings (by adding a trailing forward slash to redirector URL and mappings) to support test cases that returns an HTTP status code greater than 400. Otherwise HttpURLConnection returns a FileNotFoundException. (VMA)Ron Smith氏に感謝します。
  • fix 400 以上の HTTP ステータスコードを返すテストケースをサポートするため (リダイレクタURLやマッピングに対し、スラッシュ"/" に続くものを加えることにより)) cactus.properties および web.xml のマッピングを変更。 そうでない場合、 HttpURLConnectionFileNotFoundException を返す。 (VMA)Ron Smith氏に感謝します。
  • add Added a Vector getLogs() method to ServletContextWrapper that returns a vector of the log messages generated by calls to ServletContext.log(). This is to easily assert the content of these calls when writing test cases. (VMA)
  • add ServletContext.log() の呼び出しにより生成されるログメッセージのベクタを返す Vector getLogs()ServletContextWrapper に追加。 これにより、テストケースを書く際に、 これらの呼び出しの内容を簡単にアサーションできるようになる。 (VMA)
  • update Some major refactorings and clean up of code ... (VMA)
  • update 大掛かりなリファクタリングを行い、コード整理した。 (VMA)
  • add Added automatic Ant script support for Orion 1.5.x (VMA)
  • add Orion 1.5.x 対応のAnt 自動ビルドファイルを追加。 (VMA)
  • fix The test result object that was placed in the ServletContext scope was not serializable, causing errors on IPlanet 6.x (VMA)Navjeet Chabbewal氏に感謝します。
  • fix ServletContext のスコープにある テスト結果オブジェクトはシリアル化できず、 IPlanet 6.x ではエラーが発生する。 (VMA)Navjeet Chabbewal氏に感謝します。
  • add Added new end method signature that integrates with HttpUnit. You now have the possibility to use the full assertion power of HttpUnit in your end method. You simply need to define your end methods with the following signature : endXXX(com.meterware.httpunit.WebResponse). If you don't need that power and only want to do simple asserts you can use the endXXX(org.apache.cactus.WebResponse) signature which will let you do simple assertions (cookies, headers, content as a String, ...). (VMA)
  • add HttpUnit と統合した新しい end メソッドの形式を追加。 自分の end メソッドにおいて、HttpUnit の全てのアサーション機能を 使えるようになった。 単に次の形式により end メソッドを定義するだけである : endXXX(com.meterware.httpunit.WebResponse)。 全機能を必要とせず、シンプルなアサーションを行いたい場合には、 簡潔なアサーション(クッキー、ヘッダー、コンテンツを文字列として扱う)ができる endXXX(org.apache.cactus.WebResponse) の 形式が利用可能。 (VMA)
  • update Deprecated the way to write end methods. The new correct way is endXXX(org.apache.cactus.WebResponse theResponse) (it was endXXX(HttpURLConnection theConnection) previously). All helper methods of AssertUtils have been included in WebResponse and AssertUtils is now deprecated. (VMA)
  • update end メソッドを記述する方法の廃止。 正規の方法は endXXX(org.apache.cactus.WebResponse theResponse) である。 (以前は endXXX(HttpURLConnection theConnection) だったもの) 全ての AssertUtils 中のヘルパーメソッドは WebResponse に含まれ、 現在、AssertUtils は使用不可となった。 (VMA)
  • update Deprecated ServletTestRequest. New correct way of writing a begin method is beginXXX(WebRequest theRequest). The class methods are the same. (VMA)
  • update ServletTestRequest の廃止。 begin メソッドを記述する新しい正規の方法は、 beginXXX(WebRequest theRequest) である。 クラスメソッドも同様である。 (VMA)
  • update The Cactus runservertests custom Ant task will now not stop the server if it was running before the task was executed. This is to allow to run and rerun Cactus tests without starting/stopping the server every time you run the tests. (VMA)Paul Dillon氏に感謝します。
  • update タスクが実行されるよりも前にサーバが実行されている場合、 Cactus の これにより、runservertests カスタム Ant タスクはサーバを停止しないようにした。 テストを実行する度にサーバーを起動/停止せずに、 Cactus テストを実行、および再実行できるようになる。 (VMA)Paul Dillon氏に感謝します。
  • update Updated all Cactus documentation and reorganised it to better understand what Cactus is, how it works and how to use it. (VMA)
  • update Cactus とは何か、どう動くのか、どう使うのかについて、 より理解できるように全ての Cactus のドキュメントを更新し、再構成した。 (VMA)
  • add The port used to start the servlet engines when running the sample tests (using the provided Ant scripts) is now configurable. This allows for not interfering with other servers running on the same port. (VMA)
  • add サンプルテストの際のサーブレットエンジンを起動するのに使われるポートを(提供される Ant ビルドファイルにより)設定可能にした。 これにより、同じポートで実行されている他のサーバと競合しなくなった。 (VMA)
  • add New tutorial for integration within JBuilder. Thanks to Cedric Chabanois and Kunal Vaishnav for providing this tutorial. (VMA)
  • add JBuilder との統合の新チュートリアル。 本チュートリアルを提供して頂いた Cedric Chabanois氏および Kunal Vaishnav 氏に感謝します。 (VMA)
  • fix Log4j was not initialized on the server side when using JSP Redirector (it was initialized only when using the Servlet Redirector) (VMA)Jari Worsley氏に感謝します。
  • fix JSP リダイレクタを使用した場合、サーバ側で Log4j が初期化されていなかった (サーブレットリダイレクタを使用した時のみ初期化されていた)n (VMA)Jari Worsley氏に感謝します。
  • fix HttpServletRequestWrapper.getRequestDispatcher() was not returning a wrapped request dispatcher, thus causing error when forward() or include() was used afterwards. (VMA)Jari Worsley氏に感謝します。
  • fix HttpServletRequestWrapper.getRequestDispatcher() が、 ラップされたリクエストディスパッチャを帰さなかったので、 後に forward() や include() が使われた時にエラーを発生する。 (VMA)Jari Worsley氏に感謝します。
  • add New tutorial for integration within VisualAge for Java. Thanks to Todd Idler and Andrew B Forman for providing the information for this tutorial. (VMA)
  • add VisualAge for Java との統合の新しいチュートリアル。 このチュートリアルのための情報を提供して頂き、 Todd Idler 氏、および Andrew B Forman 氏に感謝します。 (VMA)
  • add Added automatic Ant script support for Tomcat 3.3. (VMA)
  • add Tomcat 3.3 用の自動テストビルドファイルのサポート (VMA)
  • add Now all HTTP parameters specified in the URL when using the ServletTestRequest.setURL() method are automatically passed as real HTTP parameters to the server side, meaning you don't have to manually call addParameters(). (VMA)Jari Worsley氏に感謝します。
  • add ServletTestRequest.setURL() メソッドを使ったときの URL で指定された全てのHTTPパラメータは、 自動的にサーバ側に本当のHTTPパラメータとして渡されるようになった。 これは、マニュアルでaddParameters()を呼び出す必要が無いことを意味する。 (VMA)Jari Worsley氏に感謝します。
  • fix Fixed bug : URL encoding was applied to cookies so that when passing a special in a cookie it would get encoded when trying to retrieve it. Thanks to Jari Worsley for fixing it. (VMA)Kunal Vaishnav氏に感謝します。
  • fix バグFIX : クッキーで特別なものを渡した場合、 取り出そうとした時にクッキーがエンコードされるように、 クッキーに対し URL のエンコード化が行われた。 修正してくれた Jari Worsley氏に感謝します。 (VMA)Kunal Vaishnav氏に感謝します。

  • Cactus 1.1 (2001年6月18日 リリース)

  • add Added automatic script support for Enhydra 3.1 (VMA)Robert Leftwich氏に感謝します。
  • add Enhydra 3.1 用の自動テストビルドファイルのサポート (VMA)Robert Leftwich氏に感謝します。
  • update Tested with JUnit 3.7. (VMA)
  • update JUnit 3.7 でテスト (VMA)
  • add Added automatic script support for Resin 2.0 (VMA)
  • add Resin 2.0 用の自動テストビルドファイルのサポート (VMA)
  • add Added logging facility to Cactus, using the Log4j logging framework. In order to make it easy on end users, Log4j is only required when building Cactus from the sources. It is however optional when running Cactus tests. If the log4j jar is present logs will be generated and if not, then no log will be generated. (VMA)
  • add Log4J ロギングフレームワークを用いてCactus にログ機能を追加 エンドユーザにとって簡単にするために、 Log4j は Cactus をソースからビルドする時にのみ必要になっている。 しかしながら、これは Cactus がテストを行う時にはオプションとなっている。 Log4j の jar がある場合、ログは生成され、無い場合、 ログは生成されない。 (VMA)
  • fix ( Bug #1612). With some servlet engines (like Tomcat) there is a risk that the test result will not be committed to the servlet application scope *before* the client requests the test result, thus getting a no result exception or, worse, getting the result from the previous test. Also, if the returned result is bigger than the default buffer the server would block until the client side reads the data, thus resulting in a deadlock with the above-mentionned bug. (VMA)Bob Davison氏に感謝します。
  • fix ( Bug #1612). (Tomcat など)幾つかのサブレットエンジンで、 クライアントがテスト結果をリクエストする前に テスト結果がサーブレットアプリケーションのスコープに登録されないリスクがあります。 それに従い、結果が無いことによる例外や、 さらに悪い場合、前のテスト結果を結果として返してしまう場合もあります。 また、返された結果がデフォルトバッファサイズよりも大きい場合、 サーバはクライアントがデータを読み込むまでブロックします。 そのため、上述のバグによりデッドロックになってしまいます。 (VMA)Bob Davison氏に感謝します。
  • add Added a new mehod AssertUtils.getResponseAsStringArray() that returns the servlet output stream as an array of string (each line terminated by a end of line is a string) in the same spirit as the AssertUtils.getResponseAsString() method which returnes the result as a single string. (VMA)
  • add 結果を一つの文字列として返す AssertUtils.getResponseAsString() メソッドと同じ考えに基づき、 サーブレットの出力ストリームを文字列の配列 (行末記号で終る各行が文字列となる) で返す新規メソッド AssertUtils.getResponseAsStringArray() の追加。 (VMA)
  • fix ( Bug #1610). Corrected handling of multi-line text in AssertUtils.getResponseAsString() which was not handling correctly line terminators (they were skipped). (VMA)Bob Davison氏に感謝します。
  • fix ( Bug #1610) 行終了記号を正しく扱っていなかった(スキップしていた) AssertUtils.getResponseAsString() における 複数行のテキストの正しい処理 (VMA)Bob Davison氏に感謝します。

  • Cactus 1.0 (2001年5月2日 リリース)

  • fix ( Bug #1582). Applied patch from Arun Katkere in order to prevent the "connexion reset by peer" error message that may appear in Tomcat when the connection is broken without reading the requested URL by the custom Ant tasks to start and stop a server. (VMA)Arun Katkere氏に感謝します。
  • fix ( Bug #1582) Tomcat において、 サーバーの起動/終了のカスタムAntタスクにより、 要求されたURLから読み込みをせずに、接続が切れた時に現れるかもしれない "connection reset by peer" エラーメッセージを出ないようにするための、 Arun Katkere 氏によるパッチをあてた (VMA)Arun Katkere氏に感謝します。
  • add Added a contributing section that explains how to contribute to Cactus. (VMA)
  • add Cactus への貢献方法を説明した協力者募集の節を追加 (VMA)
  • add Added a license page on the Cactus web site that explains that Cactus is under the APL license. (VMA)
  • add Cactus が APL ライセンスに基づくと説明した、 ライセンスのページを Cactus ウェブサイトに追加 (VMA)
  • add Added a new target called deploy-site that automatically deploy the generated web site to it's home page on the Jakarta server. This will be very useful when integrated with GUMP nightly builds so that the web site is always up to date. (VMA)
  • add 生成されたウェブサイトをJakarta サーバーへ自動的に配備する deploy-site と呼ばれる新規ターゲットを追加。 ウェブサイトが常に最新状態になっているように、 GUMP ナイトビルドと組み合わせた時に、とても便利である。 (VMA)
  • update Added a "assigned to" description for items assigned to someone on the todo page + lists all the developers already assigned to tasks. (VMA)
  • update 既に作業に割り当てられた全ての開発者を、 ToDoページやリストの誰かに割り当てるように、 リスト項目に対して "assigned to(担当者)" の記述を加えた。 (VMA)
  • update Make the ChangeLogTask work even when not connected to the Internet (i.e. use previous cvslog.xml file or generate an empty one if non already exists). (VMA)
  • update インターネットに接続されていない場合でも、 ChangeLogTask タスクが動作するようにした。 (即ち、既存のものが無い場合には、 前の cvslog.xml を使うか、 空のファイルを生成するようにした) (VMA)
  • add Modified the Changes page so that users can see at a glance the list of pages that have been modified recently on the Cactus web site. (VMA)
  • add ページの一覧を見れば、 Cactus ウェブサイトで最近変更された事がわかるように、 更新履歴のページを変更した。 (VMA)
  • add Display the last updated date on the Cactus web site, in the left menu (VMA)
  • add Cactus ウェブサイトの左側メニューで最終更新日を表示するようにした (VMA)

  • Cactus 1.0b2 (2001年4月20日 リリース)

  • update Some minor refactoring of code (added AbstractTestCase, modified AbstractHttpClient, JspHttpClient, ServletHttpClient). (VMA)
  • update 幾つかの小規模なリファクタリング (AbstractTestCaseの追加、 AbstractHttpClientJspHttpClientServletHttpClientの変更) (VMA)
  • add Add handling of multivalued HTTP headers (same header name with different values) in ServletTestRequest. (VMA)Hoani Cross氏に感謝します。
  • add ServletTestRequest において、 複数値を持てる HTTP ヘッダ (同じ名前のヘッダで異なる値が持てる) の処理の追加 (VMA)Hoani Cross氏に感謝します。
  • update Made the methods setUp() and tearDown() protected on the server side so that it is consistent with JUnit. (VMA)
  • update JUnit との一貫性のために、 サーバ側で setUp() および tearDown() メソッドを protected にした。 (VMA)
  • update Modified the Ant runservertest task so that it also works when a servlet engine is already up and running and when a server is already stopped prior. This is to support intensive debugging mode when we don't want to start/stop the server all the time. (VMA)Philip Aston氏に感謝します。
  • update 既にサーブレットエンジンが起動され実行されている時でも、 サーバーが既に停止した場合にでも動作するように、 Ant runservertest の変更 これは、 いつでもサーバの起動/停止をしたくない場合に、 集約したデバッグモードをサポートするため。 (VMA)Philip Aston氏に感謝します。
  • add Added a "Cactus scope and status" page on the web site that explains the current scope and status of Cactus. (VMA)
  • add Cactus の現在の主開発分野と、開発状況を説明するために、 "Cactus の開発状況" のページを追加 (VMA)
  • add Added a "Cactus goals" page on the web site that gives rough goals and guidelines for the future of Cactus. (VMA)
  • add Cactus の未来に対する大まかな目標とガイドラインを与える、 "Cactus の目標"のページをウェブサイトに追加 (VMA)
  • update Improved build process so that it nows works even if junit, stylebook, .. jars are not in the CLASSPATH prior to running the build. (VMA)Jeff Turner氏に感謝します。
  • update ビルドを実行する前に、 CLASSPATH に junit, stylebook, jar が無くても動作するよう、 ビルド手続きの改良 (VMA)Jeff Turner氏に感謝します。

  • Cactus 1.0b1 (2001年4月9日/April 9 2001 リリース)

  • update Updated the Cactus distribution so that everything is contained into one single file (doc + jars + sample). The sources are available separately in a second file. (VMA)
  • update 全てが一つのファイル(doc + jars + サンプル)に含まれるよう Cactus ディストリビューションを更新した。 ソース第二のファイルとして別に利用可能にした。 (VMA)
  • add Added a section on the main web site page to explain the reason for the Cactus name. (VMA)
  • add Cactus の名前の由来を説明したウェブサイトのページの節を追加した Added a section on the main web site page to explain the reason for the Cactus name. (VMA)
  • update Tested with JUnit 3.6. (VMA)
  • update JUnit 3.6 でテストした (VMA)
  • update Changed the web site skin to be the Jakarta skin and not the Apache XML skin. This is because Cactus is now part of the Jakarta Commons project. (VMA)
  • update ウェブサイトのスキンを Apache XML スキンでなく、 Jakarta スキンに変更した。 この理由は、Cactus は現在 Jakarta Commons プロジェクトの一部だからである (VMA)
  • update Updated the web site installation section to better explain the required steps to install Cactus. Namely, it covers installing Ant and installing the Cactus Sample application. (VMA)
  • update Cactus のインストールに必要なステップをよりわかりやすく説明したウェブサイトインストールの節を更新した (VMA)
  • remove Removed the deliverable dependencies jar. Instead, provides a zipped installation of Ant containing the needed jars for tasks used by Cactus and Cactus Sample build files. (VMA)
  • remove 配布の jar 依存関係を無くした。 代わりに、Cactus およびCactusサンプルビルドファイルで使われるタスクを行う必要な jar を含んだ Ant を zip アーカイブしたものを提供した。 (VMA)
  • update Removed the misc/ directory and JBuilder files from CVS and source distribution. (VMA)
  • update ディレクトリおよび JBuilder ファイルを CVS およびソースディストリビューションから削除 (VMA)
  • update Renamed the project from J2EEUnit to Cactus. Although it was a difficult decision to make, it had to be done as J2EE is a Sun trademark. Renamed all occurrences of J2EEUnit to Cactus and changed package names (from j2eeunit.* to org.apache.commons.cactus.*. (VMA)
  • update プロジェクト名を J2EEUnit から Cactus へ変更。 変更を決心するのは難しかったが、 J2EE は Sun の登録商標なので変更せざるを得なかった。 J2EEUnit の全ての記述を Cactus に変更し、 パッケージ名を j2eeunit.*からorg.apache.commons.cactus.* へ変更。 (VMA)
  • fix The sample application sources now contains all needed configuration files (the manifest and web.xml files were missing in the previous release). (VMA)
  • fix サンプルアプリケーションのソースに必要な設定ファイルを全て入れた (前リリースではマニフェストと web.xml がなかった) (VMA)
  • update Donated the project to the Apache Software Foundation. Changed license from GPL to APL. Moved packages from j2eeunit.* to org.apache.commons.j2eeunit.* and changed copyrights (VMA)
  • update Apache Software Foundation へ、このプロジェクトを寄付。 ライセンスを GPL から APL へ変更。 j2eeunit.* からorg.apache.commons.j2eeunit.* へパッケージを変更し、著作権表示を変更。 (VMA)




  • [訳注:これは 漆島賢二 が翻訳しました。日本語訳に対するコメントがあれば こちらに送ってください]
    Copyright © 2000-2002 The Apache Software Foundation. All Rights Reserved.