Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 47516 invoked from network); 20 Dec 2001 17:09:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Dec 2001 17:09:21 -0000 Received: (qmail 13454 invoked by uid 97); 20 Dec 2001 17:09:14 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 13438 invoked by uid 97); 20 Dec 2001 17:09:13 -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 13412 invoked from network); 20 Dec 2001 17:09:13 -0000 Date: Thu, 20 Dec 2001 18:08:37 +0100 From: "Jens v.P." Reply-To: "Jens v.P." Message-ID: <7927229213.20011220180837@jevopi.de> To: "Ant Users List" Subject: Re[2]: Perforce Optional Tasks In-Reply-To: <000901c18976$887aa5d0$0a41a8c0@MERLIN> References: <5C76D29CD0FA3143896D08BB1743296A29E746@bsebe001.NOE.Nokia.com> <000901c18976$887aa5d0$0a41a8c0@MERLIN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hello Marcus, it's as Andrew expected: you have defined classpath outside a task element, where ant interprets it as a task ittself. Classpath can only be defined inside some task (like javac, java, javadoc...). If you want to define classpath and use it several times, just replace your with and use references in further tasks. But in fact, I don't see where you're using classpath again... Why did you define classpath where you've defined it? Jens -- To unsubscribe, e-mail: For additional commands, e-mail: