The feature makes sense to me. --want things only done once, I make a target with depends in build.xml --want them done once/target, use command line.
What problem does this cause? david jencks On 2002.01.14 12:57:19 -0500 Dan Lipofsky wrote: > So why would anyone want this as a feature? > I don't see any advantage to ever doing the same work twice in a row. > And even if there is a good reason, does it really outway the problems > it causes? I think it should be changed, or at least a flag should be > provided to change the behavior. > Thanks, > Dan > > > It is a feature. > > > > ----- Original Message ----- > > From: "Dan Lipofsky" <[EMAIL PROTECTED]> > > To: "Ant Users List" <[EMAIL PROTECTED]> > > Sent: Friday, January 11, 2002 14:23 > > Subject: multiple targets on command line > > > > > > This seems odd. If I have > > > > <project name="foobar" default="bar" basedir="."> > > <target name="foo"> <echo message="foo"/> </target> > > <target name="bar1" depends="foo"> <echo message="bar1"/> </target> > > <target name="bar2" depends="foo"> <echo message="bar2"/> </target> > > </project> > > > > And I do "ant bar1 bar2" from the command line it runs > > "foo" twice. Is this a bug? I am using ant 1.3 on Solaris. > > > > Thanks, > > Dan > > > > > > > > > > -- > > 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]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
