ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Uther <>
Subject dependancies (was: Re: FW: 1 suggestion and 1 bug...)
Date Wed, 29 Mar 2000 18:08:23 GMT
  I've also been thinking about this.  The current javac task doesn't 
handle dependancies between java files.  If you change an interface then 
you have to clean and remake to check all files that use that interface are 

  The other part of this is that I don't want to have to specify the 
dependancies in all cases.  There should be a make-depend like system.

  Currently Ant is closer to a scripting language than a dependancy 
tracking system.  Adding dependancies seems to be a non-trivial change.  (I 
know some people disagree about Ant being a scripting language.  Please 
flame off list.)


\x/ill         :-}

--On Wednesday, March 29, 2000 12:15 PM -0500 Matthew L Daniel 
<> wrote:

>> The Javac task does something like this. As far as I can remember it
>> first searches all .java files, than looks for the corresponding .class
>> files and removes every .java file from the compile list, if it is older.
>	 Yes, I know.  And the solution I want is similar to that, but scanning
> the entire subdirectory structure is still not what I want. There is (more
> than likely) a few "pivot-points" in any target that determine if the
> target is out-of-date.  I am perplexed as to why Ant deviates so far from
> the existing Makefile paradigm (ugh - I said paradigm).  Just because the
> file format was broken doesn't imply the concept was.  IMHO.
>> I am about to solve the same problem for JavaCC, which also translates
>> grammer
>> files into java files. Would be nice, if we could build a reusable
>> solution, maybe based on the work done in

View raw message