Community
Participate
Working Groups
if you use this in your workflow: <prExcludes value="*.xml, *.hbm"/> without setting <prDefaultExcludes> to false, this will cause an exception: INFO - Source scan started ... ERROR - GlobbingFileFilter does not support stars in the middle (.svn*.xml,). java.lang.IllegalArgumentException: GlobbingFileFilter does not support stars in the middle (.svn*.xml,). at org.openarchitectureware.xpand2.pr.util.GenericFileFilter$GlobbingFileFilter.accept(GenericFileFilter.java:123) at org.openarchitectureware.xpand2.pr.util.GenericFileFilter.accept(GenericFileFilter.java:73) at org.openarchitectureware.xpand2.pr.util.GenericFileFilter.accept(GenericFileFilter.java:64) at java.io.File.listFiles(File.java:1091) at org.openarchitectureware.xpand2.pr.util.FSIO.getAllFilesInternal(FSIO.java:37) at org.openarchitectureware.xpand2.pr.util.FSIO.getAllFiles(FSIO.java:149) at org.openarchitectureware.xpand2.pr.ProtectedRegionResolverImpl.init(ProtectedRegionResolverImpl.java:307) workaround: changing to <prExcludes value=", *.xml, *.hbm"/> will fix it. but it would be better to do this inside the code, because if you're setting <prDefaultExcludes> to false, then <prExcludes value="*.xml, *.hbm"/> would be valid. or the lite version: add the different ways to the documentation ;-)
Fixed in branch 4.2. Moving now to M2T for HEAD.
Created attachment 87450 [details] Patch Patch includes unit test
Fixed now in Head.
Move to verified as per bug 206558.
Bug resolved before Xpand 1.2 release date => Closing