Can I use Ant with NetBeans PHP projects?
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 - the开发者_如何学Gore'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).
Yes you can. It's described on sun blog and according to date of the post, the posibility is here for long time
There's also this patch I created that adds ant support to PHP, enabling the build/clean functionality.
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
精彩评论