Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 12059 invoked by uid 500); 9 Jun 2003 15:19:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 12036 invoked from network); 9 Jun 2003 15:19:03 -0000 Received: from dstsys-cp.dstsystems.com (HELO dstsystems.com) (204.167.177.68) by daedalus.apache.org with SMTP; 9 Jun 2003 15:19:03 -0000 Received: from otcssex01002.output.net (localhost [127.0.0.1]) by dstsystems.com (8.8.8+Sun/8.7.5) with ESMTP id KAA03397 for ; Mon, 9 Jun 2003 10:20:27 -0500 (CDT) Received: by otcssex01002.output.net with Internet Mail Service (5.5.2653.19) id ; Mon, 9 Jun 2003 10:19:20 -0500 Message-ID: <11A10448115AD3119E2800508B44291705011F1B@ot-har-ex01> From: "Sauyet, Scott (OTS-HAR)" To: "'Ant Users List'" Subject: RE: Branching on Java version Date: Mon, 9 Jun 2003 10:17:50 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > = 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, 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