2013-01-29 23:04:09 +01:00
|
|
|
.PHONY: all clean test-unit eclipse
|
|
|
|
|
2013-02-04 22:36:32 +01:00
|
|
|
export JAVA_TOOL_OPTIONS:='-Dfile.encoding=iso-8859-1'
|
|
|
|
|
2013-02-01 18:20:38 +01:00
|
|
|
all: build-smack
|
2013-01-29 23:04:09 +01:00
|
|
|
|
|
|
|
# Can not use 'build' as target name, because there is a
|
|
|
|
# directory called build
|
|
|
|
build-smack:
|
|
|
|
cd build && ant
|
|
|
|
|
|
|
|
clean:
|
|
|
|
cd build && ant clean
|
|
|
|
|
2013-02-04 22:36:32 +01:00
|
|
|
unit-test:
|
2013-01-29 23:04:09 +01:00
|
|
|
cd build && ant test-unit
|
|
|
|
|
2013-02-04 22:36:32 +01:00
|
|
|
integration-test:
|
|
|
|
cd build && ant test
|
|
|
|
|
2013-01-29 23:04:09 +01:00
|
|
|
eclipse: .settings .classpath .project
|
|
|
|
|
|
|
|
.settings:
|
|
|
|
ln -s build/eclipse/settings .settings
|
|
|
|
|
|
|
|
.classpath:
|
|
|
|
ln -s build/eclipse/classpath .classpath
|
|
|
|
|
|
|
|
.project:
|
|
|
|
ln -s build/eclipse/project .project
|