Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31613 invoked from network); 14 Oct 2003 14:06:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Oct 2003 14:06:32 -0000 Received: (qmail 29952 invoked by uid 500); 14 Oct 2003 14:06:12 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 29905 invoked by uid 500); 14 Oct 2003 14:06:12 -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 29852 invoked from network); 14 Oct 2003 14:06:11 -0000 Received: from unknown (HELO tdsi-mm-tor01.CORP.TDSECURITIES.COM) (142.205.240.97) by daedalus.apache.org with SMTP; 14 Oct 2003 14:06:11 -0000 Received: from TDSI-IMS-TOR01.CORP.TDSECURITIES.COM (Not Verified[49.50.20.46]) by tdsi-mm-tor01.CORP.TDSECURITIES.COM with NetIQ MailMarshal (v5.5.3.17) id ; Tue, 14 Oct 2003 10:06:12 -0400 Received: from TDSI-EXCH-TOR2.CORP.TDSECURITIES.COM ([49.50.20.32]) by TDSI-IMS-TOR01.CORP.TDSECURITIES.COM with Microsoft SMTPSVC(5.0.2195.5329); Tue, 14 Oct 2003 10:06:10 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Nested Tasks Date: Tue, 14 Oct 2003 10:06:09 -0400 Message-ID: <4D85E67FF7BC564AA33DC6DF1E134DF002BB0FDD@TDSI-EXCH-TOR2.CORP.TDSECURITIES.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to run a .jar created by ant Thread-Index: AcOSUF4Nv/zpefZbR6GL/lr1m8oJAQABJoYgAAGxUrA= From: "Bender, Christopher" To: "Ant Users List" X-OriginalArrivalTime: 14 Oct 2003 14:06:10.0245 (UTC) FILETIME=[51BC5750:01C3925C] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have changed the build file to the following, using some of Stefan's = advice but=20 still doesnt seem to find the task2. I tried the .properties file solution and it did not work either. Thanks in advance for any help. Chris -----Original Message----- From: Bender, Christopher=20 Sent: Tuesday, October 14, 2003 9:21 AM To: 'Ant Users List' Subject: Nested Tasks Hey, i am developing some of my own tasks and I am running into the following = problem. I have the two task defs below Now, if I invoke each of these tasks independently, they both run fine. (ie. ) If I attempt to go: I get the good old ant jar/task error: "file:C:/......./build.xml:360: Could not create task of type: task2. Ant could not find the task or a class this task relies upon." but the jar with the tasks is found in ${homeDir}/deploy/lib and that is = part of the classpath. This is stumping me pretty good and Im hoping someone has experience = something similar and found a solution. =20 Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org