Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javadoc updates for DTFJ & management extensions #21

Merged
merged 1 commit into from
Sep 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions jcl/com.ibm.dtfj-javadoc-829.launch
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/pConfig SIDECAR18-DTFJ&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/jcl/com.ibm.lang.management-javadoc-829.xml"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jcl"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jcl/com.ibm.lang.management-javadoc-829.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/pConfig SIDECAR18-SE}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/pConfig SIDECAR18-DTFJ&quot; type=&quot;4&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/jcl/com.ibm.dtfj-javadoc-829.xml"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jcl"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jcl/com.ibm.dtfj-javadoc-829.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/pConfig SIDECAR18-DTFJ}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
167 changes: 87 additions & 80 deletions jcl/com.ibm.dtfj-javadoc-829.xml
Original file line number Diff line number Diff line change
@@ -1,80 +1,87 @@
<!--
/*******************************************************************************
* Copyright (c) 2016, 2017 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
* or the Apache License, Version 2.0 which accompanies this distribution and
* is available at https://www.apache.org/licenses/LICENSE-2.0.
*
* This Source Code may also be made available under the following
* Secondary Licenses when the conditions for such availability set
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
* General Public License, version 2 with the GNU Classpath
* Exception [1] and GNU General Public License, version 2 with the
* OpenJDK Assembly Exception [2].
*
* [1] https://www.gnu.org/software/classpath/license.html
* [2] http://openjdk.java.net/legal/assembly-exception.html
*
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
*******************************************************************************/
-->

<project default="javadoc" basedir=".">
<target name="setup">
<property name="javadoc.dir" location="com.ibm.dtfj-javadoc" />
<echo>javadoc.exe=${javadoc.exe}</echo>
<pathconvert property="src.path">
<path location="src" />
</pathconvert>
<tstamp>
<format property="year" pattern="yyyy" />
</tstamp>
<property name="bottom" value="&amp;copy; Copyright (c) 2004, ${year} IBM Corp. and others" />
<property name="zip.dest.dir" location="../JavaID Development API docs/non-security/80_api/com.ibm.dtfj" />
<condition property="zip.dest.exists">
<available file="${zip.dest.dir}" />
</condition>
</target>

<target name="generate" depends="setup">
<delete dir="${javadoc.dir}" />
<mkdir dir="${javadoc.dir}" />
<exec executable="${javadoc.exe}" dir="${javadoc.dir}" failonerror="true">
<arg value="-verbose" />
<arg value="-sourcepath" />
<arg value="${src.path}" />
<arg value="com.ibm.dtfj.image" />
<arg value="com.ibm.dtfj.java" />
<arg value="com.ibm.dtfj.runtime" />
<arg value="-bottom" />
<arg value="${bottom}" />
</exec>

<!-- remove unwanted line in stylesheet.css: -->
<!-- @import url('resources/fonts/dejavu.css'); -->
<copy file="${javadoc.dir}/stylesheet.css" tofile="${javadoc.dir}/stylesheet.css.tmp">
<filterchain>
<linecontainsregexp negate="true">
<regexp pattern="@import" />
</linecontainsregexp>
</filterchain>
</copy>
<move file="${javadoc.dir}/stylesheet.css.tmp" tofile="${javadoc.dir}/stylesheet.css" />
</target>

<target name="update-zip" depends="generate" if="zip.dest.exists">
<zip basedir="${javadoc.dir}" destfile="${zip.dest.dir}/com.ibm.dtfj.zip" />
</target>

<target name="warn-no-update" depends="generate" unless="zip.dest.exists">
<echo level="warning" message="Can't find '${zip.dest.dir}', so not updating com.ibm.dtfj.zip" />
</target>

<target name="javadoc" depends="generate, update-zip, warn-no-update">
<echo level="info" message="Done" />
</target>

</project>
<!--
Copyright (c) 2016, 2017 IBM Corp. and others

This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which accompanies this
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
or the Apache License, Version 2.0 which accompanies this distribution and
is available at https://www.apache.org/licenses/LICENSE-2.0.

