had a nice weekend,
found the solution myself
it works as follows:
<macrodef name="x" >
<attribute name="msg"/>
<sequential>
<echo message="@{msg}"/>
</sequential>
</macrodef>
<target name="script" >
<script language="groovy"><![CDATA[
t = project.createTask("x")
t.setDynamicAttribute("msg"...
I need to use an ant macrodef inside of an ant script,
simplified I want to do something as follows.
Is this possible? Where can I found more about the
Ant+Groovy Syntax, or better what can be used from ant
inside the script element.
<macrodef name="mymacro">
<attribute name="myparam"/>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.