ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sauyet, Scott (OTS-HAR)" <Scott_Sau...@output.net>
Subject RE: Branching on Java version
Date Mon, 09 Jun 2003 15:17:50 GMT
> = Me:

> I have a problem I can't quite figure out.  I think what I want to do is 
> to conditionally use one source file when compiling with Java 1.3 and 
> another when compiling with Java 1.4.  And I don't know how to do that.

Okay, <target> has "if" and "unless" attributes.  That should make it
relatively straightforward, although dedicating an entire target for this 
seems somehow ... wasteful.

I'll let you know how I make out.

Thanks,

  -- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message