Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65848 invoked from network); 23 Feb 2004 18:56:14 -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:56:14 -0000 Received: (qmail 52132 invoked by uid 500); 23 Feb 2004 18:55:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 52090 invoked by uid 500); 23 Feb 2004 18:55:57 -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 52075 invoked from network); 23 Feb 2004 18:55:57 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 23 Feb 2004 18:55:57 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AvLFG-0004fW-00 for ; Mon, 23 Feb 2004 19:56:01 +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:56:01 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:56:01 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:57:51 -0500 Lines: 60 Message-ID: References: <403A499E.1030707@corvil.com> <20040223184712.12465.qmail@web20422.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: <20040223184712.12465.qmail@web20422.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 Matt Benson wrote: > --- Peter Reilly wrote: > >>Hi Ben, >> >>Did you do a jar tf on the jar file ? > > > :) He posted it awhile back: > http://marc.theaimsgroup.com/?l=ant-user&m=107755968632112&w=2 > > >>Ben Pracht wrote: >> >> >>>My MANIFEST.MF: > > > The manifest was the main thing that struck me as > different. Is there a reason you're using a custom > manifest? > At the moment, probably not. I tend to copy build files, and a more complicated one I built actually did need a custom manifest. I guess I do this so that I know what goes into the manifest. Or at least, I think I do. :) Btw, my classpath, before I run ant, includes the current directory and the jar file and the directory containing the jar, if that helps. Regards, Ben > >>>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 >>>{ > > > > Actually, given the way you're using this, I don't > think you have to implement ChainableReader. > > -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