今回は、Java Solutionフォーラムで行った「第7回読者調査:となりの会社はJakarta Projectを活用している?」で、Tomcatに次いで利用者が多かったビルドツールのAntを取り上げます。Antについては、基本編と応用編の2回に分けてご紹介します。基本編となる今回は、Antの概要と基本的な使い方について解説しましょう。 ビルドツールというと、makeを思い浮かべる方も多いと思いますが、AntのビルドファイルはXMLで記述するという特徴があり、Javaとの親和性も高くなっています。前述の読者調査によると、現在利用中の開発ツールとして「エディタ+JDK」が最も多かったのですが、まさにこの開発パターンでこそAntを使うのが王道ということができるでしょう。 Borland JBuilderなどのIDEを使っている方は、「IDEを使ってビルドすればAntなんて必要ないのではないか
<H2>Apache Ant User Manual</H2> <a href="toc.html">Apache Ant User Manual</a>
Antは、開発やリリース時の一連の処理を自動化できる、Javaベースのビルドツールです。コンパイルプロセスは、EclipseやJBuilderなどの統合開発環境の利用によっても簡略化することが可能です。しかし、warファイルのパッケージングやUnitテストなど、複雑な処理を行う際はAntを利用した方が効率的です。また、環境に依存しないJavaの利点を生かし、開発環境と異なる環境でも設定ファイル(build.xml)を変更せずに、簡単にコンパイルが行えます。 本稿では、豊富なAntの機能の中から、開発の基本となるコンパイルとアプリケーションの実行について説明します。 操作手順 (1)Antのダウンロード Antは、Apache Antプロジェクトの公式サイト(http://ant.apache.org)から入手できます。その時点での最新の安定版をダウンロードしてください。 設定など、Antの
HOMMEZ(オムズ)は男性の心と身体の健康を支援し、一人でも多くの人が子供を得る幸せや男性としての喜びを享受できる社会の実現を目指しています。男性の妊活、活力にまつわる情報や商品の力で性や妊活に悩む男性が効率的に納得感を持って活動できる機会を創出します。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く