| Error message | Error message 2005-06-27 - By BATCHELOR, SCOTT (CONTRACTOR)
Yes obviously I do misunderstand as the script I am trying to execute does this by default:
<target name="build" description="Compile jtc"> <mkdir dir="${build.dir}/classes" /> <mkdir dir="${lib.dir}" />
<ant dir="util">
But it fails also complaining that "util" does not exist.
-SB
-----Original Message----- From: Shatzer, Larry [mailto:Larry.Shatzer@(protected)] Sent: Monday, June 27, 2005 12:58 PM To: 'Ant Users List' Subject: RE: Error message
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:SCOTT.BATCHELOR@(protected)] > Sent: Monday, June 27, 2005 10:55 AM > To: user@(protected) > 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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |