ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shackelford, John-Mason" <Sha...@ncs.com>
Subject RE: Parametrizing an ant task
Date Wed, 31 Jul 2002 21:12:26 GMT
When using antcall a couple of suggestions:

1. if your build script is large, place your generalized targets in their
own build file and use Ant instead.

2. always set inheritalAll to false as it appears not to work as stated in
the docs (see my previous message on the subject).


John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
shacjo@ncs.com

> -----Original Message-----
> From: Dave Draper [mailto:DaveD@geotrust.com]
> Sent: Wednesday, July 31, 2002 4:01 PM
> To: 'Ant Users List'
> Subject: RE: Parametrizing an ant task
> 
> 
> You might also consider using <antcall>
> 
> <antcall target="target name">
> 	<param name="param name" value="value">
> </antcall>
> 
> - DD
> 
> -----Original Message-----
> From: Milind Nirgun [mailto:NirgunM@C-IV.org]
> Sent: Wednesday, July 31, 2002 16:51
> To: Ant Users List
> Subject: RE: Parametrizing an ant task
> 
> 
> You can use the -D<property>=<value> option while running 
> ant. I am not sure
> if thats what you wanted.
> 
> -Milind
> 
> > -----Original Message-----
> > From: Saripalli, Raju [mailto:Raju.Saripalli@jenzabar.net]
> > Sent: Wednesday, July 31, 2002 1:33 PM
> > To: Ant-User (E-mail)
> > Subject: Parametrizing an ant task
> > 
> > 
> > 
> > Is it possible to parametrize an ant task ?
> > 
> > For example  (a very simple one) ... lets say I wanted to
> > have a task that compiled all the classes in a specific package
> > that could be specified as a run-time parameter 
> > 
> > How can this be done ?
> > 
> > Thanks
> > 
> > Raju 
> > 
> 
> --
> To unsubscribe, e-mail:   
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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

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


Mime
View raw message