I need the following behavivor: Ant all --> common, one, common, two
What can I do? Bernadette -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 13:44 An: [email protected] Betreff: AW: Two targets with the same depends-target Maybe you�re expecting the wrong thing ... The current behaviour is that: <project> <target name="common"> <echo>Common</echo> </target> <target name="one" depends="common"> <echo>one</echo> </target> <target name="two" depends="common"> <echo>two</echo> </target> <target name="all" depends="one,two"/> </project> ant one --> common, one ant one two --> common, one, common, two ant all --> common, one, two What do you expect? Jan > -----Urspr�ngliche Nachricht----- > Von: Kasparek, Bernadette [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 14. Februar 2005 13:26 > An: [email protected] > Betreff: Two targets with the same depends-target > > Hi everybody, > > I want two targets to have the same depend-target, but the > second target > doesn't call the depend-target again. > > Example: > <target name="mkdir-1" depends="prepare-common"> > > make something > > </target> > > <target name="mkdir-2" depends="prepare-common"> > > Make something > > </target> > > Here "prepare-common" is only called for "mkdir-1" not for "mkdir-2". > > Can you help me? > > Thank you very much. > > Bernadette Kasparek > >
