do not write when there is nothing to write
partitioner code in java
build java stuff in automake