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]>

Reply via email to