ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject RE: Can properties be returned to a calling ant script?
Date Fri, 15 Nov 2002 15:33:46 GMT

Why don't you put all your common properties in a properties file which is 
included in all build scripts via:

<property file="my.properties"/>

Jake

At 08:21 AM 11/15/2002 -0700, you wrote:
> > > 2. Can you have a called Ant script define properties which
> > > can be picked up by the calling Ant script.
> >
> > Write them to a file that gets read back in by the parent build
> > process.  Most of the time, you don't want to do this 8-)
>
>Okay, I'll bite.  Why isn't this a good idea?  I would like to have
>a way that all common properties are set in a single build
>script so I don't have to modify all my build scripts if changes
>are made.   Can you suggest another method?
>
>Thanks,
>Dave.
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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