Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51945 invoked from network); 23 Feb 2004 18:40:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Feb 2004 18:40:33 -0000 Received: (qmail 23237 invoked by uid 500); 23 Feb 2004 18:40:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 23185 invoked by uid 500); 23 Feb 2004 18:40:14 -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 23158 invoked from network); 23 Feb 2004 18:40:13 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 23 Feb 2004 18:40:13 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AvL05-0004SY-00 for ; Mon, 23 Feb 2004 19:40:17 +0100 Received: from bi01p1.nc.us.ibm.com ([129.33.49.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 23 18:40:17 2004 Received: from bpracht by bi01p1.nc.us.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 23 18:40:17 2004 X-Injected-Via-Gmane: http://gmane.org/ To: user@ant.apache.org From: Ben Pracht Subject: Re: Why can't Ant find my class? Date: Mon, 23 Feb 2004 13:42:08 -0500 Lines: 91 Message-ID: References: <403A4393.2000005@corvil.com> <20040223182424.62074.qmail@web20414.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bi01p1.nc.us.ibm.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en In-Reply-To: <20040223182424.62074.qmail@web20414.mail.yahoo.com> Sender: news 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 My MANIFEST.MF: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6alpha Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) Main-Class: StandaloneTestFilter Implementation-Title: FixCRLFFilter Filter Implementation-Version: 3.3 February 16 2004 Implementation-Vendor: IBM Corporation Top portion of my FixCRLFFilter.java: import org.apache.tools.ant.filters.*; import java.io.FilterReader; import java.io.IOException; import java.io.Reader; import java.io.*; import java.io.StringReader; import org.apache.tools.ant.Project; import org.apache.tools.ant.util.FileUtils; public class FixCRLFFilter extends FilterReader implements ChainableReader { ... Matt Benson wrote: > --- Peter Reilly wrote: > >>The follows works for me: >> >> > > ... > > agreed. Simply for testing classloading, I used: > > > > testing testing 1 2 3 > > classname="TestFilterReader"> > > path="d:\javaWorkArea\TestFilterReader.jar" /> > > > > > > > jar tf TestFilterReader yields: > > META-INF/ > META-INF/MANIFEST.MF > TestFilterReader.class > > and TestFilterReader.java contains: > > import java.io.Reader; > import java.io.PushbackReader; > > public class TestFilterReader extends PushbackReader { > > public TestFilterReader(Reader r) { > super(r); > } > } > > output: > > [concat] testing testing 1 2 3 > > So everything appears to be in order... > > > IIRC you were using a custom manifest. What are its > contents again/how is it generated? > > -Matt > > __________________________________ > Do you Yahoo!? > Yahoo! Mail SpamGuard - Read only the mail you want. > http://antispam.yahoo.com/tools --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org