ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Garralda <PGarra...@amtec.net>
Subject RE: Is there a way to turn off ant's dependency checking?
Date Wed, 23 Aug 2000 18:34:43 GMT
Jay,
	Maybe the <touch file="myfile" /> tag can be useful.
It dosn't turn off the dependency checking but it forces to recompile.

Saludos,
Pablo G. 

-----------------------------
Pablo A. Garralda
Programmer - Amtec.net

pgarralda@amtec.net
<http://www.amtec.net>

------------------------------

> -----Original Message-----
> From: Jay Glanville [mailto:dickon@nortelnetworks.com]
> Sent: MiƩrcoles 23 de Agosto de 2000 15:06
> To: Ant-User (text)
> Subject: Is there a way to turn off ant's dependency checking?
> 
> 
> How do I turn off Ant's dependency checking, so that I can use the
> compiler's built in dependency checking?  I mean if my 
> compiler task has a
> dependency on my empty-destination task, I want to compile 
> everything.  So
> why would I need Ant's dependency checking?
> 
> For example, if parts of my build.xml looks like this:
> 
> 	<task name="init">
> 		<property name="dest" value="d:\output"/>
> 		<deltree dir="${dest}"/>
> 		<mkdir dir="${dest}/>
> 	</task>
> 
> 	<task name="compile" depends="init">
> 		<javac destdir="${dest}" ....  >
> 			<include name="**/*.java/>
> 			<exclude name="tps/**"/>
> 		</javac>
> 	</task>
> 
> I basically was the Ant system to make a list of files to 
> compile, but not
> worry about if they're up to date.
> 
> Is there a way to do this?
> 
> --------------------------------------------------------------
> --------------
> -----
> Jay Dickon Glanville
> P068 - SiteManager Development, Nortel Networks
> 613-765-1144 (ESN 395-1144)
> MS: 045/55/A05
> E-Mail: dickon@nortelnetworks.com
> 

Mime
View raw message