Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 77271 invoked from network); 24 Sep 2004 21:11:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 21:11:59 -0000 Received: (qmail 90555 invoked by uid 500); 24 Sep 2004 21:14:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90505 invoked by uid 500); 24 Sep 2004 21:14:01 -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 90490 invoked by uid 99); 24 Sep 2004 21:14:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [148.87.2.204] (HELO inet-mail4.oracle.com) (148.87.2.204) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Sep 2004 14:13:59 -0700 Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by inet-mail4.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8OL8fVn011286 for ; Fri, 24 Sep 2004 14:08:41 -0700 (PDT) Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8OLDrhK032767 for ; Fri, 24 Sep 2004 15:13:53 -0600 Received: from oracle.com (dhcp-1op5-1op6-west-144-25-142-129.us.oracle.com [144.25.142.129]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8OLDrZw032762 for ; Fri, 24 Sep 2004 15:13:53 -0600 Message-ID: <41548E06.B311F038@oracle.com> Date: Fri, 24 Sep 2004 14:13:42 -0700 From: Guru Balse X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Taskdef classpath problem References: <20040924190031.94833.qmail@web20422.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Just wondering if anyone else has run into this. In an effort to keep the build and test environments clean, we diligently blanked out the classpath and used a refid everywhere to point to the correct classpath (in , , etc.) The strange problem we are facing is that even though we can clearly see class X.Y.Z in the classpath (through refid and a java program that inspects jars/zips in the classpath), the task code dies with a ClassNotFound. If we set the env classpath to the same string obtained by echoing the classpath that the taskdef sees, then everything works fine! Looks like there may be a bug in the taskdef class loading algo? Has anyone seen this? Any workarounds? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org