Return-Path: Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Delivered-To: mailing list dev@ant.apache.org Received: (qmail 1585 invoked from network); 20 Feb 2003 04:49:57 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 20 Feb 2003 04:49:57 -0000 Received: (qmail 7100 invoked by uid 50); 20 Feb 2003 04:51:31 -0000 Date: 20 Feb 2003 04:51:31 -0000 Message-ID: <20030220045131.7099.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 17230] New: - cannot find resources in classpath X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17230 cannot find resources in classpath Summary: cannot find resources in classpath Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: hay_lam@yahoo.com In the classpath, it includes two config directories which contain some *.properties file required for test cases. When junit is run, it can find all the classes, however, it can not load any *.properties files. The properties files are read as system resources so the path should be enough. If I change to use java task to run junit intead of junit task, everything works fine. I need to run junit task for junit report. Following is the piece of code from my build.xml. Thx.