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:
parent
d4891a2e74
commit
a2d6f721cf
1 changed files with 2 additions and 4 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue