Maven build fails when launched from RTC 2.0
Hi,
I'm running into an issue with one of my builds where its failing when its is executed by the JBE.
Copying 2 resources
Compiling 8 source files to /build/RTC/wdp_bssview/target/classes
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Compilation failure
/build/RTC/snipped/StringUtils.java: unmappable character for encoding UTF8
However, if I run the same build from the command line, the build completes successfully.
The JBE was started from the command line as:
nohup ./jbe -repository https://somewhere.in.ibm:8004/jazz/ -userId maven@us.ibm.com -pass password-goes-herel -engineId engine-id &
Any ideas why it would work from the command line, but fails when launched by JBE?
I'm running into an issue with one of my builds where its failing when its is executed by the JBE.
Copying 2 resources
Compiling 8 source files to /build/RTC/wdp_bssview/target/classes
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Compilation failure
/build/RTC/snipped/StringUtils.java: unmappable character for encoding UTF8
However, if I run the same build from the command line, the build completes successfully.
The JBE was started from the command line as:
nohup ./jbe -repository https://somewhere.in.ibm:8004/jazz/ -userId maven@us.ibm.com -pass password-goes-herel -engineId engine-id &
Any ideas why it would work from the command line, but fails when launched by JBE?
2 answers
You can try to change the default encoding to UTF-8 in RTC CLient by going to: Window > Preferences > General/Workspace page > Text file encoding section
Also, This link may be helpful to you:
http://mark.kolich.com/2008/10/howto-export-langen-usiso-8859-1-to-compile-java-javac-on-linux.html
Also, This link may be helpful to you:
http://mark.kolich.com/2008/10/howto-export-langen-usiso-8859-1-to-compile-java-javac-on-linux.html
You can try to change the default encoding to UTF-8 in RTC CLient by going to: Window > Preferences > General/Workspace page > Text file encoding section
Also, This link may be helpful to you:
http://mark.kolich.com/2008/10/howto-export-langen-usiso-8859-1-to-compile-java-javac-on-linux.html
Thanks for the suggestions, they fixed my problem.