Path: blob/master/jcl/com.ibm.lang.management-javadoc-829.xml
13183 views
<!--1Copyright (c) 2016, 2018 IBM Corp. and others23This program and the accompanying materials are made available under4the terms of the Eclipse Public License 2.0 which accompanies this5distribution and is available at https://www.eclipse.org/legal/epl-2.0/6or the Apache License, Version 2.0 which accompanies this distribution and7is available at https://www.apache.org/licenses/LICENSE-2.0.89This Source Code may also be made available under the following10Secondary Licenses when the conditions for such availability set11forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12General Public License, version 2 with the GNU Classpath13Exception [1] and GNU General Public License, version 2 with the14OpenJDK Assembly Exception [2].1516[1] https://www.gnu.org/software/classpath/license.html17[2] http://openjdk.java.net/legal/assembly-exception.html1819SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20-->21<project default="javadoc" basedir=".">2223<target name="setup">24<property name="javadoc.dir" location="com.ibm.lang.management-javadoc" />25<!-- set path for javadoc for linux from IBM Java8sr5 SDK -->26<property name="javadoc.linux" location="/bluebird/vmlab.bluebird.bin/platform/linux386/6480sr5-20170206/sdk/bin/javadoc" />27<property name="javadoc.windows" location="W:\bin\sdk6480sr5-20170206\bin\javadoc" />28<condition property="javadoc.exe" value="${javadoc.windows}" else="${javadoc.linux}">29<os family="windows" />30</condition>31<echo level="info" message="javadoc.exe=${javadoc.exe}" />32<pathconvert property="src.path">33<path location="src" />34</pathconvert>35<tstamp>36<format property="year" pattern="yyyy" />37</tstamp>38<property name="bottom" value="Copyright &copy; 2003, ${year} IBM Corp. and others" />39<property name="zip.dest.dir" location="../java.doc/API_doc/non-security/80_api/com.ibm.lang.management" />40<condition property="zip.dest.exists">41<available file="${zip.dest.dir}" />42</condition>43</target>4445<target name="generate" depends="setup">46<delete dir="${javadoc.dir}" />47<mkdir dir="${javadoc.dir}" />48<exec executable="${javadoc.exe}" dir="${javadoc.dir}" failonerror="true">49<arg value="-sourcepath" />50<arg value="${src.path}" />51<arg value="com.ibm.lang.management" />52<arg value="com.ibm.virtualization.management" />53<arg value="openj9.lang.management" />54<arg value="-bottom" />55<arg value="${bottom}" />56<arg value="-overview" />57<arg value="${src.path}/management-overview.html" />58</exec>5960<!-- remove unwanted line in stylesheet.css: -->61<!-- @import url('resources/fonts/dejavu.css'); -->62<copy file="${javadoc.dir}/stylesheet.css" tofile="${javadoc.dir}/stylesheet.css.tmp">63<filterchain>64<linecontainsregexp negate="true">65<regexp pattern="@import" />66</linecontainsregexp>67</filterchain>68</copy>69<move file="${javadoc.dir}/stylesheet.css.tmp" tofile="${javadoc.dir}/stylesheet.css" />70<!-- improve accessibility -->71<echo message=".subNav ul.navList a, .subNav ul.subNavList a { color: #002d4a; }${line.separator}" file="${javadoc.dir}/stylesheet.css" append="true" />72</target>7374<target name="update-zip" depends="generate" if="zip.dest.exists">75<zip basedir="${javadoc.dir}" destfile="${zip.dest.dir}/com.ibm.lang.management.zip" />76</target>7778<target name="warn-no-update" depends="generate" unless="zip.dest.exists">79<echo level="warning" message="Can't find '${zip.dest.dir}', so not updating com.ibm.lang.management.zip" />80</target>8182<target name="javadoc" depends="update-zip, warn-no-update">83<echo level="info" message="Done" />84</target>8586</project>878889