Hello Alvaro,
Since you have two targets named tar1 Ant will execute just the first one.
The second one does not make any sense. Try this:
<project name = "proj" default = "tar1">
<target name = "tar1" >
<mkdir dir = "C:\a" />
</target>
<target name = "tar2" depends = "tar1">
<mkdir dir = "C:\b" />
</target>
</project>
HTH
Bill
-----Original Message-----
From: Alvaro Andr�s Monta�ez [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2005 8:01 AM
To: [email protected]
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]