Martijn Verburg wrote:You're getting a standard Java compile error:
compareTo(java.math.BigDecimal) in java.math.BigDecimal cannot be applied to (java.lang.Object), I'm guessing BIG_DECIMAL_ZERO is declared as an Object, it needs to be a BigDecimal.
But when I use eclipse, the project can be compiled successfully. And I checked I used the same version 1.6 Jdk to compile the project.
My build.xml file as below:
Does that error relate to the jdk version? Or
ant will use there own jdk to compile the project? Can help me on this? Thanks.