ilovesoup / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

0.1.7 build fails due to project sourceEncoding #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hyracks 0.1.7 fails to build on my machine (Mac OS 10.6.8) due to errors 
handling the Unicode characters in 
hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/u
til/StringUtils.java.  The errors appear to be due to the javac compiler 
building the project using my system's default source encoding instead of UTF-8.

This can be fixed by setting the project's sourceEncoding to UTF-8:
http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding

The version of the maven-compiler-plugin used by Hyracks has a bug where it 
ignores the project's sourceEncoding settings: 
http://maven.40175.n5.nabble.com/project-build-sourceEncoding-not-respected-by-m
aven-compiler-plugin-tp4262452p4262452.html.

This can be fixed by specifying a newer version of the plugin or by adding 
<encoding>UTF-8</encoding> to the plugin's configuration in 
hyracks-dataflow-std/pom.xml.

Original issue reported on code.google.com by jodarose...@gtempaccount.com on 14 Aug 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Josh,

Thanks for reporting this issue. This will be fixed in the next release.

Original comment by vinay...@gmail.com on 25 Aug 2011 at 7:47