You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by markharw00d <ma...@yahoo.co.uk> on 2007/11/29 00:13:05 UTC
First cut at web-based Luke for contrib
Any takers to test this contrib layout before I commit it?
http://www.inperspective.com/lucene/webluke.zip
This is a (17MB) zip file which you can unzip to a new "webluke"
directory under your copy of lucene/contrib and then run the usual
Lucene Ant build ( or at least "ant build-contrib").
You should then find under build/contrib/webluke/WebLuke.war plus a
Jetty-based server in build/contrib/webluke/dist which can be started
using java -jar start.jar. A Luke webapp should then be available on
http://localhost:8080/WebLuke
I've tested building here on XP but want to check that the GWT compile
task works ok for others as the Google compiler is packaged in a
platform-specific windows jar. I've tested this ant build with the
windows jar on a Linux box and all was OK so I'm guessing the
platform-specific bits of the google dev tools are related to the
browser choices used in their "hosted" dev mode rather than the
Java-to-Javascript compiler.
I need to add Apache licenses to all the source yet and tidy some
superfluous files but otherwise it feels just about ready to contribute.
Cheers
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by Mark Miller <ma...@gmail.com>.
Yes, didn't mean jar, meant zip...or tar.
I guess this may not be a sticky point for most people.
For me, I just get knee jerk seeing the dist size quadruple for a
feature, that is in reality a very small part of the dist.
I am not arguing against adding it, just noting my stomach drop. Take it
for what you will. It wouldn't stop me from downloading Lucene.
- Mark
Doug Cutting wrote:
> Mark Miller wrote:
>> My only concern is with the size increase this will give to the
>> Lucene jar. Another 17 meg - yikes!
>
> You mean the release tar file, not the jar, right? Is the size of the
> release really an issue for folks?
>
> Doug
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by Grant Ingersoll <gs...@apache.org>.
I wouldn't worry about it too much. The binary distribution probably
should just contain the built WAR (and Jetty?) and the source dist can
have everything.
-Grant
On Nov 29, 2007, at 2:33 AM, markharw00d wrote:
> The 17 MB bundle I provided is essentially the source plus
> dependencies, the bulk of which is jars, mainly the compile-time
> dependency gwt-dev-windows.jar weighing in at 10MB.
>
> The built WAR file is only 1.5 meg.
> The WAR file bundled with Jetty (as a convenience) is 8 meg.
>
> It may be possible to use Proguard or something like that to try
> slim down the gwt-dev-windows.jar.
>
> Cheers,
> Mark
>
>
> Doug Cutting wrote:
>> Mark Miller wrote:
>>> My only concern is with the size increase this will give to the
>>> Lucene jar. Another 17 meg - yikes!
>>
>> You mean the release tar file, not the jar, right? Is the size of
>> the release really an issue for folks?
>>
>> Doug
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by markharw00d <ma...@yahoo.co.uk>.
The 17 MB bundle I provided is essentially the source plus dependencies,
the bulk of which is jars, mainly the compile-time dependency
gwt-dev-windows.jar weighing in at 10MB.
The built WAR file is only 1.5 meg.
The WAR file bundled with Jetty (as a convenience) is 8 meg.
It may be possible to use Proguard or something like that to try slim
down the gwt-dev-windows.jar.
Cheers,
Mark
Doug Cutting wrote:
> Mark Miller wrote:
>> My only concern is with the size increase this will give to the
>> Lucene jar. Another 17 meg - yikes!
>
> You mean the release tar file, not the jar, right? Is the size of the
> release really an issue for folks?
>
> Doug
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by Doug Cutting <cu...@apache.org>.
Mark Miller wrote:
> My only concern is with the size increase this will give to the Lucene
> jar. Another 17 meg - yikes!
You mean the release tar file, not the jar, right? Is the size of the
release really an issue for folks?
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by Mark Miller <ma...@gmail.com>.
Compiled and ran it on Vista. Very cool. I am also a huge GWT fan.
This is a great start. Only issue I ran into was also the scrolling
issue when selecting the drive...but based on the TODO: comments, it
appears you have seen that.
Grant:
It doesn't ask permission to read your hard drive because a webapp
running in Jetty is reading the server hard drive and sending the info
to GWT with ajax rpc calls.
My only concern is with the size increase this will give to the Lucene
jar. Another 17 meg - yikes!
- Mark
Grant Ingersoll wrote:
> Seriously cool!
>
>
> On Nov 28, 2007, at 6:13 PM, markharw00d wrote:
>
>> Any takers to test this contrib layout before I commit it?
>> http://www.inperspective.com/lucene/webluke.zip
>> This is a (17MB) zip file which you can unzip to a new "webluke"
>> directory under your copy of lucene/contrib and then run the usual
>> Lucene Ant build ( or at least "ant build-contrib").
>> You should then find under build/contrib/webluke/WebLuke.war plus a
>> Jetty-based server in build/contrib/webluke/dist which can be started
>> using java -jar start.jar. A Luke webapp should then be available on
>
> The zip doesn't have a parent dir, so I would put it under
> contrib/webluke
>
>> http://localhost:8080/WebLuke
>>
>> I've tested building here on XP but want to check that the GWT
>> compile task works ok for others as the Google compiler is packaged
>> in a platform-specific windows jar. I've tested this ant build with
>> the windows jar on a Linux box and all was OK so I'm guessing the
>> platform-specific bits of the google dev tools are related to the
>> browser choices used in their "hosted" dev mode rather than the
>> Java-to-Javascript compiler.
>>
>
> Works for me on OS X 10.5 using Java 1.5. Only minor annoyance is the
> expansion of directories when choosing the index directory in that it
> always scrolls back to the top, but heh, that is just a nit.
>
> Also, doesn't it have to ask me for permission to access my hard
> drive? Don't know about GWT, so maybe just my ignorance.
>
> At any rate, I had it up and running and browsing my index in
> minutes. And the Visualization of Zipfs law is really cool too, as is
> the vocab growth graph!
>
> Very nice work and I imagine it will only get better. +1 for adding
> it to contrib!
>
> -Grant
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: First cut at web-based Luke for contrib
Posted by Grant Ingersoll <gs...@apache.org>.
Seriously cool!
On Nov 28, 2007, at 6:13 PM, markharw00d wrote:
> Any takers to test this contrib layout before I commit it?
> http://www.inperspective.com/lucene/webluke.zip
> This is a (17MB) zip file which you can unzip to a new "webluke"
> directory under your copy of lucene/contrib and then run the usual
> Lucene Ant build ( or at least "ant build-contrib").
> You should then find under build/contrib/webluke/WebLuke.war plus a
> Jetty-based server in build/contrib/webluke/dist which can be
> started using java -jar start.jar. A Luke webapp should then be
> available on
The zip doesn't have a parent dir, so I would put it under contrib/
webluke
> http://localhost:8080/WebLuke
>
> I've tested building here on XP but want to check that the GWT
> compile task works ok for others as the Google compiler is packaged
> in a platform-specific windows jar. I've tested this ant build with
> the windows jar on a Linux box and all was OK so I'm guessing the
> platform-specific bits of the google dev tools are related to the
> browser choices used in their "hosted" dev mode rather than the Java-
> to-Javascript compiler.
>
Works for me on OS X 10.5 using Java 1.5. Only minor annoyance is the
expansion of directories when choosing the index directory in that it
always scrolls back to the top, but heh, that is just a nit.
Also, doesn't it have to ask me for permission to access my hard
drive? Don't know about GWT, so maybe just my ignorance.
At any rate, I had it up and running and browsing my index in
minutes. And the Visualization of Zipfs law is really cool too, as is
the vocab growth graph!
Very nice work and I imagine it will only get better. +1 for adding
it to contrib!
-Grant
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org