From 25e8fc02af9b8004de424586cf218cb8d76e1c5d Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Tue, 4 Feb 2020 17:31:05 +0200 Subject: [PATCH] Bug 559800 - Content in cdt.doc.isv badly outdated and broken Redo the javadoc build process to be based on tycho-document-bundle-plugin. It has the nice effect of whole api from cdt.core being in the built javadoc instead of the very few preselected bundles. Change-Id: I3fd33daaef2ef3bcbbc7ee7dabfe6a7262b7a87e Signed-off-by: Alexander Kurtakov --- doc/org.eclipse.cdt.doc.isv/build.properties | 2 +- doc/org.eclipse.cdt.doc.isv/buildDoc.xml | 33 ---- doc/org.eclipse.cdt.doc.isv/cdtOptions | 36 ---- doc/org.eclipse.cdt.doc.isv/cdtOptions.txt | 36 ---- .../customBuildCallbacks.xml | 159 ------------------ doc/org.eclipse.cdt.doc.isv/pom.xml | 65 +++---- 6 files changed, 35 insertions(+), 296 deletions(-) delete mode 100644 doc/org.eclipse.cdt.doc.isv/cdtOptions delete mode 100644 doc/org.eclipse.cdt.doc.isv/cdtOptions.txt delete mode 100644 doc/org.eclipse.cdt.doc.isv/customBuildCallbacks.xml diff --git a/doc/org.eclipse.cdt.doc.isv/build.properties b/doc/org.eclipse.cdt.doc.isv/build.properties index bb9e0ae8637..994928090a2 100644 --- a/doc/org.eclipse.cdt.doc.isv/build.properties +++ b/doc/org.eclipse.cdt.doc.isv/build.properties @@ -25,5 +25,5 @@ bin.includes = META-INF/,\ index/,\ notices.html -customBuildCallbacks = customBuildCallbacks.xml src.includes = about.html +jars.extra.classpath = platform:/plugin/org.eclipse.cdt.core diff --git a/doc/org.eclipse.cdt.doc.isv/buildDoc.xml b/doc/org.eclipse.cdt.doc.isv/buildDoc.xml index 8073d15d8f8..e0733e861ed 100644 --- a/doc/org.eclipse.cdt.doc.isv/buildDoc.xml +++ b/doc/org.eclipse.cdt.doc.isv/buildDoc.xml @@ -3,7 +3,6 @@ - @@ -24,36 +23,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/org.eclipse.cdt.doc.isv/cdtOptions b/doc/org.eclipse.cdt.doc.isv/cdtOptions deleted file mode 100644 index 6461f24118e..00000000000 --- a/doc/org.eclipse.cdt.doc.isv/cdtOptions +++ /dev/null @@ -1,36 +0,0 @@ --charset "iso-8859-1" --sourcepath "../../core/org.eclipse.cdt.core.native/src:../../core/org.eclipse.cdt.core/model:../../core/org.eclipse.cdt.core/parser" --d reference/api --classpath ${bootclasspath}:../org.apache.ant/lib/ant.jar:../org.eclipse.debug.core/dtcore.jar:../org.eclipse.compare/compare.jar:../org.eclipse.help/help.jar:../org.eclipse.help.ui/helpworkbench.jar:../org.eclipse.core.resources_*.jar:../org.eclipse.core.runtime/runtime.jar:../org.eclipse.core.filebuffers/filebuffers.jar:../org.eclipse.core.expressions/expressions.jar:../org.eclipse.swt.win32/ws/win32/swt.jar:../org.eclipse.swt.motif/ws/motif/swt.jar:../org.eclipse.ui/ui.jar:../org.eclipse.jdt.debug/jdi.jar:../org.eclipse.debug.ui/dtui.jar:../org.eclipse.search/search.jar:../org.eclipse.jface/jface.jar:../org.eclipse.jface.text/jfacetext.jar:../org.eclipse.text/text.jar:../org.eclipse.ui.editors/editors.jar:../org.eclipse.ui.views/views.jar:../org.eclipse.ui.workbench/workbench.jar:../org.eclipse.ui.workbench.texteditor/texteditor.jar:../org.eclipse.core.variables/variables.jar:../org.eclipse.ui.ide/ide.jar:../org.eclipse.jdt.junit/junitsupport.jar:../org.eclipse.osgi/osgi.jar:../org.eclipse.osgi/core.jar:../org.eclipse.osgi/eclipseAdaptor.jar:../org.eclipse.osgi.services/services.jar:../org.eclipse.osgi.util/util.jar --breakiterator --use --splitIndex --windowtitle "Eclipse CDT API Specification" --doctitle "Eclipse CDT API Specification" --header "Eclipse CDT
9.11.0" --bottom "Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved." --group "C/C++ Development Tools Core Plug-in Packages" "org.eclipse.cdt.core:org.eclipse.cdt.core.*" --group "C/C++ Development Tools Debug Core Plug-in Packages" "org.eclipse.cdt.debug.core:org.eclipse.cdt.debug.core.*" --link https://docs.oracle.com/en/java/javase/11/docs/api/ --tag 'noimplement:a:Restriction:' --tag 'noextend:a:Restriction:' --tag 'noreference:a:Restriction:' --tag 'noinstantiate:a:Restriction:' --tag 'nooverride:a:Restriction:' --tag 'TrackedGetter:cm:"TrackedGetter"' --tag 'model:X:"EMF generated tag"' --tag 'generated:X:"EMF generated tag"' --tag 'ordered:X:"EMF generated tag"' --tag 'Immutable:t' --tag 'implNote:a:Implementation Note:' - -org.eclipse.cdt.core -org.eclipse.cdt.core.model -org.eclipse.cdt.core.dom.ast -org.eclipse.cdt.core.dom.ast.c -org.eclipse.cdt.core.dom.ast.cpp -org.eclipse.cdt.core.dom.ast.gnu -org.eclipse.cdt.core.dom.ast.gnu.c -org.eclipse.cdt.core.dom.ast.gnu.cpp -org.eclipse.cdt.utils.pty -org.eclipse.cdt.utils.spawner diff --git a/doc/org.eclipse.cdt.doc.isv/cdtOptions.txt b/doc/org.eclipse.cdt.doc.isv/cdtOptions.txt deleted file mode 100644 index e3420391e7d..00000000000 --- a/doc/org.eclipse.cdt.doc.isv/cdtOptions.txt +++ /dev/null @@ -1,36 +0,0 @@ --charset "iso-8859-1" --sourcepath "../../core/org.eclipse.cdt.core.native/src;../../core/org.eclipse.cdt.core/model;../../core/org.eclipse.cdt.core/parser" --d reference/api --classpath ${bootclasspath};../org.apache.ant/lib/ant.jar;../org.eclipse.debug.core/dtcore.jar;../org.eclipse.compare/compare.jar;../org.eclipse.help/help.jar;../org.eclipse.help.ui/helpworkbench.jar;../org.eclipse.core.resources_*.jar;../org.eclipse.core.runtime/runtime.jar;../org.eclipse.core.filebuffers/filebuffers.jar;../org.eclipse.core.expressions/expressions.jar;../org.eclipse.swt.win32/ws/win32/swt.jar;../org.eclipse.swt.motif/ws/motif/swt.jar;../org.eclipse.ui/ui.jar;../org.eclipse.jdt.debug/jdi.jar;../org.eclipse.debug.ui/dtui.jar;../org.eclipse.search/search.jar;../org.eclipse.jface/jface.jar;../org.eclipse.jface.text/jfacetext.jar;../org.eclipse.text/text.jar;../org.eclipse.ui.editors/editors.jar;../org.eclipse.ui.views/views.jar;../org.eclipse.ui.workbench/workbench.jar;../org.eclipse.ui.workbench.texteditor/texteditor.jar;../org.eclipse.core.variables/variables.jar;../org.eclipse.ui.ide/ide.jar;../org.eclipse.jdt.junit/junitsupport.jar;../org.eclipse.osgi/osgi.jar;../org.eclipse.osgi/core.jar;../org.eclipse.osgi/eclipseAdaptor.jar;../org.eclipse.osgi.services/services.jar;../org.eclipse.osgi.util/util.jar --breakiterator --use --splitIndex --windowtitle "Eclipse CDT API Specification" --doctitle "Eclipse CDT API Specification" --header "Eclipse CDT
9.11.0" --bottom "Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved." --group "C/C++ Development Tools Core Plug-in Packages" "org.eclipse.cdt.core;org.eclipse.cdt.core.*" --group "C/C++ Development Tools Debug Core Plug-in Packages" "org.eclipse.cdt.debug.core;org.eclipse.cdt.debug.core.*" --link https://docs.oracle.com/en/java/javase/11/docs/api/ --tag 'noimplement:a:Restriction:' --tag 'noextend:a:Restriction:' --tag 'noreference:a:Restriction:' --tag 'noinstantiate:a:Restriction:' --tag 'nooverride:a:Restriction:' --tag 'TrackedGetter:cm:"TrackedGetter"' --tag 'model:X:"EMF generated tag"' --tag 'generated:X:"EMF generated tag"' --tag 'ordered:X:"EMF generated tag"' --tag 'Immutable:t' --tag 'implNote:a:Implementation Note:' - -org.eclipse.cdt.core -org.eclipse.cdt.core.model -org.eclipse.cdt.core.dom.ast -org.eclipse.cdt.core.dom.ast.c -org.eclipse.cdt.core.dom.ast.cpp -org.eclipse.cdt.core.dom.ast.gnu -org.eclipse.cdt.core.dom.ast.gnu.c -org.eclipse.cdt.core.dom.ast.gnu.cpp -org.eclipse.cdt.utils.pty -org.eclipse.cdt.utils.spawner diff --git a/doc/org.eclipse.cdt.doc.isv/customBuildCallbacks.xml b/doc/org.eclipse.cdt.doc.isv/customBuildCallbacks.xml deleted file mode 100644 index 2aed4949403..00000000000 --- a/doc/org.eclipse.cdt.doc.isv/customBuildCallbacks.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/org.eclipse.cdt.doc.isv/pom.xml b/doc/org.eclipse.cdt.doc.isv/pom.xml index ee341f79873..a1fd8e95bbf 100644 --- a/doc/org.eclipse.cdt.doc.isv/pom.xml +++ b/doc/org.eclipse.cdt.doc.isv/pom.xml @@ -1,5 +1,6 @@ - 4.0.0 @@ -46,39 +47,41 @@ org.eclipse.tycho.extras - tycho-eclipserun-plugin - ${tycho-extras-version} - - -application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml - - - org.apache.ant - eclipse-plugin - - - org.eclipse.help.base - eclipse-plugin - - - org.eclipse.pde.core - eclipse-plugin - - - javax.annotation - eclipse-plugin - - - org.eclipse.osgi.compatibility.state - eclipse-plugin - - - + tycho-document-bundle-plugin + ${tycho-version} + eclipse-javadoc + generate-resources - eclipse-run + javadoc - compile + + ${project.basedir}/reference/api + + + + org.eclipse.cdt.internal.* + + + -windowtitle "Eclipse CDT API Specification" + -doctitle "Eclipse CDT API Specification" + + -link "https://docs.oracle.com/javase/8/docs/api/" + -linkoffline ../../org.eclipse.platform.doc.isv/reference/api + + -public + -header "Eclipse CDT 9.11.0" + + -bottom "Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved." + -tag 'noimplement:a:Restriction:' + -tag 'noextend:a:Restriction:' + -tag 'noreference:a:Restriction:' + -tag 'noinstantiate:a:Restriction:' + -tag 'nooverride:a:Restriction:' + + + @@ -102,7 +105,7 @@ compile - +