Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 91749 invoked from network); 21 Jun 2002 10:03:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Jun 2002 10:03:18 -0000 Received: (qmail 9901 invoked by uid 97); 21 Jun 2002 10:03:29 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 9871 invoked by uid 97); 21 Jun 2002 10:03:28 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 9859 invoked by uid 98); 21 Jun 2002 10:03:28 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D12F9B5.FBAB40E6@quasarlabs.com> Date: Fri, 21 Jun 2002 13:02:29 +0300 From: Dmitry Trunikov X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: conditional compilation 2 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi ALL! I checked mail archive but didn't find answer for my question. My problem is following. I have java application that is built by ant. Application is OS depended therefore I pass target OS as build property: ant -DLINUX=1 or ant -DWINDOWS=1. I would like to add to build.xml some code that can does validation of input properties for mutual exclusion, i.e. command for build: ant -DLINUX=1 -DWINDOWS=1 is not valid. Thanx. -- To unsubscribe, e-mail: For additional commands, e-mail: