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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

    [ 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)