ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DHAN, RAM" <Ram.D...@cingular.com>
Subject RE: Nested Builds Problem - Looks Weird
Date Mon, 22 Sep 2003 16:44:04 GMT
Thanks RR,

I got the funda cleared right now.

Ramdhan YK

-----Original Message-----
From: Roman Rytov [mailto:rrytov@entopia.com] 
Sent: Monday, September 22, 2003 11:41 AM
To: Ant Users List
Subject: RE: Nested Builds Problem - Looks Weird

Again a miskate. Your build_1 knows nothing about the rest. You should
call build_3 since it depends on build_2 and it in turn on build_1. 


_______
RR 

> -----Original Message-----
> From: DHAN, RAM [mailto:Ram.Dhan@cingular.com] 
> Sent: Monday, September 22, 2003 7:31 PM
> To: 'Ant Users List'
> Subject: RE: Nested Builds Problem - Looks Weird
> 
> Sorry about the mistake in the script. The script is like this.
> 
> <project name="buildAll" default=" build_1" >
>  
>  <target name="build_1" description="Building 1">
>  	<ant antfile="commonScripts/build1.xml"/>
>  </target>
>  
>  <target name="build_2" depends="build_1" description="Building 2">
>  	<ant antfile="commonScripts/build2.xml"/>
>  </target>
>  
>  <target name="build_3" depends="build_2" description="Building 3">
>  	<ant antfile="commonScripts/build3.xml"/>
>  </target>
>  
>  </project>
> 
> -----Original Message-----
> From: Roman Rytov [mailto:rrytov@entopia.com]
> Sent: Monday, September 22, 2003 11:30 AM
> To: Ant Users List
> Subject: RE: Nested Builds Problem - Looks Weird
> 
> I bet you made a mistake. In your example I see no build_all 
> at all. You should make build_3 your default task.
> 
> ___
> RR
> 
>  
> 
> > -----Original Message-----
> > From: DHAN, RAM [mailto:Ram.Dhan@cingular.com]
> > Sent: Monday, September 22, 2003 7:19 PM
> > To: user-help@ant.apache.org
> > Cc: user@ant.apache.org
> > Subject: Nested Builds Problem - Looks Weird
> > 
> > 
> > Hi,
> > 
> > I have lot of build scripts in one directory. I have a 
> build-all.xml 
> > ant script in another directory and I am using 'ant' 
> command to invoke
> 
> > them.
> > This is how I am trying to invoke them.
> > 
> > 
> > <project <project name="buildAll" default="build_all" >
> > 
> > <target name="build_1" description="Building 1">
> > 	<ant antfile="commonScripts/build1.xml"/>
> > </target>
> > 
> > <target name="build_2" depends="build_1" description="Building 2">
> > 	<ant antfile="commonScripts/build2.xml"/>
> > </target>
> > 
> > <target name="build_3" depends="build_2" description="Building 3">
> > 	<ant antfile="commonScripts/build3.xml"/>
> > </target>
> > 
> > </project>
> > 
> > I expect it to execute the targets build_1, build_2, 
> build_3 one after
> 
> > the other.
> > 
> > BUT ant is exiting after "build_1" target is executed 
> SUCCESSFULLY. It
> 
> > does not execute targets "build_2" or "build_1".
> > 
> > I am just wondering whats going wrong? Or is it that we cannot call 
> > "ant"
> > commands in various targets?
> > 
> > Thanks,
> > Ramdhan YK
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message