package.xml in custom location
| From: | Tony Bibbs | Date: | Mon, 19 Mar 2007 15:23:24 +0000 |
| Subject: | package.xml in custom location | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-45936@lists.php.net to get a copy of this message | ||
My project has a /path/to/app/build directory where I have all my package*.xml files in it. I have a script in that same directory that runs the "pear package" command on each .xml it finds. Problem is the .xml scripts seem to expect that the "pear package" be issued from the /path/to/app directory as I get a bunch of these sorts of errors:
Error: File ".\plugins/calendar/config.php" in package.xml does not exist
The error makes sense as the /plugins directory is not in /path/to/app/build, it's in /path/to/app.
Is there a way around this? I like keeping all my PEAR build stuff in the /build directory if possible.
--Tony