Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

running couchdb-lucene using .war file #118

Merged
merged 4 commits into from May 26, 2011
Merged

running couchdb-lucene using .war file #118

merged 4 commits into from May 26, 2011

Conversation

cliffano
Copy link
Contributor

couchdb-lucene-.war can now be generated using mvn war:war.
coucdbb-lucene--dist.zip stays the same, built using the assembly descriptor.

Extracted config handling to com.github.rnewson.couchdb.lucene.Config, now used by both com.github.rnewson.couchdb.lucene.Main and com.github.rnewson.couchdb.lucene.LuceneServlet no-argument constructor. LuceneServlet no-arg constructor is useful for web.xml config.

…ting when running via Tomcat. Extracted configuration handling to Config class, used by Main and LuceneServlet's no-arg constructor.
…fy war file build using mvn war:war. Assembly descriptor still puts those resources files to conf dir in -dist.zip .
@cliffano
Copy link
Contributor Author

Forgot to add, the .war file is handy for running couchdb-lucene on a servlet container like Tomcat.

@cliffano cliffano closed this May 25, 2011
@cliffano cliffano reopened this May 25, 2011
@rnewson
Copy link
Owner

rnewson commented May 26, 2011

Hi Cliffano,

I like the idea of running (optionally) from a WAR file. The commits contain a considerable about of reformatting / white space changes, which makes it hard to see the substantive changes, I'd be grateful if you could fix those and send an updated pull request.

@cliffano
Copy link
Contributor Author

Whoops, didn't realise I mangled the indentation. It's all good now.

I think my last commit is automatically included in this pull request https://github.com/rnewson/couchdb-lucene/pull/118/files .

rnewson pushed a commit that referenced this pull request May 26, 2011
running couchdb-lucene using .war file
@rnewson rnewson merged commit 0081272 into rnewson:master May 26, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants