Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 58556 invoked from network); 8 Apr 2003 15:29:59 -0000 Received: from unknown (HELO fernhill.SFSLTD.COM) (65.113.79.25) by daedalus.apache.org with SMTP; 8 Apr 2003 15:29:59 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2FDE3.930FFA3B" Subject: Task X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 8 Apr 2003 11:28:58 -0400 Message-ID: <7503E16AAE4DB3498884AB2DC4B779D54A23E9@fernhill.sfsltd.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Task Thread-Index: AcL945MLYBqhMeT+SCm4wxzIcLqwyw== From: "Jeremy Nix" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2FDE3.930FFA3B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm trying to create a build.xml that will build my application(s) to a particular environment...local, test, production. My first thought was to create multiple tasks to do handle this, but I'm finding that its too much repitition between tasks. I found that all that was different between the environments was properties files. So, in light of this, I created a single property that I specify the environment that I wish to build to. Then, I'd "like" to be able to check that property's value, and then use the appropriate property files. I've looked through the latest API, and there is no test logic for properties that supports this. I believe there was a task named "test" that did what I describe, but it appears to be removed at some point. Is there any other targets out there that will accomplish what I'm looking for? _________________ Jeremy Nix Senior Application Developer Southwest Financial Ltd. Jeremy.Nix@sfsltd.com (513) 621-6699 ext 1158 ------_=_NextPart_001_01C2FDE3.930FFA3B--