On Mon, 9 Sep 2002, Jennifer Moter <[EMAIL PROTECTED]> wrote:

> I need to compile one set of files on linux, another on Solaris and
> a third on WinNT
> 
> the examples in the docs just show how to test and set
> properties. Very nice.  Now how do I do x if condition1 is true and
> y if condition2 is true?

<javac ...>
  <exclude name="only-compile-on-linux" unless="condition1"/>
  <exclude name="only-compile-on-windows" unless="condition2"/>
</javac>

Stefan

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

Reply via email to