Changes from Ant 1.5beta3 to Ant 1.5 Ant 1.5beta3 から Ant 1.5 での変更 ==================================== Changes that could break older environments: 下位互換性のない変更: -------------------------------------------- * The filesetmanifest attribute added to after the 1.4.1 release has been removed for now. This change may affect only the 1.5Beta/1.6Alpha users. An attempt will be made to add this feature back into Ant 1.6. * 1.4.1 リリース以降 に加えられたfilesetmanifest 属性が、今後 削除されます。この変更の影響があるのは 1.5Beta/1.6Alpha の ユーザのみです。この機能は Ant 1.6 に再度加えられる予定です。 Fixed bugs: バグ修正: ----------- * and friends would always update existing archive if you set the update attribute to true. * update 属性を true に設定した場合、 とそのファミリーは常に 既存のアーカイブを更新します。 * To support backward compatibility with older versions, will once again set the property, even if the result is the empty string, unless the new 'setonempty' attribute is set to false|no|off (default is "true"). * 古いバージョンとの下位互換性のために、 新しい 'setonempty' 属性が false|no|off に設定されない限りは (デフォルトは "true")結果が空の文字列だったとしても、 は、 もう一度プロパティを設定します。 * The manifest task would crash XmlLogger * manifest タスクが XmlLogger を破壊する Other changes: その他の変更: -------------- * added **/.svn and **/.svn/** to the default excludes * デフォルト除外集合に **/.svn および **/.svn/** を追加 Changes from Ant 1.5beta2 to Ant 1.5beta3 Ant 1.5beta2 から Ant 1.5beta3 での変更 ========================================= Changes that could break older environments: 下位互換性のない変更: -------------------------------------------- * Project.getBuildListeners now returns a clone of the listener list. Changes to the returned list will not affect the listeners currently attached to the Project. It also means that it is safe to iterate over the returned list if listeners are added or removed during the traversal. * Project.getBuildListeners がリスナーのリストのクローンを返すように なりました。返されるリストへの変更は現在プロジェクトに割り当て られているリスナーに影響しません。また、リスナーの全探索の際に、 リスナーが追加されたり削除されたりしても、返されたリストに対する 繰り返し操作は安全であることを意味します。 * default filenameformat has been different from Ant 1.4.1. Now it is different from 1.5beta1 and 1.5beta2. * デフォルトのファイル名のフォーマットが Ant 1.4.1 と違います。 現在は、1.5beta1 や 1.5beta2 とも違います。 * Some messages that are printed during startup will not be written to the logfile specified via -logfile as they might destroy the format of the file for special BuildLoggers (like XmlLogger). * 特別な BuildLogger のためのファイルのフォーマットを破壊する可能性が あるので起動時に表示される一部のメッセージが、 -logfile により指定 されたログファイルに書かれていません。 * won't set the property if the result is the empty string. * 結果が空文字列だった場合、 はプロパティを設定しません。 Fixed bugs: バグ修正: ----------- * could fail to find files or directories that happen to start with the name of the project's basedir but are not children of the basedir. * がたまたまプロジェクトのベースディレクトリの名前で始まる、 ベースディレクトリの子でないファイルやディレクトリを検索する際に 失敗していました。 * Nested 's inside can now be overriden by subsequent and tasks. * 中のネストされたが結果となる タスク を上書きするようになりました。 * 's outputtype attribute wouldn't do anything. * の outputtype 属性が何もしていませんでした。 * filterreader could swallow lines. * フィルターリーダーが行を処理していませんでした。 * used to configure the tasks (set their attributes) before the first task has been executed. This means that properties that have been set by nested task seemed to be unset for the other tasks in the same element. * が、最初のタスクが実行されるよりも前に、タスクを設定して (その属性を設定して)いた。これは、ネストされたタスクにより設定された プロパティが、同じ 要素の中の他のタスクでは、設定されて いないかのようになってしまうことを意味します。 * 's sourcepath setting has been ignored by some compiler implementations. * の sourcepath 設定が一部のコンパイラの実装では無視されていました。 * 's packagelist attribute didn't work. * のパッケージリスト属性が動作していませんでした。 * the plain mailer would always use port 25 in . * plain mailer がにおいて常にポート25番を使っていました。 * Ant's default logger could swallow empty lines. * Ant のデフォルトロガーが、空の行を処理していませんでした。 * ejbjar's iPlanet nested element now can process multiple descriptors. * ejbjar タスクの iPlanet ネスト要素が、複数の記述子を処理できるように なりました。 * IPlanetEjbc was looking in the wrong place for four iiop files. * iPlanetEjbc が 4 つの iiop ファイルに対し間違った場所を探していました。 * would pass the -source switch to JDK 1.3's javac, even though it doesn't support it. * は、サポートしていなくても、-source スイッチを JDK 1.3 の javac に渡していました。 Other changes: その他の変更: -------------- * now uses a buffer (of configurable size). * タスクが(サイズの設定可能な)バッファを使うようになった。 * The "Trying to override task definition" warning has been degraded to verbose level if the two task definitions only differ in the class loader instance that has loaded the definition. * 2つのタスクの定義が、定義をロードするクラスローダーインスタンスのみ の違いならば、"タスク定義を上書きしようとしています(Trying to override task definition" の警告が冗長(verbose)レベルまで下げられました。 * Add a jvmargs to the ejbjar's weblogic element to allow additional arguments to be provided to the VM runnign ejbc. Document the jvmdebuglevel attribute which can be used to avoid warnings about interface classess being found on the classpath. Document the new element which allows JVM properties to be defined. Added an outputdir attribute to allow the destination to be a directory into which the exploded jar is written. * ejbc を実行している VM へ与えられる引数を追加できるように ejbjar タスクの weblogic 要素に jvmargs が加えられました。 クラスパスで見つけられるインタフェースクラスについての警告を 避けるために使われる jvmdebuglevel 属性についてドキュメントを 作成しました。 JVM のプロパティを定義できるようにする、新しい 要素 についてのドキュメントを作成しました。 出力先が、出力された jar が書き込まれるディレクトリとなるように outputdir 属性を追加しました。 * ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5 * ejbjar が、Borland Enterprise Server 5 および Jonas 2.5 を サポートするようになりました。 Changes from Ant 1.5beta1 to Ant 1.5beta2 Ant 1.5beta1 から Ant 1.5beta2 での変更 ========================================= Changes that could break older environments: 下位互換性のない変更: -------------------------------------------- * Properties will now be expanded in mail message bodies. This means that one $ sign will be stripped if your mail message contains the text $$. * mail タスクのメッセージの本文でプロパティが展開されるように なりました。これは、メールメッセージにテキスト $$ があった場合、 一つの $ 記号は取り除かれることを意味します。 * org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask. * org.apache.tools.ant.taskdefs.Expand はもはや MatchingTask を 拡張しなくなりました。 * Available#setFile now again uses a File argument as it did in 1.4, this may break environments that have been adapted to the String argument version present in 1.5beta1. * Available#setFile が、1.4 で行っていたように、再び一つのファイル引数を 使うようになりました。これは、1.5beta1 であった文字列引数のバージョン に適用されていた環境を壊します。 Fixed bugs: バグ修正: ----------- * When attempts a rename, it deletes the destination file, if it exists, before renaming the source file. However, was not checking if the destination file was actually a directory before trying to delete it. * が名前変更しようとしたとき、出力先のファイルが既にあるならば、 ソースファイルの名前変更をする前に出力先ファイルを削除します。 しかしながら、 は、削除しようとする前に出力先ファイルが実際に ディレクトリかどうかチェックしていません。 * Make CVS Tasks to work under Cygwin. * CVS タスクが cygwin で動くようにしました。 * Fix LineContains to handle huge files elegantly without causing Stack Overflows. * スタックオーバーフローせずに、巨大なファイルをうまく扱えるよう linecontains を修正しました。 * if you ask for the "classic" compiler on Java1.4, you get upgraded to "modern" because there is no classic compiler any more. * Java 1.4 で "古い(classic)" コンパイラを要求しても、古いコンパイラは もはや無いので、"新しい"コンパイラになります。 * the condition was viewing 404 'not found' exceptions as success. Now it defaults to viewing any response >=400 as an error, and has an errorsBeginAt attribute you can use if you want a higher or lower value. * 条件は 404 'not found' 例外を成功したと見なしていました。 今では、応答が >= 400 ならばエラーと見なし、 高い、あるいは低い値が必要な場合には利用可能な errorsBeginAt 属性が 設定されます。 * throws a build exception on an http authorization error, unless you have set ignoreerrors to true. * ignoreerros 属性を true に設定しない限り、HTTP 認証エラー際に はビルド例外をスローします。 * was spelt in Wintel case: . It is now lower case, though the old spelling is retained for anyone who used it. * は Wintel においては大文字小文字を区別して 綴られていました:。 古い綴りは使う人のために残して おきますが、今後は小文字となります。 * Merging of Manifests in jar now works as documented. * jar ファイルへのマニフェストの挿入がドキュメント通り動くようになりました。 * paths that have been separated by colons would be incorrectly parsed on NetWare. * コロンにより区切られていたパスが NetWare では誤って解析されていました。 * runant.pl now supports NetWare. * runant.pl が NetWare をサポートするようになりました。 * and tasks were in beta1, but not defined by default; They now are. fills a property with the name of a temporary file; lets you set the JVM's http, ftp and socks proxy settings. * および タスクが beta1 にありましたが、 デフォルトでは定義されていませんでした。現在はあります。 は一時ファイルの名前をプロパティに入れます。 により JVM の HTTP、FTPおよびSOCKS プロキシを設定 できるようになります。 * failed for JDK 1.1 and 1.2, even if the class could be found on the user-specified classpath. * ユーザが指定したクラスパスに、そのクラスがあるのに、JDK 1.1 および JDK 1.2 では が失敗していました。 * now works on z/OS. * が z/OS で動作するようになりました。 * forked failed for the wrong reason on JDK 1.1 - Ant would use a temporary file to hold the names of the files to compile under some conditons, but 1.1 doesn't support this feature. Ant will no longer try this, but you may run into problems with the length of the command line now. * JDK 1.1 上で、(プロセスを)フォークする タスクが誤った理由で 失敗していました。- Ant が、ある条件でコンパイルするためにファイルの 名前を持つ一時ファイルを使っていました。しかし、1.1 ではこの機能 はサポートしていませんでした。Ant は、もはや、これを試みようとは しませんが、コマンドラインの長さにおいて問題が起きるかもしれません。 * the refid attribute for s nested into or s nested into didn't work. * にネストされたや、にネストされた のrefid 属性が動作していませんでした。 * didn't work for nested s. * がネストされたで動作していませんでした。 * dropped sourcepath entries if no "interesting" .java source files could be found below them. This has been backwards incompatible and caused problems with custom doclets like xdoclet. * "対象となる" .java ソースファイルがそのパスの下に見つからなかった 場合、 は sourcepath の設定を無視していました。 これは、下位互換性がなく、xdoclet のようなカスタム doclet で 問題が起きました。 * Using the doclet, docletpath or docletpathref attributes of may have caused NullPointerExceptions. * の doclet、docletpath または docletpathref 属性を 使うと、NullPointerException が起こることがあった。 * nested of would include too much. * ネストされた が多く(のファイル)を包含しすぎていた。 * will no longer choke on s that point to non-existing directories. * 存在しないディレクトリを参照する が 詰まったりしなくなりました。 * didn't work at all. * が全く動作していませんでした。 * and now fail if the file they are working on is locked. * 作業しようとしているファイルがロックされている場合、 および が失敗するようになりました。 * would pick up the wrong executable in the combination JDK 1.2 and AIX. * JDK 1.2 と AIX の組み合わせで、 が間違った実行ファイルを 選ぼうとしていました。 Other changes: その他の変更: -------------- * z/OS now gets detected by the os condition. * os 条件で、z/OS が判定できるようになりました。 * and now have an optional followsymlink attribute that can prevent Ant from following symbolic links on some platforms. * および はオプションとして、一部のプラットフォームで Ant がシンボリックリンクに従うのを避けられるように followsymlink 属性を加えました。 * BeanShell is now supported in the