Questions tagged [macrodef]

41 questions
12
votes
1 answer

How to invoke a macrodef from within another file

I wrote a small macrodef in separate file: macrodefs.xml I got a second file, my main build…
scheffield
  • 6,618
  • 2
  • 30
  • 31
9
votes
1 answer

Ant macrodef: Is there a way to get the contents of an element parameter?

I'm trying to debug a macrodef in Ant. I cannot seem to find a way to display the contents of a parameter sent as an element.
clacke
  • 7,688
  • 6
  • 46
  • 48
7
votes
1 answer

Macrodef and "local properties"

I am trying to move a file (specified by a pattern) to a given location in an Ant macrodef: