lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Funk <fu...@BATTELLE.ORG>
Subject Re: Index files in jar
Date Mon, 29 Aug 2005 20:50:55 GMT

Why not build a self-extracting jar file and extract the contents of the 
index to a temp directory?

http://www.javaworld.com/javaworld/javatips/jw-javatip120.html

Thomas Lepkowski wrote:

>Hello,
>
>I have a set of index files that I'd like to distribute with my Java 
>application. The only way this seems practical is to place the index files 
>in a jar file. I tried this, but the search choked when I told IndexSearcher 
>the index path inside the jar file ( and placed the jar file path in the 
>CLASSPATH ).
>
>Any ideas on wrapping my index files inside a jar file?
>
>Thanks in advance for any help.
>
>-Tom
>
>  
>

-- 
Dan Funk
Software Engineer

Information Technology Solutions
Battelle Charlottesville Operations
1000 Research Park Boulevard, Suite 105
Charlottesville, Virginia 22911

434.984.0951 x244
434.984.0947 (fax)
FunkD@Battelle.org



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


Mime
View raw message