douqudi5282 2011-10-10 00:03
浏览 56
已采纳

Phing - 安装和使用MAMP

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 /Applications/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!

  • 写回答

1条回答 默认 最新

  • douba2011 2011-10-11 07:54
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体
  • ¥88 实在没有想法,需要个思路
  • ¥15 MATLAB报错输入参数太多
  • ¥15 python中合并修改日期相同的CSV文件并按照修改日期的名字命名文件
  • ¥15 有赏,i卡绘世画不出
  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题