Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 46619 invoked from network); 18 Dec 2008 19:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 19:00:05 -0000 Received: (qmail 63209 invoked by uid 500); 18 Dec 2008 19:00:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 63170 invoked by uid 500); 18 Dec 2008 19:00:13 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 63159 invoked by uid 99); 18 Dec 2008 19:00:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 11:00:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.24.128.232] (HELO smtp.talktalk.net) (62.24.128.232) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 18:59:51 +0000 X-Path: TTSMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjoBAL8sSklZ8bRK/2dsb2JhbAAIv1ZYkF6DBg Received: from unknown (HELO [192.168.1.65]) ([89.241.180.74]) by smtp.talktalk.net with ESMTP; 18 Dec 2008 18:59:30 +0000 Message-ID: <494A9D93.7040804@talktalk.net> Date: Thu, 18 Dec 2008 18:59:31 +0000 From: Mark Salter User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Ant Users List Subject: Re: Ant Junit issues - CLASSPATH References: <03579C9AB92BB54C87C0351BB20CAFDD9A4342@CORPUSMX20A.corp.emc.com> <494A640D.9060908@talktalk.net> <03579C9AB92BB54C87C0351BB20CAFDD9A436A@CORPUSMX20A.corp.emc.com> In-Reply-To: <03579C9AB92BB54C87C0351BB20CAFDD9A436A@CORPUSMX20A.corp.emc.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Marshall_Daniel@emc.com wrote: > Sure I can give you some of it. It looks like its dropping my source > paths but I don't know why. It is dropping directories called:- C:\Build\build\src\com\emc\elms\keygen C:\Build\build\src\com\emc\elms\test C:\Build\build\src\com\emc\elms\keygen C:\Build\build\src\com\emc\elms\test C:\Build\build\src\com\emc\elms\keygen C:\Build\build\src\com\emc\elms\test C:\Build\build\src\com\emc\elms\keygen C:\Build\build\src\com\emc\elms\test as they do not exist? You are compiling your src files into c:\Build\build\classes, so you may find that c:\Build\build\src does not exist on your machine? I think your classpath for junit need only be :- as that is where javac is placing your class files? I assuming you are compiling the EMCLmcryptKeyGeneratorTest.java into classes.dir? If a class is called com.emc.elms.test.EMCLmcryptKeyGeneratorTest then this class file might be found somewhere like:- c:\Build \build \classes \com \emc \elms \test\EMCEMCLmcryptKeyGeneratorTest.class To find this class, the java classpath would be :- So in summary... - you are specifying too deep a level of directory. Do a search for +java +classpath, I got :- http://en.wikipedia.org/wiki/Classpath_(Java) Which also decribes class file placement relative to the classpath folder - you are specifying src directories when perhaps only the classes ones are needed. -- Mark --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org