Hi all,
I have this in the plugin.jelly
<ant:iajc
fork="${maven.aspectj.fork}"
maxmem="${maven.aspectj.maxmem}"
[more parameters]>
[LOTS of things here]
</ant:iajc>
But i'd like to use maxmem only if "fork" is true (because the aspectj
compiler prints a warning)
Is there any way to achieve this without repeating the whole ant task?
<j:choose>
<j:when ...>
<ant:iajc
fork="${maven.aspectj.fork}"
[more parameters]>
[LOTS of things here]
</ant:iajc>
</j:when>
<j:otherwise>
<ant:iajc
fork="${maven.aspectj.fork}"
maxmem="${maven.aspectj.maxmem}"
[more parameters]>
[LOTS of things here]
</ant:iajc>
</j:otherwise>
</j:choose>
Thanks,
Carlos Sanchez
A Coru�a, Spain
Oness Project
http://oness.sourceforge.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]