Can I use Ant with NetBeans PHP projects?

与世无争的帅哥 提交于 2020-01-14 03:54:26

问题


I would like to use Ant with some of my PHP projects but I'm not sure how. I tried creating a build script with a few targets but couldn't execute any of them from within Netbeans - there's simply no option to. Is this feature supported in this context or not? If yes, then how do I use it (I must obviously be missing something in this case). I'm using NetBeans 6.7.1 (Ant plugin is installed).


回答1:


Yes you can. It's described on sun blog and according to date of the post, the posibility is here for long time




回答2:


There's also this patch I created that adds ant support to PHP, enabling the build/clean functionality.




回答3:


Sure there is an option or solution in netbeans (at least as external tool as in eclipse), but you could set up an continous integration system like cruiser control for build your project by version control system. There is an easy to use wrapper for cc created for PHP, named PHPunderControl. PHPUC uses Ant, PHPUnit, PHPCS as well. Take a look at it: PHPUC



来源:https://stackoverflow.com/questions/1775049/can-i-use-ant-with-netbeans-php-projects

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!