ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurelien Mazurie <aurelien.mazu...@free.fr>
Subject Javac and buildnumber
Date Tue, 06 Apr 2004 16:01:13 GMT

	Hello,
	I'm trying to have a conditional call to some tasks (buildnumber), 
ONLY when the 'javac' task have done it's job; for example, here:

	<target name="BUILD">
		<javac ... />
		<buildnumber />
	</target>

	I don't want to have buildnumber called if javac have compiled nothing 
(because of no newer .java files, or even errors, ...).
	How can we do this ? My goal is to not use the 'uptodate' task, mainly 
because javac seems to check by itself for new .java files. There is a 
way to use this behavior ?

	Aurélien


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


Mime
View raw message