I'm not an XWork committer, and I think Don actually wrote the PatternMatcher, which is basically the main component behind ClassPathFinder. Don ended up committing the patch for me. None of the Struts code needed altered when this was added, so I never really worried about the header.
WildcardHelper doesn't look for files, ClassPathFinder does though. It searches recursively, so use with caution. On Mon, Jul 7, 2008 at 10:50 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/7/7 Wes Wannemacher <[EMAIL PROTECTED]>: >> I added some wildcard support to XMLConfigurationProvider a while ago. >> It's not particularly feature-rich, but it works somewhat intuitively. >> Check the unit tests for examples of using it... >> >> http://svn.opensymphony.com/fisheye/browse/~raw,r=1833/xwork/trunk/src/test/com/opensymphony/xwork2/util/WildcardHelperTest.java > > Thanks a lot Wes, I will check it out this evening, it seems useful. > > But I have a couple of questions: > 1. Is WildcardHelper used to get a list of files and resources that > match a pattern? > 2. What about the header that I need to include in the modified > source? Since I know that there is a sort of "treaty" between XWork > and Struts 2, I think that no header is necessary... or yes? > > Thanks again > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]