Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Last Call: ICU4J Adoption in DTP

Thanks Brian.

John Graham
Staff Software Engineer
Sybase, Inc.
telephone: (978) 287-1634  (GMT - 5)
e-mail: john.graham@xxxxxxxxxx



                                                                           
             Brian Payton                                                  
             <bpayton@xxxxxx.c                                             
             om>                                                        To 
             Sent by:                  DTP development mailing list        
             dtp-dev-bounces@e         <dtp-dev@xxxxxxxxxxx>               
             clipse.org                                                 cc 
                                                                           
                                                                   Subject 
             01/16/2006 05:26          Re: [dtp-dev] Last Call: ICU4J      
             PM                        Adoption in DTP                     
                                                                           
                                                                           
             Please respond to                                             
              DTP development                                              
               mailing list                                                
             <dtp-dev@eclipse.                                             
                   org>                                                    
                                                                           
                                                                           





John,

I'll make the changes needed in the modelbase.sql and sqltools.sqleditor
components.

Regards,
Brian

Brian Payton
SQL Tools Development
IBM Silicon Valley Laboratory
(408) 463-2989, T/L 8-543-2989



                                                                           
 jograham@xxxxxxxxxx                                                       
 Sent by:                                                                  
 dtp-dev-bounces@xxxxxxxxxxx                                            To 
                                                dtp-dev@xxxxxxxxxxx,       
                                                dtp-pmc@xxxxxxxxxxx        
 01/16/2006 01:45 PM                                                    cc 
                                                                           
                                                                   Subject 
        Please respond to                       [dtp-dev] Last Call: ICU4J 
   DTP development mailing list                 Adoption in DTP            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





As mentioned below, we'd like to integrate ICU4J into DTP for the M3 build
(this Friday). Unless I hear otherwise, I will make these changes myself
(except for the ODA plug-ins -- see below) and check them into CVS. Any
component/team lead who prefers to handle these changes personally should
reply to the message.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Staff Software Engineer
Sybase, Inc.




            John
            Graham/SYBASE
                                                                       To
            01/13/2006 04:29          dtp-dev@xxxxxxxxxxx
            PM                                                         cc
                                      dtp-pmc@xxxxxxxxxxx
                                                                  Subject
                                      ICU4J Adoption in DTP









As part of our Callisto responsibilities, we need to adopt ICU4J (
http://icu.sourceforge.net/) in DTP. This provides robust
internationalization/localization support in ways not covered by the
standard J2SE.Stating in Eclipse 3.2M4, an ICU4J plug-in is included in the
platform download, and this is the version that we should use in DTP.

The impact of making this change is using ICU4J equivalent classes in place
of stock J2SE one. These are:

java.text.BreakIterator
java.text.CollationKey
java.text.Collator
java.text.DateFormat
java.text.DecimalFormat
java.text.NumberFormat
java.text.SimpleDateFormat
java.text.StringCharacterIterator
java.util.StringTokenizer

Essentially, this means replacing the java.* package names for these class
(typically in import statements) to com.ibm.icu.* equivalents. Scanning the
code currently included in the DTP build, I found 31 occurrences in 13
plug-ins (See attached report). I'd like to suggest that one person (me)
makes all these changes, since each is easy and low-risk. In discussions
with the PMC yesterday, we set early February (2/10) as a target for
completing this. If the group agrees, I will make these changes for M3
(1/20) in all except for the ODA plug-ins, which will follow in early
February after the next BIRT release.

Next, there is the question of Eclipse 3.1 support. Fortunately, the ICU4J
plug-in is a stand-alone jar wrapper, so extracting it from Eclipse 3.2M4
and using it Eclipse 3.1 is, in theory, not a problem. When I tried this,
however, the ICU4J plug-in failed to install, due to OSGI compliance levels
and lazy-loading values set in the manifest file. We've dealt with the
lazy-loading values in the back-port of the org.eclipse.ui.navigator
plug-in already, so that was easy to fix. After some research, I found that
removing the compliance level flag allows the plug-in to install and load
in Eclipse 3.1. I tested the ICU4J functionality with a simple plug-in, and
it seemed to work correctly. Of course, I did not run a comprehensive test,
but nothing seems to be blocking this usage in Eclipse 3.1. In order to
make this available to the community for use and further testing, we have
included this tweaked version of ICU4J in today's "Eclipse 3.1
compatibility pack" iteration build, found on the DTP download page.

Regards,
John Graham
Eclipse Data Tools Platform PMC
Staff Software Engineer
Sybase, Inc.

(See attached file:
icu4j_report.pdf)_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev
[attachment "icu4j_report.pdf" deleted by John Graham/SYBASE]
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev




Back to the top