Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 66164 invoked by uid 500); 31 Jul 2003 04:57:27 -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 66140 invoked from network); 31 Jul 2003 04:57:26 -0000 Received: from plmler2.mail.eds.com (199.228.142.72) by daedalus.apache.org with SMTP; 31 Jul 2003 04:57:26 -0000 Received: from plmlir4.mail.eds.com (plmlir4-2.mail.eds.com [199.228.142.134]) by plmler2.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h6V4vb612711 for ; Wed, 30 Jul 2003 23:57:37 -0500 Received: from plmlir4.mail.eds.com (localhost [127.0.0.1]) by plmlir4.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h6V4vZN02227 for ; Wed, 30 Jul 2003 23:57:36 -0500 (CDT) Received: from usplm102.exsc01.exch.eds.com (USPLM102.txpln.us.eds.com [198.132.135.15]) by plmlir4.mail.eds.com (8.11.6p2/8.11.6) with ESMTP id h6V4vZj02221 for ; Wed, 30 Jul 2003 23:57:35 -0500 (CDT) Received: by USPLM102.txpln.us.eds.com with Internet Mail Service (5.5.2656.59) id ; Wed, 30 Jul 2003 23:57:30 -0500 Message-ID: <7A57F750AF65D411949C00508BDFD8181DAB3173@USPLM202> From: "Lopez, William" To: Ant Users List Subject: Conditional (compound) Help Please Date: Wed, 30 Jul 2003 23:57:32 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a need for a task that compares a jar to it's "list" of class files (found uptodate to work fine for the first part of the compare). I expect the second compare to never be true when the first is (*to meet the target execute condition*). The part is not working like I thought (as a negator)...I tried the task but it always ends up executing the target...see below, 2nd example. My scenario: -There is another task that executes unless="noprefix_uptodate"....this generates/deploys the ejb jar for the non-jndi prefix ejb -Then ejb.jar is called (via 3x - 1 per other jndi prefixes)...the only difference between these jars is the jndi prefix I'm sure there is a clean, simpler way but I can not figure it out. Thanks! ${jndiPrefix} notuptodate: ${jndi_property} ... ==================== ============================== ${jndiPrefix} notuptodate: ${jndi_outofdate} ... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org