Comments (3)
You're welcome! One minor quibble: software often does not work; but really, charms never do.
If your build process is reliable and reproducible (I often clean everything out and rebuild from scratch--it takes longer but it is pretty dependable), then you can simply rebuild with a different install
location.
You can actually move the entire installation reasonably reliably. The only code software I know of which does this is the Couchbase Single Server post-install script. I do not think it is open source; however it is publicly-distributed and you can see what it does. Basically that script (which I originally wrote) has a list of all files you need to search-and-replace to get the paths working.
from build-couchdb.
Thx. I'll have a look. What I actually have in mind: When the OSGi starts up it checks "where am I", do I have a base location set (if not use the "where am I"), load all the scripts/ini from inside the JAR which have {{moustache}} place holders, write them out where the CouchDB stuff is and then launch CouchDB. This way the install survives moving of nodes and data (Something not uncommon in JEE land). And it allows configuration without editing files manually (important when deploying into desktop environments). I'll have a look. Now I need to find a windows guy :-)
from build-couchdb.
Yes, all of that definitely works. Let me know if you have any issues or other questions.
from build-couchdb.
Related Issues (20)
- Depending packages missing on Debian Squeeze HOT 2
- Ubuntu 10.04 failure due to python 2.7 requirement
- [Mac OS X 10.7.5] Autoconf build fails. Blocks 1.3.0 binaries. HOT 2
- Error building jsstr in spidermonkey
- build fails on Ubuntu 12.04: "automake" and "autoconf" needed HOT 1
- build couchdb-1.3.0 fails with python-2.6, passes with python-2.7 ... HOT 6
- rake fails on Debian Wheezy
- Missing dependencies (e.g. flex) on Ubuntu 13.04 HOT 3
- Rake fails on OS X HOT 1
- build fails on Fedora 19
- git submodule update command fails on Ubuntu 12.04
- automake problem? HOT 10
- Build won't start — {app_would_not_start,asn1} HOT 8
- Missing package: libxslt1-dev (i have it) HOT 1
- Build fails on OS X Mavericks 10.9 due to lack of ODBC HOT 4
- autom4te: not found HOT 1
- How to copy documents (including attachments) from couchdb backup to couchdb?
- rake fails on openSUSE 12.3 HOT 1
- help2man required HOT 3
- Missing amhello-1.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-couchdb.