Bug - Fixed 18020 fails to compile on my Mac

MCroft

Developer
Staff member
compile task gives the following error:

compile:
[javac] Compiling 1504 source files to /Users/mcroft/projects/kolmafia/build
[javac] /Users/mcroft/projects/kolmafia/lib/apple/dts/samplecode/osxadapter/OSXAdapter.java:54: error: unmappable character for encoding UTF8
[javac] Copyright � 2003-2007 Apple, Inc., All Rights Reserved
[javac] ^
[javac] 1 error
[javac] Compile failed; see the compiler error output for details.

BUILD FAILED
/Users/mcroft/projects/kolmafia/build.xml:352: The following error occurred while executing this line:
/Users/mcroft/projects/kolmafia/build.xml:148: Failed to compile third-party libraries


Removing the copyright symbol from OSXAdapter.java fixed the problem.

FWIW: I am running Java 1.8 and ANT 1.9.4
mcroft$ java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

mcroft$ ant -version
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 
Top