Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Error message

Error message

2005-06-27       - By Shatzer, Larry
Reply:     1     2     3     4     5  

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)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.