ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40584] New: - loadproperties task reports IOException on en_US.UTF-8 locale
Date Fri, 22 Sep 2006 17:45:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40584

           Summary: loadproperties task reports IOException on en_US.UTF-8
                    locale
           Product: Ant
           Version: 1.7.0Beta2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: Uwe.Seimet@seimet.de


The target code below works fine for extracting properties from MyClass.class on
any locale except locales using UTF-8 encoding. With LC_ALL set to en_US.UTF-8 I
get this error message:

build.xml:123: Unable to load file: java.io.IOException

With LC_ALL set to en_US this error does not occur.

--

  <target name="version">
    <loadproperties srcfile="MyClass.class">
      <filterchain>
        <classconstants/>
        <prefixlines prefix="Constants."/>
      </filterchain>
    </loadproperties>
  </target>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message