intl/icu/source/data/icu4j-readme.txt

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 ********************************************************************************
     2 * Copyright (C) 2008-2012, International Business Machines Corporation         *
     3 * and others. All Rights Reserved.                                             *
     4 *                                                                              *
     5 * 6/26/08 - Created by Brian Rower - heavy copying from ICU4J readme & others  *
     6 *                                                                              *
     7 ********************************************************************************
     9 Procedures for building ICU4J data from ICU4C data:
    11 *Setup*
    13 In the following,
    14         $icu4c_root is the ICU4C root directory
    15         $icu4j_root is the ICU4J root directory
    16         $jdk_bin is the JDK bin directory (for the jar tool)
    18 1. Download and build ICU4C. For more instructions on downloading and building
    19         ICU4C, see the ICU4C readme at:
    20         http://source.icu-project.org/repos/icu/icu/trunk/readme.html#HowToBuild
    21 	(Windows: build as x86, Release otherwise you will have to set 'CFG' differently below.)
    23 	*NOTE* You should do a full rebuild after any data changes.
    24 1a.  If you didn't download from Subversion, you will also need the "icu4c-*-data.zip" file.  Unpack this file and replace the icu/source/data directory's contents with the contents of the data directory from the zip file.  
    27 2. Step 2 depends on whether you are on a Windows or a Unix-type
    28 platform.
    30 *Windows* 
    32 2a. On the command line, cd to $icu4c_root\source\data.
    34 2b. On the command line,
    35         nmake -f makedata.mak ICUMAKE=$icu4c_root\source\data\  CFG=x86\Release JAR="$jdk_bin\jar" ICU4J_ROOT=$icu4j_root  icu4j-data-install
    37        Continue with step 3 below, in Java:
    40 *Linux*
    42         $icu4c_build is the ICU4C root build directory,
    43         which is $icu4c_root/source in an in-source build.
    44         (in other words, $icu4c_build is where you ran runConfigureICU or configure)
    46 2c. On the command line, cd to $icu4c_build/data
    48 2d. Do
    49         make JAR=$jdk_bin/jar ICU4J_ROOT=$icu4j_root icu4j-data-install
    51        (You can omit the JAR if it's just jar.)
    53 	Continue with step 3, in Java:
    55 Step 2 on either platform will produce two files: icudata.jar and
    56 icutzdata.jar in $icu4j_root/main/shared/data.
    58 *Java*
    60 3. After the ICU4C-side steps above, build the main target of the
    61         ICU4J ant build to unpack the jar files with the following commands:
    63         cd $icu4j_root
    64         ant main

mercurial