Plus, it wouldn't be half bad if i could have those targets, and then grab their target names and pass them to the compile target to compile, but since i don't know of a way to grab that name, i'll have to rewrite the compile method within each subproject's target.
Thank You, Edward Grinvald Computer Associates International Programmer, Storage Development [EMAIL PROTECTED] (631) 342 6350 -----Original Message----- From: Tibor Strausz [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 11:06 AM To: 'Ant Users List' Subject: RE: Cross Project Dependencies can't you just use the depend property from the target task <target name="a" depend="b,c,d"/> tibi > -----Original Message----- > From: Grinvald, Edward [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 4:54 PM > To: [EMAIL PROTECTED] > Subject: Cross Project Dependencies > > > Hello all, > I have a problem, which i hope you can help me solve: > My project has several subprojects, let's say a - z. > Some of the subprojects depend on other subprojects. Let's > say a depends on b and c, c depends on d and e, and e depends > on f. Assum there are no circular dependencies (i hope there > aren't). Each subproject is in a separate directory, so i can > say build in a subdirectory, jar, put in 'lib', build in b > subdirectory, jar, put in 'lib', etc. > I am trying to make it so that the user can say he/she wants > to build a, and it will go to a, read dependencies on b and c > (from a text file or something), go to build b, see > dependency on d and e, etc. > I see no way to do this other then recursion, but i'm having > difficulties, because i don't fully understand how recursion > would work in ant - would the properties be mixed up if i > invoke the same target multiple times, etc. > > Please help. > > Thank You, > > Edward Grinvald > Computer Associates International > Programmer, Storage Development > [EMAIL PROTECTED] > (631) 342 6350 > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
