ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lund <>
Subject pattern matching & directories
Date Thu, 05 Apr 2001 04:42:02 GMT
Is there a way to use pattern matching to generate a list of directories for
path elements like sourcepath? For example, consider this [pseduo-code]
attempt to find subdirectories named "src":

<javadoc ...>
		<fileset dir="${project.dir}" defaultexcludes="no">
			<include name="**/src" />
			<exclude name="**/*.?*" />

I believe the <include.../> in this snippet is implicity converted to
"**/src/*", so it won't work. I've also tried "**/???", but that doesn't
work either.

John Lund,

View raw message