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)
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to