ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azariah Jeyakumar" <azariah.jeyaku...@tumbleweed.com>
Subject RE: property values help
Date Tue, 02 Oct 2001 21:03:45 GMT

The only solution I can think of is to set all those other properties in the
init target itself.

I dont think there is any difference between properties set outside the
targets and those set inside a target. To the extent I know, the only scope
for properties is the project scope.

Azariah

> -----Original Message-----
> From: Shannon L Blake [mailto:shannon_l_blake@fanniemae.com]
> Sent: Tuesday, October 02, 2001 1:53 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: property values help
> 
> 
> That is what I thought, I am running into problems because 
> some of the other
> properties I am setting globally depend on this property to 
> already be set.
> 
> Any thoughts??
> 
> Thanks.
> 
> Shannon
> 
> Azariah Jeyakumar wrote:
> 
> > I would do this in an "init" target that all the other 
> targets depend on.
> >
> > It is not possible to use the exec task outside a target.
> >
> > Azariah
> >
> > > -----Original Message-----
> > > From: Shannon L Blake [mailto:shannon_l_blake@fanniemae.com]
> > > Sent: Tuesday, October 02, 2001 1:07 PM
> > > To: ant-user@jakarta.apache.org
> > > Subject: Re: property values help
> > >
> > >
> > > I tried this, but I want to do it as I am setting the global
> > > properties.  Is
> > > this possible??
> > >
> > > Thanks.
> > >
> > > Shannon
> > >
> > > Diane Holt wrote:
> > >
> > > > --- Shannon L Blake <shannon_l_blake@fanniemae.com> wrote:
> > > > > I am trying to set a property value equal to a UNIX 
> command.  How
> > > > > would I go about doing this??  It does not look to me like the
> > > > > attributes value, location or refid are capable of doing this.
> > > >
> > > > If you mean equal to the output of a command, and you're
> > > running 1.4, see
> > > > the "outputproperty" attribute of <exec>.
> > > >
> > > > Diane
> > > >
> > > > =====
> > > > (holtdl@yahoo.com)
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Listen to your Yahoo! Mail messages from any phone.
> > > > http://phone.yahoo.com
> > >
> > >
> 
> 
> 


Mime
View raw message