Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle build scripts should specify the source encoding #644

Open
zosrothko opened this issue Dec 11, 2017 · 0 comments
Open

Gradle build scripts should specify the source encoding #644

zosrothko opened this issue Dec 11, 2017 · 0 comments

Comments

@zosrothko
Copy link

Hi

On my French Windows 10 os with default encoding as Cp1252, I got the build errors below.
IMHO, Ironjacamar build script should specify that the source encoding is UTF-8. BTW, Gradle just release the 4.4 version.

C:\Users\fandre\Documents\MXW\ironjacamar>gradlew build
...
...
C:\Users\fandre\Documents\MXW\ironjacamar\api\src\main\java\javax\resource\spi\work\SecurityContext.java:132: error: unmappable character for encoding Cp1252
    * principal.ÔÇ?
                  ^
C:\Users\fandre\Documents\MXW\ironjacamar\api\src\main\java\javax\resource\spi\work\SecurityContext.java:143: error: unmappable character for encoding Cp1252
    * the type of the created principals.ÔÇ?
                                           ^
C:\Users\fandre\Documents\MXW\ironjacamar\api\src\main\java\javax\resource\spi\work\SecurityContext.java:147: error: unmappable character for encoding Cp1252
    * ÔÇ£to employ the password validation facilities of its containing runtime.ÔÇ?
3 errors
:api:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':api:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): 'C:\Users\fandre\Documents\MXW\ironjacamar\api\build\tmp\javadoc\javadoc.options'

C:\Users\fandre\Documents\MXW\ironjacamar>gradlew -version

------------------------------------------------------------
Gradle 2.13
------------------------------------------------------------

Build time:   2016-04-25 04:10:10 UTC
Build number: none
Revision:     3b427b1481e46232107303c90be7b05079b05b1c

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_141 (Oracle Corporation 25.141-b15)
OS:           Windows 10 10.0 amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant