It's all about the answers!

Ask a question

Maven build fails when launched from RTC 2.0


Enrique Gaona (13462526) | asked Aug 25 '09, 10:02 a.m.
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?

2 answers



permanent link
Stephanie Bagot (2.1k1513) | answered Aug 25 '09, 11:17 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Enrique Gaona (13462526) | answered Aug 25 '09, 12:21 p.m.
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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.