ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@MIROtechnologies.com>
Subject RE: Error message
Date Mon, 27 Jun 2005 18:25:22 GMT
What are you trying to accomplish?

> -----Original Message-----
> From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:SCOTT.BATCHELOR@DFAS.MIL] 
> Sent: Monday, June 27, 2005 11:23 AM
> To: Ant Users List
> Subject: RE: Error message
> 
> 
> 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@MIROtechnologies.com]
> 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@DFAS.MIL] 
> > 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message