ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-dev
pear-dev
[PEAR-DEV] Custom file role
by Tony Bibbs other posts by this author
Nov 28 2006 8:17AM messages near this date
[PEAR-DEV] [PEPr] Comment on Web Services::Services_W3C_HTMLValidator | [PEAR-DEV] Re: Custom file role
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.

--Tony

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Tony Bibbs
Laurent Laville
Brett Bieber
Christian Weiske
Arnaud Limbourg
Arnaud Limbourg
Arnaud Limbourg

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved