Not sure if I'm solving your particular problem, but I have several build.xmls
which can be invoked separately or together. I keep my properties in a separate
build.properties.xml file, and then reference this in each build.xml using:

<!DOCTYPE name [
  <!ENTITY properties SYSTEM "./build.properties.xml">
]>

&properties;

which is a bit of a mouthful but works well.

Brian

 --- "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]> wrote: > It's
just redundant.  
> 
> We use a properties file to eliminate this kind of redundancy.  It would be
> nice if I could put environment="env" in the properties file, and ant would
> figure it out.  I just thought that there would be an easier way.  
> 
> If anyone has any suggestions, let me know.
> 
> Joshua
> 
> 
> 
>  -----Original Message-----
> From:         Diane Holt [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, May 30, 2002 11:03 AM
> To:   Ant Users List
> Subject:      Re: Setting Enviroment alias in properties file -
> CLARIFICATION
> 
> --- "White, Joshua A (AG, COMM)" <[EMAIL PROTECTED]> wrote:
> > Is there another "aliasing" the environmental variables without putting
> > the statement <property environment="env"> in every build file?
> 
> I can think of several ways, but they'd all be remarkably roundabout
> (think: Rube Goldberg), and you'd still have to account for them in your
> sub-build files (eg., you'd need a <property file=.../> instead). Is there
> some aspect of having a <property environment=.../> in each of your build
> files that's concerning you?
> 
> Diane
> 
> =====
> ([EMAIL PROTECTED])
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> This communication, including attachments, is for the exclusive use of 
> addressee and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, any use, copying, 
> disclosure, dissemination or distribution is strictly prohibited. If 
> you are not the intended recipient, please notify the sender 
> immediately by return email and delete this communication and destroy all
> copies.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

=====
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd         [EMAIL PROTECTED]
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to