RE: Re: macrodef and classpath

2009-02-06 Thread cknell
: Ant Users List Subject: Re: macrodef and classpath Hi, Thanks, but no. I have my macrodefs stored in one file, and I import it in the 'real' build file like so: I want to pass in my 'real' build properties to the macrodefs without defining values in the macrodef fi

Re: macrodef and classpath

2009-02-06 Thread Mark Waschkowski
Hi, Thanks, but no. I have my macrodefs stored in one file, and I import it in the 'real' build file like so: I want to pass in my 'real' build properties to the macrodefs without defining values in the macrodef file. This works using elements, but not with attributes - am I missing something?

RE: macrodef and classpath

2009-02-06 Thread cknell
I set up properties in the "init" target and use references to them in the macrodefs. Here's an example I then refer to the property in the macrodef ex.