ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Glanville" <dic...@nortelnetworks.com>
Subject RE: Is there a way to turn off ant's dependency checking?
Date Wed, 23 Aug 2000 19:01:01 GMT
Because my makefile.xml cleans out the destination directory before
compiling, everything should compile.  So, yes, there are several ways for
force full re-compilation.  However, I want to bypass Ant's dependency
checker completely, and just pass all included files off to the compiler.

In response to your suggestion about "touch" task: touch can be an
unacceptable solution for read-only situations.  For example, a clear case
vob/view mounted to a file system, when using a reserved-checkout system,
the files are un-modifiable.

Thanks for your suggestion.

-----Original Message-----
From: Pablo Garralda [mailto:PGarralda@amtec.net]
Sent: Wednesday, August 23, 2000 2:35 PM
To: ant-user@jakarta.apache.org
Subject: RE: Is there a way to turn off ant's dependency checking?


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