build PHP with ant scripts

后端 未结 4 1040
天命终不由人
天命终不由人 2021-02-14 01:38

I was just wondering how I use Ant to build my web applications that I have written in PHP? I\'ve googled around a bit and I have seen that it is possible but there are not any

4条回答
  •  星月不相逢
    2021-02-14 02:12

    We use ant to 'build' php apps. At it's most basic, the ant script just copies the file into the folder on the testing webserver (localhost in my case).

    Why do this? well there's not a great deal of point to it, but it is a handy way to avoid putting .svn files into the webserver. If you want to change the location of the webserver you can just build to the new location. You can also do different things according to whether you're on Linux or Windows for example, but I've never used that side of it.

提交回复
热议问题