Dominique, Thanks for replying.
Actually, I *thought* classfileset was the right approach too but when I ran it, it only gave me the immediate dependencies and wouldn't recurse any further; my immediate dependencies have many dependencies of their own. I sent a question about that a few minutes before I asked my question about 'depend' which gives the full details. If you are knowledgeable about classfileset, perhaps you could take a minute to tell me what I'm doing wrong? Rhino ----- Original Message ----- From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "Ant Users List" <[email protected]> Sent: Thursday, January 27, 2005 5:45 PM Subject: RE: Question about depend task > From: Rhino [mailto:[EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
