ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Purang <>
Subject RE: depend task ...
Date Tue, 12 Jun 2001 18:17:45 GMT
  Can you send me an example of a javac statement hich has depend clause in
it ?
Also will it work with the Java 1.3 platform for now ?
I have a structure 
where I use one upper level build.xml file  
which refers to other build.xml files at the lowest level ( where java files
are kept )
THese low level files contain teh javac tasks.

Now I do not know how I am gonna resolve the referrences between 2 parallel
layers to 
directory hierarchy (Other than javac itself resolving it ?) Can you
elaborate ?

eg: if com/pincircuit/entity/ instantiates
how do I  specify these dependencies in the compilation
Viraj Purang

-----Original Message-----
From: Conor MacNeill []
Sent: Monday, June 11, 2001 5:53 PM
Subject: RE: depend task ...


The depend task will remove class files which are out of date with respect
to some source file upon which they depend. So if is out of date and
another class depends on A, that other class' classfile will be removed.

Javac's and Jikes' depend options, where they are actually present, work the
other way around - when compiling, they will compile any other out of
date files upon which depends. Classes which depend on A will not be


> -----Original Message-----
> From: Viraj Purang []
> Sent: Tuesday, 12 June 2001 10:41 AM
> To:
> Subject: depend task ...
> HI,
>     If I give "depend optional task"  in my build file , is it the same as
> giving depend attribute on the <javac...>  core task :?
> <depend srcdir="com/spincircuit"
> destdir="{}/classes"
> cache="depcache"
> closure="yes"/>
> Regards,
> Viraj Purang

View raw message