On 11/7/07, fabien_pichard <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
