You misunderstand how <ant> works. It is used to call another ant script, and execute it. In your example, it is calling the same ant script that is running, and default target, which I guess is 'build'.
Whatever you have set as basedir="" in your <project> will be ${basedir}, and by default, it is '.' Then you can base all of your other directories off ${basedir}. > -----Original Message----- > From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] > Sent: Monday, June 27, 2005 10:55 AM > To: user@ant.apache.org > Subject: Error message > > > Ant Newbie here. > > Can someone give me a clue as to what this message is implying? > > ant task calling a target that depends on its parent target 'build' > > > It appears to have to do something with this directive. > > <target name="build" > description="Compile jtc"> > <mkdir dir="${build.dir}/classes" /> > <mkdir dir="${lib.dir}" /> > > <ant dir=""> <---when I clear out the directory name > here to use the current directory I am get this error > > > TIA > > -SB > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]