Just a thought, but I believe you shouldn´t name both targets as "tar1"; try
to name the second target as "tar2" and then invoke it from ant as usual

$ ant tar2

Should work.

HTH
luis


-----Original Message-----
From: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2005 10:01 AM
To: user@ant.apache.org
Subject: Simple problem with ANT


Hello,

I´m new with this, and i hope you can help me with this too simple problem..

I have this fille:

<project name = "proj" default = "tar1">


<target name = "tar1" >
     <mkdir dir = "C:\a" />
</target>
        
<target name = "tar1" depends = "tar1">
        <mkdir dir = "C:\b" />
</target>

</project>

The problem it´s that just create the folder "a",

Thanks a lot.

AM.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to