Re: Directory structure problem
| From: | Tomas V.V.Cox | Date: | Fri, 17 Aug 2001 16:28:57 +0000 |
| Subject: | Re: Directory structure problem | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1594@lists.php.net to get a copy of this message | ||
Mika Tuupola wrote:
>
> On Fri, 17 Aug 2001, Tomas V.V.Cox wrote:
>
> the problem was that if _in cvs_ I had the stuff in directory
> Foo_Bar (like Net_Ping for example), and after running the PEAR
> installer the stuff goes into directory Foo/Bar/ this will
> break all the includes which in cvs point into Foo_Bar/Dir/
> but after running PEAR installer should point to Foo/Bar/Dir/
Yes. But the package tree is the last thing you may want to do. The
development should be done as if the package would be installed. When
changes are done copy files to package cvs and do the commit.
> So either the requires are broken during developing or after
> running the installer (if the directory structure is different
> in cvs and actual install).
If you have a Unix system, one posible solution could be to make
symlinks from the package structure to the pear base dir structure.
Tomas V.V.Cox