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

teamFetch giving unknown encoding errors on new machine

We use the teamFetch ANT task (and the teamAccept task) to download code from the repository to a Windows machine. This has been working for quite a while.

We got a new machine and when we try to run the teamFetch on the new machine we get unknown encoding messages and unable to convert platform line delimiters. This is happening on our Korean, Japanese, and Chinese XML files.

I don't see how the new machine setup is different from the original. What should I be looking for?

I was able to install RTC on the machine and use the GUI to load the repository without any errors.

I have included a sample below.

Thanks,
Eric Simpson


Status ERROR: com.ibm.team.filesystem.client code=0 There were errors during download. It is recommended that components be reloaded. The reload will be incremental, loading only the missing items. You can further reduce the reload time by reloading just the projects out of sync. null children=[Status ERROR: com.ibm.team.filesystem.client code=0 Failed to download /com.ibm.etools.iseries.ilecbl.doc.nl1/nl/ko/evfb4cod02.xml due to unknown encoding euc-kr. Team should agree on a common encoding. com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0036I Unable to convert platform line delimiters: euc-kr

0 votes



2 answers

Permanent link
Based on the error message, it looks like the JRE on that machine is missing the euc-kr encoding. Check which JRE you're using -- is it the one that shipped RTC, or does your command line or TeamConcert.ini point to some other one? If neither specifies a VM, check which one you get by default by running: java -version.

If you're using multiple locales, we recommend setting the default encoding to UTF-8 (via Window > Preferences > General/Workspace).

0 votes


Permanent link
To clarify: you want to determine which JRE you're using to run the ANT task.

If this is running as part of a Jazz build, check the build definition's Ant page. Does it specify anything in the Java home field? If not, then it uses the same JRE used to run the build engine.

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: Jan 07 '09, 4:13 p.m.

Question was seen: 6,501 times

Last updated: Jan 07 '09, 4:13 p.m.

Confirmation Cancel Confirm