ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Waugh" <>
Subject Re: Optional <entry/> if and only if properties file exists?
Date Thu, 13 Nov 2008 14:58:10 GMT
My first version (which works) is:

<macrodef name="my.rapc">
		<element name="altEntries" optional="true"/>
			<rapc output="${}" srcdir="${src.dir}" destdir="${build.dir}">
				<jdp file="">
					<fileset dir="${common.basedir}/.." includes="${deps.list}/build/*.jar" />
					<fileset dir="${src.dir}">
						<include name="**/*.java" />
						<include name="**/*.png" />
						<include name="resources/**/*.*" />

but I'm still looking at this construct.  I can't use the implicit tag
because their might be nothing (ie no file), and then this wouldn't
work, so I went with optional.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message