ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <billr...@attglobal.net>
Subject RE: Simple problem with ANT
Date Sat, 29 Jan 2005 16:33:22 GMT
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:alvaroa653@gmail.com] 
Sent: Saturday, January 29, 2005 8: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: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message