It would be really neat if I could use the if/unless on macrodefs.

I've create a macro for code generation, and I call it 8 times to do stuff.  
Macros make for nice clean "code".  But now that I'm trying to incorporate 
uptodate support, I'm having to introduce a lot of repetative targes with the 
same patterns:

<target name="check-ejb-foo">
   <check-ejb module="foo" />
<target>
<target name="ejb-foo" unless="check-ejb-foo" unless="foo-uptotdate">
   <ejb module="foo" />
</target>

<target name="allejb" depends="ejb-foo,...." />

instead of
<target name="allejb">
  <ejb module="foo">
  .
  .
  .
</target>

-- 
David Corbin <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to