You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Taher Alkhateeb (JIRA)" <ji...@apache.org> on 2016/09/03 06:00:30 UTC

[jira] [Commented] (OFBIZ-8119) Character encoding issue found in file build.gradle

    [ https://issues.apache.org/jira/browse/OFBIZ-8119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15460472#comment-15460472 ] 

Taher Alkhateeb commented on OFBIZ-8119:
----------------------------------------

hello, gradle encoding is already UTF-8 by default. I think some of your files are not in compliance. I can't tell for sure because the screenshot is in chinese.

> Character encoding issue found in file build.gradle
> ---------------------------------------------------
>
>                 Key: OFBIZ-8119
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8119
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>         Environment: Window10 
> java version "1.8.0_101"
>            Reporter: fumiyoshi.to
>            Priority: Minor
>         Attachments: OFBIZ-8119_CharacterEncodingInBuildFile.patch, build-error.png
>
>
> I cann't build ofbiz when I run gradlew.
> I found utf-8 should be the default character encoding used by the comipiling work.
> eg.
> def defaultEncoding = 'UTF-8'
> tasks.withType(AbstractCompile)*.options*.encoding = defaultEncoding
> tasks.withType(GroovyCompile)*.groovyOptions*.encoding = defaultEncoding



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)