Summary: | Do not look for tools.jar when a JRE is used (instead of a JDK) | ||
---|---|---|---|
Product: | Ant | Reporter: | Chris Papademetrious <chrispitude> |
Component: | Wrapper scripts | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | 1.10.9 | ||
Hardware: | PC | ||
OS: | All |
Description
Chris Papademetrious
2019-07-21 22:11:11 UTC
Same here, the ANT build system can be used for more than java compiling so it should complain that it does not have java compilation tools only when they are necessary in the given task. Hello Chris, Radu, Can one of you add some details on how/when this log message gets printed? I've tried to reproduce this on some of the Ant projects (and Java versions) I have on my *nix setup and haven't seen this message ever logged? Is this specifically on Windows? Sure! On a machine with a JRE but *not* a JDK, 1. Download the DITA Open Toolkit from https://www.dita-ot.org/download 2. Unarchive it. 3. Run <dita-ot dir>/bin/dita --install # on linux <dita-ot dir>/bin/dita --install.bat # on Windows The "--install" option does not affect anything on your system; it just causes that DITA-OT to rebuild its plugin database. Assuming you have a JRE but not a JDK (and no tools.jar where it might be found), you should see the message. |