Same on Windows with ant 1.3.

I don't believe the command line is building up a dependency of targets.
Whether it should or should not i don't know.

btw,  default target bar does not exist ;)

T Master
----- Original Message ----- 
From: "Dan Lipofsky" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 11, 2002 3:23 PM
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]>

Reply via email to