Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 70705 invoked from network); 9 Dec 2001 23:35:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Dec 2001 23:35:07 -0000 Received: (qmail 19749 invoked by uid 97); 9 Dec 2001 23:35:07 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19733 invoked by uid 97); 9 Dec 2001 23:35:07 -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 19722 invoked from network); 9 Dec 2001 23:35:06 -0000 From: "William Ferguson" To: "Ant User \(E-mail\)" Subject: Setting classpath for Taskdef Date: Mon, 10 Dec 2001 10:33:08 +1100 Message-ID: <002101c18109$dcad53c0$2e24cfc0@xedoc.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Has anyone managed to set the classpath attribute for TaskDef? Eg I wanted to get the MimeMail task to work without having to put j2ee.jar into %ANT_HOME%\lib or specify it on the command line when invoking Ant. The doco for Taskdef (and some posts on this list) seemed to suggest that the following was correct usage. where ${project}/lib/j2ee/j2ee.jar is where the j2ee.jar resides. But I just get "Could not create task of type: mimeMail due to java.lang.NoClassDefFoundError: javax/mail/Address" Any suggestions? William Ferguson Technical Lead - Workflow Functionality Versata, Inc. "Business Logic Development and Management" Ph +61 03 9428 0788 Fax +61 03 9428 0786 Email william_ferguson@versata.com www.versata.com -- To unsubscribe, e-mail: For additional commands, e-mail: