You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Nathan Beyer <nd...@apache.org> on 2006/12/24 08:11:44 UTC
Fwd: [jira] Created: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files
Any thoughts on how to avoid this in the future? Personally, I
explicitly set my encoding to UTF-8 for all text files in Eclipse.
---------- Forwarded message ----------
From: Robin Garner (JIRA) <ji...@apache.org>
Date: Dec 24, 2006 12:12 AM
Subject: [jira] Created: (HARMONY-2863) Build failures due to
non-UTF-8 characters in source files
To: commits@harmony.apache.org
Build failures due to non-UTF-8 characters in source files
----------------------------------------------------------
Key: HARMONY-2863
URL: http://issues.apache.org/jira/browse/HARMONY-2863
Project: Harmony
Issue Type: Bug
Components: build - test - ci
Environment: Linux Ubuntu 6.06/IA32
Reporter: Robin Garner
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
[javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
Is there any chance of some commit-time filtering to prevent this happening ?
cheers
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Fwd: [jira] Created: (HARMONY-2863) Build failures due to non-UTF-8
characters in source files
Posted by Tim Ellison <t....@gmail.com>.
Nathan Beyer wrote:
> Any thoughts on how to avoid this in the future? Personally, I
> explicitly set my encoding to UTF-8 for all text files in Eclipse.
I guess the only way to prevent it is to have a pre-commit hook that
checks the incoming source (yuk!); but we can also have a checker that
catches it after the event so we can go in and fix it. Seems the
checker is called 'Robin' at the moment ;-)
If it is a recurring problem we can set up an automated check, but I
only recall seeing it a couple of times over the last year, so probably
not worth it yet.
Regards,
Tim