[316846] Fix problems with about.html and empty doc.
diff --git a/doc/org.eclipse.emf.ecoretools.doc/buckminster.cspex b/doc/org.eclipse.emf.ecoretools.doc/buckminster.cspex
new file mode 100644
index 0000000..1ba847b
--- /dev/null
+++ b/doc/org.eclipse.emf.ecoretools.doc/buckminster.cspex
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cs:cspecExtension xmlns:com="http://www.eclipse.org/buckminster/Common-1.0" xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0">
+ <cs:artifacts>
+ <cs:private name="plugin.xml" path="plugin.xml" />
+ </cs:artifacts>
+
+ <cs:actions>
+ <cs:private name="documentation.index" actor="ant">
+ <cs:actorProperties>
+ <cs:property key="buildFile" value="documentation.ant" />
+ <cs:property key="targets" value="build.index" />
+ </cs:actorProperties>
+ <cs:prerequisites>
+ <cs:attribute name="plugin.xml" alias="plugin.xml" />
+ </cs:prerequisites>
+ <cs:products alias="output" base="${buckminster.home}">
+ <cs:path path="index/" />
+ </cs:products>
+ </cs:private>
+ </cs:actions>
+
+ <cs:alterGroups>
+ <cs:private name="jar.contents">
+ <cs:attribute name="documentation.index" />
+ </cs:private>
+ </cs:alterGroups>
+</cs:cspecExtension>
diff --git a/doc/org.eclipse.emf.ecoretools.doc/build.properties b/doc/org.eclipse.emf.ecoretools.doc/build.properties
index 2f5dec1..f249df6 100644
--- a/doc/org.eclipse.emf.ecoretools.doc/build.properties
+++ b/doc/org.eclipse.emf.ecoretools.doc/build.properties
@@ -1,2 +1,9 @@
-custom = true
-
+bin.includes = about.html,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ META-INF/,\
+ modeling32.png,\
+ plugin.properties,\
+ plugin.xml,\
+ toc.xml
diff --git a/doc/org.eclipse.emf.ecoretools.doc/documentation.ant b/doc/org.eclipse.emf.ecoretools.doc/documentation.ant
new file mode 100644
index 0000000..04aa7a7
--- /dev/null
+++ b/doc/org.eclipse.emf.ecoretools.doc/documentation.ant
@@ -0,0 +1,6 @@
+<project name="Documentation Build Tasks">
+ <target name="build.index" description="Build documentation search index">
+ <dirname property="destination" file="${sp:output}" />
+ <help.buildHelpIndex manifest="${sp:plugin.xml}" destination="${destination}" />
+ </target>
+</project>
diff --git a/doc/org.eclipse.emf.ecoretools.doc/plugin.xml b/doc/org.eclipse.emf.ecoretools.doc/plugin.xml
index f227c45..ae2d93d 100644
--- a/doc/org.eclipse.emf.ecoretools.doc/plugin.xml
+++ b/doc/org.eclipse.emf.ecoretools.doc/plugin.xml
@@ -9,28 +9,4 @@
<index path="index"/>
</extension>
- <!-- ====================================================================== -->
- <!-- Define TOCs -->
- <!-- ====================================================================== -->
-
- <extension point="org.eclipse.help.toc">
- <toc file="topics_Reference.xml" />
- </extension>
-
-<!-- ============================================================================= -->
-<!-- Define Javadoc locations -->
-<!-- ============================================================================= -->
- <extension point="org.eclipse.pde.core.javadoc">
- <javadoc path="doc.zip!/references/javadoc" archive="true">
- <!-- @pluginIDs@ -->
- <!-- list plugin IDs here, eg. <plugin id="org.eclipse.foo.bar"/> <plugin id="org.eclipse.foo.baz"/> -->
- <plugin id="org.eclipse.emf.ecoretools"/>
- <plugin id="org.eclipse.emf.ecoretools.diagram"/>
- <plugin id="org.eclipse.emf.ecoretools.diagram.ui.outline"/>
- <plugin id="org.eclipse.emf.ecoretools.filters"/>
- <plugin id="org.eclipse.emf.ecoretools.properties"/>
- <plugin id="org.eclipse.emf.ecoretools.tabbedproperties"/>
- </javadoc>
- </extension>
-
</plugin>
diff --git a/doc/org.eclipse.emf.ecoretools.doc/toc.xml b/doc/org.eclipse.emf.ecoretools.doc/toc.xml
index 380bd64..6a9c981 100644
--- a/doc/org.eclipse.emf.ecoretools.doc/toc.xml
+++ b/doc/org.eclipse.emf.ecoretools.doc/toc.xml
@@ -8,8 +8,4 @@
<topic label="Ecore Tools FAQ" href="http://wiki.eclipse.org/EcoreTools_FAQ" />
</topic>
- <topic label="Reference">
- <link toc="topics_Reference.xml"/>
- </topic>
-
</toc>