I am creating an automated build environment using ant to build the freshly processed source tree using the same eclipse compiler used by eclipse. The problem is that some of the resulting class files differ in size than the class file generated by compiling in eclipse. Why is this? Is this normal and what can you expect? As prescribed, I tell ant to use the eclipse compiler, for example:
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
source
share