Accessing index inside WAR file
I need to deploy an application which will embed a read-only Lucene index.
On the destination server(Tomcat), the deployed WAR will not exploded(Cannot change this setting), so I'm unable to access the index like I could via the FS.
I'd like to be able to keep the index inside the WAR to facilitate the deployment (Not having to set up a separate directory on the FS for the Lucene index).
Is there a way to make it work?
Thanks in advance if anyone can point me in the right direction.