Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 18389 invoked from network); 15 Apr 2003 20:34:15 -0000 Received: from mirapoint2.brutele.be (212.68.203.246) by daedalus.apache.org with SMTP; 15 Apr 2003 20:34:15 -0000 Received: from netscape.net (212.68.238.109.brutele.be [212.68.238.109]) by mirapoint2.brutele.be (Mirapoint Messaging Server MOS 3.3.2-CR) with ESMTP id AGX28496 (AUTH tsmets); Tue, 15 Apr 2003 22:33:52 +0200 (CEST) Message-ID: <3E9C6CB0.6050301@netscape.net> Date: Tue, 15 Apr 2003 22:33:52 +0200 From: Thomas SMETS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@ant.apache.org Subject: I don't understand what's happening Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Here it is my build.xml : =========================================== Running the "init" task $ { aspect-compiler.available } : ${aspect-compiler.available} Test aspect compiler available (${aspectj.needed}): ${aspect-compiler.available} ftp.client available (${ftp.needed}) : ${ftp.available} junit available (${junit.needed}) : ${junit.available} ================================ Voila ! Running it gives this : ///////////////////////// OUT PUT ///////////////////////// [tsmets@calvin scripts]$ ant -buildfile test.xml Buildfile: test.xml init: [echo] Running the "init" task [echo] $ { aspect-compiler.available } : true [echo] [echo] ////////////////////////////////////////////////////////////// While I would have exepected, the variable being "true", the "echo" target being executed. Can someone tellme how I could do that ? Tx, Thomas, Thomas, -- Thomas SMETS SCJP2 - Brussels http://tsmets.lautre.net