1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Fixed the paths for the javadoc command. java.home is the jre directory.

This commit is contained in:
Doug Schaefer 2005-04-06 16:04:48 +00:00
parent d4891a2e74
commit a2d6f721cf

View file

@ -25,10 +25,8 @@
</target>
<target name="getJavadocPath">
<available file="${java.home}/bin/javadoc.exe" property="javadoc" value="${java.home}/bin/javadoc.exe"/>
<available file="${java.home}/bin/javadoc" property="javadoc" value="${java.home}/bin/javadoc" />
<echo message="javadoc=${javadoc}"/>
<echo message="java.home=${java.home}"/>
<available file="${java.home}/../bin/javadoc.exe" property="javadoc" value="${java.home}/../bin/javadoc.exe"/>
<available file="${java.home}/../bin/javadoc" property="javadoc" value="${java.home}/../bin/javadoc" />
</target>
<target name="generateJavadoc" depends="getJavadocPath" if="javadoc">