Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 25 '09, 10:02 a.m.

Question was seen: 6,068 times

Last updated: Aug 25 '09, 10:02 a.m.

Confirmation Cancel Confirm