This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90485

Summary: Ant module should work in JNLP mode even on JRE
Product: projects Reporter: Jesse Glick <jglick>
Component: AntAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 73990    

Description Jesse Glick 2006-12-02 22:33:43 UTC
Tasks like (unforked) <javac> can only run if tools.jar can be found.
Currently you have to run javaws from a JDK installation for this to happen.
Tested on Linux and will probably work OK with any Sun JDK but may not work with
other JDKs; needs testing on Mac OS X in particular.

Could in principle find tools.jar elsewhere on the same machine, or (when fully
open source) this could be bundled or made available online somewhere.

Workaround (other than running from a JDK) is to use an explicit JDK.
Comment 1 Jesse Glick 2006-12-02 22:34:56 UTC
Currently assumes that the javaws app classloader is a URLClassLoader, and
hack to include tools.jar in the "classpath" may interact poorly with e.g. JPDA
support. Should probably be changed to use a more intelligent class loader.
Comment 2 Jesse Glick 2008-12-10 00:38:54 UTC
Later.
Comment 3 Quality Engineering 2009-11-02 11:02:37 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX