You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <Je...@netbeans.com> on 2001/07/16 20:04:25 UTC

Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java

glennm@apache.org wrote:
>   The javadoc task now looks for the javadoc executable
>   in the java.home/../bin directory.  That way if your
>   java installation isn't in your path, you can still
>   create javadocs.

Nice; shouldn't this be done for other tasks referring to JDK tools as well?
E.g. CommandlineJava.<init> just sets the VM to "java" but maybe
"${java.home}/../bin/java" and "${java.home}/bin/java" could be considered as
candidates, so that <java fork="true"> would work for anyone running a JDK,
with or without it in their path.

-Jesse

-- 
Jesse Glick   <ma...@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR