English 中文(简体)
What does ** mean in Phing?
原标题:
  • 时间:2010-02-26 15:58:00
  •  标签:
  • filter
  • phing

The Phing User s Guide uses the following description of the ** file filter:

"Two asterisks (**) may include above the "border" of the directory separator."

I m having a hard time deciphering what this really means. Can somebody please translate this into English?

最佳回答

** matches any character while * matches anything except for a directory separator.

For example, /path/** will match either of these:

  • /path/file
  • /path/to/some/file
  • /path/to/some/other/file

However, /path/* will only match the first one.

问题回答

暂无回答




相关问题
Phing not working on OSX / MAMP

Here is what I have tried thus far: > cd /Applications/MAMP/bin/php5/bin/ > ./pear channel-discover pear.phing.info > ./pear install phing/phing Installation ran. I can run the following: &...

What does ** mean in Phing?

The Phing User s Guide uses the following description of the ** file filter: "Two asterisks (**) may include above the "border" of the directory separator." I m having a hard time deciphering what ...

phing versus phpunit codecoverage results

I have created a build.xml file for phing to create code coverage reports. It uses phpunit codecoverage="true" and is pointed to the same file(s) as done with phpunit --coverage-html. The result ...

Do I use phing locale or remote?

I have a question related to phing. Do I use it on my local development machine to deploy an application or do I call it via ssh from production machine? I m not sure where to do the steps from Eran ...

Setting up a deployment / build / CI cycle for PHP projects

I am a lone developer most of my time, working on a number of big, mainly PHP-based projects. I want to professionalize and automate how changes to the code base are handled, and create a Continuous ...

Why won t PHP create this zip file (permissions issue)

I am on windows I am using PHING to zip up some files I have lots of things being zipped Zipping works, except for ones that include a particular phing fileset in the files being zipped When I debug, ...

Running unit tests on both windows and linux

Is there a way, a method, to be able to effectively run unit tests (phpunit) on both linux and windows? I need to do this because some parts of the system is only available under linux, but i do want ...

热门标签