Re: "Variable" Macros Properties

2006-04-13 Thread trad-ex
Hi Fletcher, I recommend to use Ant-Contrib. See Variable Task, and If-Then task Regards, trad-ex >I would like to be able to take a macro parameter such as "devel" and >use this information to compute the actual path where the data is stored >(ex \\pca001\mypath). Unfortunately I cannot use pr

Re: "Variable" Macros Properties

2006-04-12 Thread Michael Giroux
To preserve the clean syntax that you achieved w/ the macrodef, you could combine the antcall with your macro. The main build target would use the macro, and the macro would do the antcall. The target that is run by antcall has its own scope, so no problem with the properties. Michael Giroux

RE: "Variable" Macros Properties

2006-04-12 Thread John Sisson
== == == == == == -Original Message- From: Fletcher, Michael (Calgary) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 1:35 PM To: Ant Users List Subject: "Variable" Macros Properties I would like to be able to take a macro paramet

"Variable" Macros Properties

2006-04-12 Thread Fletcher, Michael \(Calgary\)
I would like to be able to take a macro parameter such as "devel" and use this information to compute the actual path where the data is stored (ex \\pca001\mypath). Unfortunately I cannot use properties for these values because they are immutable once set and I may use each macro more than once.