lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4094) Randomize file.encoding
Date Wed, 11 Jul 2012 23:13:34 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated LUCENE-4094:
-----------------------------

    Fix Version/s:     (was: 4.0-ALPHA)
                   4.0

hoss20120711-manual-post-40alpha-change
                
> Randomize file.encoding
> -----------------------
>
>                 Key: LUCENE-4094
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4094
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 4.0, 5.0
>
>
> Stated in the code:
> {code}
>     // TODO we can't randomize this yet (it drives ant crazy) but this makes tests reproduce
>     // in case machines have different default charsets...
>     sb.append(" -Dargs=\"-Dfile.encoding=" + System.getProperty("file.encoding") + "\"");
> {code}
> But this should work without any problems with junit4 because communication streams are
separate and we're decoding output properly (or so I hope). 
> Try and see what happens :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message