This is a problem i've been struggling with for years now, and I wonder if any of you found a solution.
I'm trying to maintain a reusable and updatable function library of code. By reusable I mean that I want to use the same code in multiple projects in multiple locations (as any snippets library / function list / custom class?). This part is quite easy. At the moment we share a common onenote workbook that contains a page for each snippet / function / sub (we're talking web development). I'm considering setting up a seperate subversion repository for this so so that you can have it filebased, versionable and local at the same time.
However the way it's implemented is that code is copied into (usually the functions.asp include part of) the project. Then after one of us discovers an error or extends the function I have to update all the other projects with this code by a search and replace and I have no way to ensure that all instances have been updated. Someone might have made a small change in one of the functions for this specific project.
Hardly an ideal solution and I guess we're looking at some kind of extendable classes system but your thoughts would be appreciated.
I'm trying to maintain a reusable and updatable function library of code. By reusable I mean that I want to use the same code in multiple projects in multiple locations (as any snippets library / function list / custom class?). This part is quite easy. At the moment we share a common onenote workbook that contains a page for each snippet / function / sub (we're talking web development). I'm considering setting up a seperate subversion repository for this so so that you can have it filebased, versionable and local at the same time.
However the way it's implemented is that code is copied into (usually the functions.asp include part of) the project. Then after one of us discovers an error or extends the function I have to update all the other projects with this code by a search and replace and I have no way to ensure that all instances have been updated. Someone might have made a small change in one of the functions for this specific project.
Hardly an ideal solution and I guess we're looking at some kind of extendable classes system but your thoughts would be appreciated.






VanDragt.com

- carpe noctem




) check out locally and modify files on their local machines, then commit it, it gets automatically checked out on the testing server in the public root for that site (for new sites) or in a temporary checkout folder and robocopied to the public root. We only ever edit code locally.