Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cross-project-issues-dev] com.ibm.icu requirement

Hello Thomas,
 
Subversive doesn't use Hebrew Calendar. You are right that NLS support is simple in Subversive, we just use icu4j classes for dates formatting and simple work with Calendar. Do you mean that Subversive can completely remove dependency on icu4j and use standard Java classes?
 

Best regards,
Burilo Igor


 

From: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Hallgren
Sent: Wednesday, January 21, 2009 12:31 PM
To: Cross project issues
Subject: Re: [cross-project-issues-dev] com.ibm.icu requirement

Hi Igor,
You can safely fall back to using the Character.isWhitespace(). From all I know, there is in fact no difference between UCharacter and Character in that particular method. They both fall back on Unicode and a special set of Java rules.

Also, to my knowledge, the NLS support provided by the Subversion libraries that you are on top of is rudimentary. I doubt very much that it goes beyond whats provided by the standard Java platform which would make the use of ICU4J completely redundant for all your bundles. Does Subversion support a Hebrew Calendar?

Regards,
Thomas Hallgren


Igor V. Burilo wrote:
Hello All,
 
We reviewed Subversive's UI plugin (org.eclipse.team.svn.ui) and found that it also uses UCharacter class which is the only one class which makes it impossible to use com.ibm.use.base. We use only UCharacter.isWhitespace method. Is there any workaround to replace its usage in order not to have dependency to com.ibm.icu plugin, probably we can use java.lang.Character instead of it? Is it acceptable that Subversive has direct dependecy on com.ibm.icu plugin?
 
 

Best regards,
Burilo Igor

 


From: cross-project-issues-dev-bounces@xxxxxxxxxxx [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Hallgren
Sent: Tuesday, January 20, 2009 10:31 PM
To: Cross project issues
Subject: Re: [cross-project-issues-dev] com.ibm.icu requirement

John Arthorne wrote:

I agree you should be able to avoid using ICU4J in headless applications, if you don't need to build locale-specific representations of dates, times, etc. We don't use ICU4J at all in non-UI bundles in Equinox, and the Platform core bundles also don't use it for the most part. Maybe the answer for you is to avoid the problematic classes mentioned on http://wiki.eclipse.org/ICU4J altogether, which would remove any need for ICU4J in Buckminster. Is the problem for you that you have dependencies that in turn pull in the dependency on ICU4J?
Yes, that's the problem. One exampel is the Subversive adapter. As a response to the new requirement, Subversive now has a direct bundle requirement to the com.ibm.icu bundle. They have also some code that uses the UCharacter class which makes it impossible to use the com.ibm.icu.base bundle even if we'd like to. I have submitted a patch for this already to the Subversive project that rectifies the problem and hopefully they will accept it.

<grumpyMode>
I file that under yet another time consuming effort made to satisfy the new requirements that nobody was asking for.
</grumpyMode>

Regards,
Thomas Hallgren


_______________________________________________ cross-project-issues-dev mailing list cross-project-issues-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top