On Jan 25, 2011, at 4:27 PM, Dominique Devienne wrote:
> On Tue, Jan 25, 2011 at 4:10 PM, wrote:
>> So doesn't that mean it would NOT be part of the normal distrib? - Dave
>
> A Google search turned up this post, but he builds it from source,
> http://wdarby.blogspot.com/2010/06/using-antlib-p
Cool. I went the macrodef route and everything worked
- Dave
> ---Original Message---
> From: Dominique Devienne
> To: Ant Users List , dave.alvar...
On Tue, Jan 25, 2011 at 4:10 PM, wrote:
> So doesn't that mean it would NOT be part of the normal distrib? - Dave
A Google search turned up this post, but he builds it from source,
http://wdarby.blogspot.com/2010/06/using-antlib-props-in-ant-18.html
I suppose 'props' can be considered an AntLib
On Tue, Jan 25, 2011 at 4:10 PM, wrote:
> ON the doc it mentions "external" to ANt ... [...]
> So doesn't that mean it would NOT be part of the normal distrib? - Dave
You might be right. Sorry, can't help more on this particular topic,
as I mentioned I've never done it myself.
The easiest is to
On Tue, Jan 25, 2011 at 3:39 PM, Dominique Devienne wrote:
> On Tue, Jan 25, 2011 at 3:32 PM, wrote:
>> Then I pass in this command line argument to my script "-Denv=...". So, in
>> my ant script, how do I dynamically access a property using the ${env}
>> param? For example, if "-Denv=dev" i
ON the doc it mentions "external" to ANt ...
With the 'props' antlib (external, but also from Ant) you could do the
dereferencing with ${${anotherprop} - not just in the property task - instead
everywhere in your buildfile (after registering the required property helper).
${${var}} = fo
On Tue, Jan 25, 2011 at 3:58 PM, wrote:
> Thanks, Dominique. The nested properties (props) task seems like it will do
> the job. However, do you know where to download this thing? The links don't
> seem to have anything
>
> http://ant.apache.org/manual/properties.html
> http://ant.apache.org
Thanks, Dominique. The nested properties (props) task seems like it will do
the job. However, do you know where to download this thing? The links don't
seem to have anything
http://ant.apache.org/manual/properties.html
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
- Dave
On Tue, Jan 25, 2011 at 3:32 PM, wrote:
> Then I pass in this command line argument to my script "-Denv=...". So, in
> my ant script, how do I dynamically access a property using the ${env} param?
> For example, if "-Denv=dev" is passed in to the command line, what is a
> generic way of acce
Hi,
I'm using Ant 1.8. I load a properties file that loads define these properties
...
dev.baseurl=http://devurl
qa.baseurl=http://qaurl
approval.baseurl=http://approvalurl
staging.baseurl=http://stagingurl
prod.baseurl=http://produrl
Then I pass in this command line argument to my script "-De
10 matches
Mail list logo