[jboss-jira] [JBoss JIRA] (DROOLS-522) kie-maven-plugin "file encoding" should be configurable.

Gregor Tudan (JIRA) issues at jboss.org
Sun Nov 2 04:47:35 EST 2014


    [ https://issues.jboss.org/browse/DROOLS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016574#comment-13016574 ] 

Gregor Tudan commented on DROOLS-522:
-------------------------------------

If this bites you (i.e. when your rules contain non-ascii characters) a possible workaround is setting the environment variable JAVA_TOOL_OPTIONS:

{code}
JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
{code}

> kie-maven-plugin "file encoding" should be configurable.
> --------------------------------------------------------
>
>                 Key: DROOLS-522
>                 URL: https://issues.jboss.org/browse/DROOLS-522
>             Project: Drools
>          Issue Type: Feature Request
>    Affects Versions: 6.1.0.Beta4
>            Reporter: Takami Hirata
>            Assignee: Mark Proctor
>
> When generating kjar using kie-maven-plugin, file encoding of DRLs and other plain text file should be configurable.
> Default value of encoding should refer {code}${project.build.sourceEncoding}{code}.
> Maven Guideline: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list