Gradwell / ComponentManager

Meta-package to pull in all the support for different components in one, easy package
Other
3 stars 1 forks source link

failure when running phing build-vendor in stock phix project #1

Open michaelsmanley opened 13 years ago

michaelsmanley commented 13 years ago

Attempting to follow the directions in http://blog.stuartherbert.com/php/2011/03/24/setting-up-your-components-package-xml-file/

[exec] config-create: must have 2 parameters, root path and filename to save as Execution of target "setup-vendor" failed for the following reason: /Users/msm/Dropbox/Documents/Business/MSM Projects/Software/Products/php/MSMProjects/Fuselage/build.xml:197:40: Task exited with code 1

It appears that

is failing because the directory I am running it in has a space in a directory in the path.

I'm unfamiliar with allowable syntax for phing tasks. I imagine if the arguments to pear-config have single quotes around them the command will work, if phing is passing those arguments to the shell. That's probably necessary for all of the commands.

michaelsmanley commented 13 years ago

Eliminating the space in the project's path allowed execution of the build-vendor task to progress. Apparently that was hiding other issues.

Starting from scratch, with .tmp/ and vendor/ removed from the project, build-vendor now exits with

 [exec] Unknown channel "pear.msmprojects.com"
 [exec] Parsing of package.xml from file "/Users/msm/Dropbox/Documents/Business/MSMProjects/Software/Products/php/MSMProjects/Fuselage/.tmp/pear/temp/pearDykZSV/package.xml" failed
 [exec] install failed

Execution of target "build-vendor" failed for the following reason: /Users/msm/Dropbox/Documents/Business/MSMProjects/Software/Products/php/MSMProjects/Fuselage/build.xml:187:40: Task exited with code 1

Apparently, build-projects wants to pull from my pear channel. Only problem is, my pear channel doesn't exist yet. That's quite a few posts later in the series :)