开发者

Phing - Installing and using with MAMP

开发者 https://www.devze.com 2023-04-11 16:17 出处:网络
I have successfully installed Phing but have a few questions.Right now, in order to use it I have to open up the Terminal and change directory to my /Applicati开发者_运维百科ons/MAMP/bin/php/php5.3.7/

I have successfully installed Phing but have a few questions. Right now, in order to use it I have to open up the Terminal and change directory to my /Applicati开发者_运维百科ons/MAMP/bin/php/php5.3.7/bin and then have to do:

./phing -f /Applications/MAMP/htdocs/Build-System/build/build.xml 

I have a feeling I am doing something wrong cause that's pretty long and all tutorials I read just do Phing -f build.xml and all of these short commands.

Does anyone have any idea what I am doing wrong? Not sure if you need more information but I installed it using this tutorial. Do I have to change directories every time to my MAMP php bin and then use a full path to the build.xml file?

Thanks!


You usually run the command just by using phing from the directory where you have your build.xml located. That requires you to have the phing executable in your system path. I haven't tried this in MAMP but if you know how to set your system PATH then this should be quite easy to fix.

0

精彩评论

暂无评论...
验证码 换一张
取 消