ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Jorge Guedes <Paulo.Gue...@artelecom.pt>
Subject RE: -propertyfile ant switch
Date Thu, 19 Jan 2006 10:34:45 GMT
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: quinta-feira, 19 de Janeiro de 2006 5:10
> To: user@ant.apache.org
> Subject: Re: -propertyfile ant switch
> 
> On Wed, 18 Jan 2006, Paulo Jorge Guedes <Paulo.Guedes@artelecom.pt>
> wrote:
> 
> > I use "inheritAll=false" so I have to use the -propertyfile switch
> > to have properties available to all projects.
> 
> Not necessarily, you can aso explicitly list the properties you want
> to have available in all projects.  <propertyset> and <macrodef> may
> help, i.e. define your own version of the <ant> task.

Well I was looking at <propertyset> and it's not clear to me how it
works but I will investigate. 
Concerning the <ant> task I don't see what can I do with it, there is no
attribute or so similar to the propertyfile switch...

> > The problem is that I call ant from CruiseControl and I can't use
> > this switch.
> 
> Why not?

This is a command line switch... all I can do is to hack the ant.bat/sh
file. Do you know any other way?

Paulo


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


Mime
View raw message