ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Ant task
Date Fri, 19 May 2006 19:13:53 GMT
Check out the genericantfile attribute of the subant task. I have not
used it personally, but I think the description sounds like it may fit
your needs.

-Rob A 

> -----Original Message-----
> From: Adam Stroud [mailto:adam@thegeeklord.com] 
> Sent: Friday, May 19, 2006 11:47 AM
> To: Ant Users List
> Subject: Re: Ant task
> 
> Thanks Rob:
> 
> I actaully just found the subant task in the manual.  The 
> only problem I am having with it is that the manual says that 
> the basedir property is not supposed to get set when using 
> the "antfile" attibute of subant.  In my builds, it seems 
> that basedir is being set to the dir that the master 
> build.xml is run from (evethough I dont explicitly set it) 
> instead of the value that I am explicitly setting it to in 
> each subproject.  Any ideas on that one?
> 
> Thanks
> A
> 
> Anderson, Rob (Global Trade) wrote:
> > The <subant> task has a failonerror attribute that, when 
> set to false, 
> > should continue when there is an error in the subproject. See the 
> > manual page for more details.
> > http://ant.apache.org/manual/CoreTasks/subant.html
> > 
> > -Rob A
> > 
> >> -----Original Message-----
> >> From: Adam Stroud [mailto:adam@thegeeklord.com]
> >> Sent: Friday, May 19, 2006 9:41 AM
> >> To: user@ant.apache.org
> >> Subject: Ant task
> >>
> >> All:
> >>
> >> I have a quick question on the ant task.  I am currently using the 
> >> ant task to initiate the builds of subprojects.  Is there a way to 
> >> prevent the master build from failing when one of the subprojects 
> >> fail?
> >>
> >> Thanks
> >> A
> >>
> >> 
> ---------------------------------------------------------------------
> >> 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
> > 
> 
> ---------------------------------------------------------------------
> 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
View raw message