LoginSignup
1
1

More than 5 years have passed since last update.

javaのbuild.xml コンパイルオプション debuglevel, includeantruntime

Last updated at Posted at 2016-04-18

javaのbuild.xmlのコンパイルオプションについて調べた結果メモ

debuglevel

参考ページ
スタックトレース コンパイルオプション-g

コンパイルオプション-gのキーワードでした。
debug="true"
にした上で、
debuglevel="lines,var,source"
にすると、スタックトレースにデバッグ情報がのるようになります。
・source ソースファイルのデバッグ情報
・lines 行番号のデバッグ情報
・vars 局所変数のデバッグ情報

includeantruntime

参考ページ
Ant で javac して実行可能 jar を生成させるための build.xml
Ant 1.8から出るincludeAntRuntimeに関するワーニング

includeantruntime 属性を指定しないと warning が出るようになったらしい。
includeantruntime="false"
にします。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1