2014-11-01から1ヶ月間の記事一覧

Jenkinsの自動ビルドでFindBugsやJUnitを実行したときに行番号を表示させたい

antによる自動ビルドをさせたが、FindBugsやJUnitの指摘でなぜか行番号が表示されない。 Eclipse上で実行した時は出るのに… ということで調べてみたらこういうことだった。build.xmlのjavacの要素に、 debug="on" を追加する参考URL http://kan-high.hatenab…

MacOSXでSWTのJavaアプリを起動出来ない

WARNING: Display must be created on main thread due to Cocoa restrictions. Exception in thread "main" org.eclipse.swt.SWTException: Invalid thread access等と出るのは -XstartOnFirstThread というオプションをつけてJVMを起動すると良い 参照URL …