This Source Code may also be made available under the following
Secondary Licenses when the conditions for such availability set
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
General Public License, version 2 with the GNU Classpath
Exception [1] and GNU General Public License, version 2 with the
OpenJDK Assembly Exception [2].

[1] https://www.gnu.org/software/classpath/license.html
[2] http://openjdk.java.net/legal/assembly-exception.html

SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
-->
<project default="javadoc" basedir=".">

<target name="setup">
<property name="javadoc.dir" location="com.ibm.dtfj-javadoc" />
<!-- set path for javadoc for linux from IBM Java8sr5 SDK -->
<property name="javadoc.linux" location="/bluebird/vmlab.bluebird.bin/platform/linux386/6480sr5-20170206/sdk/bin/javadoc" />
<property name="javadoc.windows" location="W:\bin\sdk6480sr5-20170206\bin\javadoc" />
<condition property="javadoc.exe" value="${javadoc.windows}" else="${javadoc.linux}">
<os family="windows" />
</condition>
<echo level="info" message="javadoc.exe=${javadoc.exe}" />
<pathconvert property="src.path">
<path location="src" />
</pathconvert>
<tstamp>
<format property="year" pattern="yyyy" />
</tstamp>
<property name="bottom" value="&amp;copy; Copyright (c) 2004, ${year} IBM Corp. and others" />
<property name="zip.dest.dir" location="../JavaID Development API docs/non-security/80_api/com.ibm.dtfj" />
<condition property="zip.dest.exists">
<available file="${zip.dest.dir}" />
</condition>
</target>

<target name="generate" depends="setup">
<delete dir="${javadoc.dir}" />
<mkdir dir="${javadoc.dir}" />
<exec executable="${javadoc.exe}" dir="${javadoc.dir}" failonerror="true">
<arg value="-sourcepath" />
<arg value="${src.path}" />
<arg value="com.ibm.dtfj.image" />
<arg value="com.ibm.dtfj.java" />
<arg value="com.ibm.dtfj.runtime" />
<arg value="-bottom" />
<arg value="${bottom}" />
<arg value="-overview" />
<arg value="${src.path}/dtfj-overview.html" />
</exec>

<!-- remove unwanted line in stylesheet.css: -->
<!-- @import url('resources/fonts/dejavu.css'); -->
<copy file="${javadoc.dir}/stylesheet.css" tofile="${javadoc.dir}/stylesheet.css.tmp">
<filterchain>
<linecontainsregexp negate="true">
<regexp pattern="@import" />
</linecontainsregexp>
</filterchain>
</copy>
<move file="${javadoc.dir}/stylesheet.css.tmp" tofile="${javadoc.dir}/stylesheet.css" />
<!-- improve accessibility -->
<echo message=".subNav ul.navList a, .subNav ul.subNavList a { color: #002d4a; }${line.separator}" file="${javadoc.dir}/stylesheet.css" append="true" />
</target>

<target name="update-zip" depends="generate" if="zip.dest.exists">
<zip basedir="${javadoc.dir}" destfile="${zip.dest.dir}/com.ibm.dtfj.zip" />
</target>

<target name="warn-no-update" depends="generate" unless="zip.dest.exists">
<echo level="warning" message="Can't find '${zip.dest.dir}', so not updating com.ibm.dtfj.zip" />
</target>

<target name="javadoc" depends="update-zip, warn-no-update">
<echo level="info" message="Done" />
</target>

</project>
36 changes: 18 additions & 18 deletions jcl/com.ibm.lang.management-javadoc-829.launch
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/pConfig SIDECAR18-SE&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/jcl/com.ibm.lang.management-javadoc-829.xml"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jcl"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jcl/com.ibm.lang.management-javadoc-829.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/pConfig SIDECAR18-SE}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
<?xml version="1.0" encoding="UTF-8"?><launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;resources&gt;&#10;&lt;item path=&quot;/pConfig SIDECAR18-SE&quot; type=&quot;4&quot;/&gt;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/jcl/com.ibm.lang.management-javadoc-829.xml"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jcl"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jcl/com.ibm.lang.management-javadoc-829.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/pConfig SIDECAR18-SE}"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>
Loading