Re: Custom file role
| From: | Laurent Laville | Date: | Tue, 28 Nov 2006 19:45:09 +0000 |
| Subject: | Re: Custom file role | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45042@lists.php.net to get a copy of this message | ||
Tony Bibbs a écrit :
I'm trying to use PEAR for deploying an entire web application as opposed to just libraries. My scenario is simple...everything in my tarball needs to go into a web tree. I've created a Web role (Web.php) extending the Custom role and I've got it packaged up and installing fine to the PEAR/Installer/Role directory. Problem is when I try to deploy my app using the Web role I'm getting: PEAR_PackageFileManager2 Error: Invalid file role passed to addRole, must be one of "data, doc, php, script, test", was passed "web" I'm not 100% how all this stuff stitches together but I noticed in the PEAR/Installer/Role directory each role PHP script has a corresponding .xml file. Is that my problem? I'm guessing I'm missing a simple step here. --TonyPerharps it's not enough to understand , but I wrote something related to your need . http://www.laurent-laville.org/pear/PEAR_PackageFileManager/docs/TDG/en/ch11.html Laurent