ant-user mailing list archives

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

	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 />

	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 ?


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

View raw message