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

Jacques Le Roux commented on OFBIZ-8119:
----------------------------------------

The 1st does not work, the second does build, trying tests now..

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