On Jun 21, 2009, at 12:52 PM, Uwe Schindler wrote:

One addition: The problem with packaging 2 jars of one contrib is also, that all JAR files of Lucene are also generated as Maven artifacts. To generate the correct Metadata and so on, there is more to be done than just changing
the build.xml.

If we want this separate, the simpliest is to put in an own contrib module,
e.g. contrib-analyzers-cn


I think this is the best solution -- should be easy to implement also. This way it could be easily included or not.

This is only really an issue in environments where we need to worry about install footprint -- I was just surprised to see my installer grow by 3MB -- since i'm not using the chinese analyzers, that should be avoidable. Of course I could edit the jar myself, but it would be nice to make the artifacts maven friendly.

ryan



Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

-----Original Message-----
From: Simon Willnauer [mailto:simon.willna...@googlemail.com]
Sent: Sunday, June 21, 2009 6:37 PM
To: java-dev@lucene.apache.org
Subject: Re: 3MB lucene-analyzers.jar?

On Sun, Jun 21, 2009 at 6:24 PM, Earwin Burrfoot<ear...@gmail.com> wrote:
But: I do not understand the problems with this JAR file. If somebody
really
wants to have smaller files, one could use some tools, that do it
automatically on class usage.
I personally have a couple of usecases for that as I have to work in very limited environments. Imagine embedded systems or mobile phones where 500 kb is a lot. if you realy need the analyzer you can include
the additional jar.
Jar Jar Links - special tools for special tasks.

Well, you could do that by hand too, no question. unzip -> zip ->
done. But this is not about "is it possible to do it?!" its about
providing a packaging that is convinient for users. I would vote for
an extra jar file as it is only packaging.

simon
--
Kirill Zakharenko/Кирилл Захаренко (ear...@gmail.com)
Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423
ICQ: 104465785


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



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



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

Reply via email to