ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: Question about depend task
Date Thu, 27 Jan 2005 22:45:20 GMT
> From: Rhino [mailto:rhino1@sympatico.ca]
> 
> I've been looking at the 'depend' task and wonder if I can use it to
> determine all of the dependencies that a given class has - INCLUDING
the
> dependents of the dependents of the dependents, etc. NOT JUST the
first
> generation dependents.
> 
> Unfortunately, the manual article about 'depend' is more confusing
than
> enlightening. It says:
> "The depend task works by determining which classes are out of date
with
> respect to their source and then removing the class files of any other
> classes which depend on the out-of-date classes."

Yep. That's what it does. Remove/delete .class file on disk ;-)

> Just what do they mean by "removing the class files of any other
> classes"??
> To me, 'remove' is more or less synonymous with 'delete' and I do NOT
want
> anything deleted from my IDE (Eclipse)! I simply want to know all of
the
> classes upon which a given class depends (RECURSIVELY!!) so that I can
jar
> them together.

Then what you want is in fact <classfileset>, no? --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message