LiTiang / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Support for globbing feature with recursion. #401

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if in configuration file it would be possible to use both * 
and ** for globbing.

* - for finding files/directories replacing * with one level of directories. 
Example:
/blah/blah/blah/*/blah/*.js  will be expanded to:

/blah/blah/blah/abc/blah/*.js
/blah/blah/blah/qwer/blah/*.js
/blah/blah/blah/zxcv/blah/*.js

** - for finding files/directories replacing ** with directories recursively. 
Example:
/blah/blah/blah/**/blah/*.js  will be expanded to:

/blah/blah/blah/abc/blah/*.js
/blah/blah/blah/qwer/wety/blah/*.js
/blah/blah/blah/zxcv/poiu/fghjfgh/blah/*.js

There is a new PathResolver.java attached to this request.
It is based on e8949ae10a46231474ffa57f8d1dc923fcfe1b61 commit - only recursion 
added for expanding **.

Please would you include this implementation for globbing feature to the trunk, 
so it will be in future releases?

Thanks.

Original issue reported on code.google.com by Frolov78 on 26 Oct 2012 at 6:27

Attachments:

GoogleCodeExporter commented 9 years ago
Can you fill out this http://code.google.com/legal/individual-cla-v1.0.html. so 
I can apply the patch?

Thanks!

Original comment by corbinrs...@gmail.com on 1 Nov 2012 at 6:57