LoginSignup
0
3

More than 5 years have passed since last update.

AntでProcessingを実行する

Last updated at Posted at 2017-04-28

なんでAnt?

EclipseやIntelliJでProcessingを動かす例は色々紹介されていますが、
それぞれの環境で設定を行わなければいけません。
Antから使うテンプレートがあれば、作りたい作品やその時の気分に合わせて使うエディタを変えることが簡単になると思う。

テンプレートはここで公開しています。
https://github.com/enkatsu/ProcessingAnt

使い方は

# Antが入ってない人はインストール
$ brew install ant
# 確認
$ ant -version

$ git clone git@github.com:enkatsu/ProcessingAnt.git
$ cd ProcessingAnt

# build.xmlの編集(編集した時点でどこかに保存しておけば使い回し易いかも)
# ...
# <property name="p5core" location="path/to/core_dir"/>
# <property name="p5dir" location="path/to/processing_dir"/>
# 例)
# <property name="p5core" location="/Applications/Processing.app/Contents/Java/core/library"/>
# <property name="p5core" location="/Users/ユーザ名/Documents/Processing"/>
# ...

# 実行
$ ant
0
3
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
0
3