ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabien_pichard <fabien_pich...@hotmail.com>
Subject Re: cannot mkdir in a target
Date Wed, 07 Nov 2007 23:35:38 GMT

Merci Dominique!

I feel like a fool... :)

- fabien


Dominique Devienne-2 wrote:
> 
> On 11/7/07, fabien_pichard <fabien_pichard@hotmail.com> wrote:
>> <project description="test build">
>>  <target name="foo">
>>     <mkdir dir="foo1"/>
>>  </target>
>> </project>
>>
>> If I do this
>> <project description="test build">
>>     <mkdir dir="foo1"/>
>> </project>
>>
>> it works, no problem...
>> I have checked misc FAQ, this site and other and I wondering what I am
>> doing
>> wrong.
> 
> Well, how do you call Ant on the command line?
> 
> All tasks not in a target are always executed, but the ones in targets
> are executed only if their target is executed, and since you didn't
> specify the project's default target, if you don't explicitly specify
> the target name "foo" as argument to the build, it will not be
> executed by default.
> 
> Just running "ant foo" should fix your problem. I don't see how else
> this build could not work ;-) --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/cannot-mkdir-in-a-target-tf4768002.html#a13638453
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message