TVSET has asked for the wisdom of the Perl Monks concerning the following question:
Directory structure for stable version is:
/var/www/intranet/stable/ /var/www/intranet/stable/*.epl /var/www/intranet/stable/lib/ /var/www/intranet/stable/lib/*.pm
Directory structure for development version is:
/var/www/intranet/devel/ /var/www/intranet/devel/*.epl /var/www/intranet/devel/lib/ /var/www/intranet/devel/lib/*.pm
All my Embperl files (*.epl) do have
use lib "/var/www/intranet/devel/lib"
line at the beginning. When I need to release a version as a stable one, I need to go through all of the files and change the "use lib" line to point to "/var/www/intranet/stable/lib".
That is not a big problem, but it's rather inconvinient. I am interested in examples of TMTOWTDI from all of you :)
I, myself, came up with the following ways to go about the problem:
All ideas and comments are very well welcome. TIA.
P.S.: I am not posting it into SoPW, since this is a generic question and more or less applies to projects in any other language.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File/Directory hierarchy for devel/stable versions
by Abigail-II (Bishop) on May 19, 2003 at 23:45 UTC | |
|
Re: File/Directory hierarchy for devel/stable versions
by mr_mischief (Monsignor) on May 19, 2003 at 23:08 UTC | |
by chromatic (Archbishop) on May 20, 2003 at 03:58 UTC | |
|
Re: File/Directory hierarchy for devel/stable versions
by Juerd (Abbot) on May 19, 2003 at 23:19 UTC | |
by TVSET (Chaplain) on May 19, 2003 at 23:28 UTC | |
|
Re: File/Directory hierarchy for devel/stable versions
by blokhead (Monsignor) on May 20, 2003 at 04:39 UTC | |
|
Re: File/Directory hierarchy for devel/stable versions (relative paths)
by zby (Vicar) on May 20, 2003 at 08:08 UTC |