I just recently began to use libraries as our BPM development has been taking off lately. We have a development system and a production system (which I'm sure is common), but now I'm wondering what the best way is to target the development system with a library when the host processes are deployed to the development system and have the same referenced library target the production system when the process is later deployed to production.
I don't really understand entirely how libraries work -- if a process deployed to repository A references a library also in repository A, what happens if the process is then deployed to repository B? What happens if the library does not exist in repository B? Or does the process, now in repository B, somehow (across server boundaries) refer back to the library which is still in repository A?