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 - Ant module should work in JNLP mode even on JRE
Summary: Ant module should work in JNLP mode even on JRE
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 73990
  Show dependency tree
 
Reported: 2006-12-02 22:33 UTC by Jesse Glick
Modified: 2009-11-02 11:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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