[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=15462807#comment-15462807 ]

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

Thank you also for taking the time to research this, the code snippet you provided helped me in forging the committed solution, and it was also useful for me to learn some new notation.

> 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
>            Assignee: Taher Alkhateeb
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         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)