You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2009/08/28 03:30:59 UTC

[jira] Updated: (LUCENE-1867) replace collation/lib/icu4j.jar with a smaller icu jar

     [ https://issues.apache.org/jira/browse/LUCENE-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-1867:
--------------------------------

    Attachment: icu4j-collation-4.0.jar

i have uploaded the jar file i created. (i had to bloat it 200KB more with "Misc Data" for it to actually work, sorry)
it is still much smaller, 3,660,340 bytes versus 5,647,316 bytes... almost 2MB savings

i did feel it was best to rename the jar file to icu4j-collation-4.0.jar
This way its not mistaken for a "full" icu4j

No script changes are necessary, as it is referenced as:
{noformat}
  <path id="additional.dependencies">
    <fileset dir="lib" includes="icu4j-*.jar"/>
{noformat}

I compiled this jar with the latest JDK 1.4, and all the tests pass.


> replace collation/lib/icu4j.jar with a smaller icu jar
> ------------------------------------------------------
>
>                 Key: LUCENE-1867
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1867
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: contrib/*
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: icu4j-collation-4.0.jar
>
>
> Collation does not need all the icu data.
> we can shrink the jar file a bit by using the data customizer, and excluding things like character set conversion tables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org