Hi,
if anyone is interested in the solution of this problem, look here:
http://www.mail-archive.com/[email protected]/msg28942.html
The names of the subdirs are the problem.
cheers
Johannes
Johannes Hoechstaedter schrieb:
Hi,
has anybody experiences about the directory generator and includes
with regexp?
Thats my generator:
<map:generate type="directory"
src="context://WEB-INF/classes/${org.gentatoo.descriptors.homeDir}">
<map:parameter name="depth"
value="2"/>
<map:parameter name="include"
value=".\.xml$"/>
</map:generate>
homeDir looks as follows:
/tables
/personnel
1.xml
2.xml
3.xml
4.txt
I only want the xml files.
For the regexp I tried:
"." -> puts out everything (the same as without include parameter)
".xml" -> only parent directory tables
".\.xml$" -> only parent directory tables
".*\.xml$" -> only parent directory tables
and some more.
The Pattern [xml]$ for example filters out the txt file but shows the
xml files to me. I can't use it because .ml files for example are
shown, too. [(xml)]$ is the same.
Johannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]