ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Waugh" <ptwa...@gmail.com>
Subject Optional <entry/> if and only if properties file exists?
Date Thu, 13 Nov 2008 09:58:49 GMT
Currently, I use this:

		<rapc output="${cod.name}" srcdir="${src.dir}" destdir="${build.dir}">
			<jdp file="project.properties">
				<entry file="entryGUI.properties" />
			</jdp>
		...<snip>...
                </rapc>

and this is in a "common" build.xml.  However, there are some projects
that do not require the <entry /> as they have only one entry point.

How can I use this entry ONLY if the entryGUI.properties file exists?

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message