Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-09-17 16:34:59 +0000
committerEike Stepper2011-09-17 16:34:59 +0000
commit33b8036511dbdcca24c7732d2413177d96424d78 (patch)
tree9f0dc7257e08d6edcdbb80a044c6f84d0deea03f
parent55c27f1d8422f3dd97f46934703254a8d8973bba (diff)
downloadcdo-33b8036511dbdcca24c7732d2413177d96424d78.tar.gz
cdo-33b8036511dbdcca24c7732d2413177d96424d78.tar.xz
cdo-33b8036511dbdcca24c7732d2413177d96424d78.zip
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/AssembleScripts.java31
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/build.xml14
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/help/docs.txt4
3 files changed, 49 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/AssembleScripts.java b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/AssembleScripts.java
index c68dcd7639..0c7cd53f5d 100644
--- a/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/AssembleScripts.java
+++ b/plugins/org.eclipse.emf.cdo.releng.doc/src/org/eclipse/emf/cdo/releng/doc/AssembleScripts.java
@@ -103,6 +103,7 @@ public class AssembleScripts
}
ANTLIB.generate();
+ ANTLIB.generateDocsTxt();
ANTLIB.generateDebug();
System.out.println();
@@ -456,6 +457,36 @@ public class AssembleScripts
}
}
+ public void generateDocsTxt() throws IOException
+ {
+ FileWriter out = null;
+
+ try
+ {
+ File target = new File(new File(new File(plugins, "org.eclipse.emf.cdo.releng"), "help"), "docs.txt");
+ System.out.println("Generating " + target.getCanonicalPath());
+
+ out = new FileWriter(target);
+ BufferedWriter writer = new BufferedWriter(out);
+
+ List<JavaDoc> javaDocs = (List<JavaDoc>)getJavaDocsSortedByDependencies();
+ for (JavaDoc javaDoc : javaDocs)
+ {
+ writer.write(javaDoc.getProject().getName());
+ writer.write("\n");
+ }
+
+ writer.flush();
+ }
+ finally
+ {
+ if (out != null)
+ {
+ out.close();
+ }
+ }
+ }
+
public void generateDebug() throws IOException
{
FileWriter out = null;
diff --git a/plugins/org.eclipse.emf.cdo.releng/build.xml b/plugins/org.eclipse.emf.cdo.releng/build.xml
index f437a13504..121402797a 100644
--- a/plugins/org.eclipse.emf.cdo.releng/build.xml
+++ b/plugins/org.eclipse.emf.cdo.releng/build.xml
@@ -192,6 +192,7 @@
<include name="features/**" />
<include name="plugins/**" />
<include name="zips/**" />
+ <include name="help/**" />
<include name="*.jar" />
<include name="*.xml" />
<include name="*.html" />
@@ -519,6 +520,7 @@
<property name="zips" location="${hudson.WORKSPACE}/zips" />
<mkdir dir="${zips}" />
+ <antcall target="-generate.help" />
<antcall target="-generate.index" />
<antcall target="-generate.bookmarks" />
<antcall target="-generate.dropins" />
@@ -532,6 +534,18 @@
</target>
<!-- ============== -->
+ <!-- Generate Help -->
+ <!-- ============== -->
+
+ <target name="-generate.help">
+ <copy todir="${hudson.WORKSPACE}">
+ <fileset dir="${releng}">
+ <include name="help/**"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- ============== -->
<!-- Generate Index -->
<!-- ============== -->
diff --git a/plugins/org.eclipse.emf.cdo.releng/help/docs.txt b/plugins/org.eclipse.emf.cdo.releng/help/docs.txt
new file mode 100644
index 0000000000..4d47bb4ab9
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.releng/help/docs.txt
@@ -0,0 +1,4 @@
+org.eclipse.net4j.util.doc
+org.eclipse.net4j.db.doc
+org.eclipse.net4j.doc
+org.eclipse.emf.cdo.doc

Back to the top