http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2597

*** shadow/2597 Thu Jul 12 06:37:00 2001
--- shadow/2597.tmp.20922       Thu Jul 12 06:37:00 2001
***************
*** 0 ****
--- 1,23 ----
+ +============================================================================+
+ | java task (fork="no") cannot load resource                                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2597                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                   |
+ |  Reported By: [EMAIL PROTECTED]                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I have an java task in my build script which specifies a Jar file as 
classpath 
+ to use and fork="no".
+ The application that is started via the ant task tries to load a resource 
from 
+ the Jar via ClassLoader.getResource() and the resource is not found. When 
+ fork="yes" is specified, it works.
+ So I assume that the AntClassLoader does not or does incorrectly implement 
+ findResource()

Reply via email to