You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/12 15:37:00 UTC
[Bug 2597] New: - java task (fork="no") cannot load resource
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: ant-dev@jakarta.apache.org |
+ | Reported By: christophk@poet.de |
+ | 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()