Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDoug Schaefer2004-03-23 16:40:45 +0000
committerDoug Schaefer2004-03-23 16:40:45 +0000
commit1d41aabefca2fd5b74dfe7e8ada7e46f7706b4a7 (patch)
treed0d6f320331fdfd156f0ede3ab61f473d183b278 /doc
parent2ef3540b31ea1f1ce5386b71a5bb821420a00872 (diff)
downloadorg.eclipse.cdt-1d41aabefca2fd5b74dfe7e8ada7e46f7706b4a7.tar.gz
org.eclipse.cdt-1d41aabefca2fd5b74dfe7e8ada7e46f7706b4a7.tar.xz
org.eclipse.cdt-1d41aabefca2fd5b74dfe7e8ada7e46f7706b4a7.zip
Updated the doc build process to generate the doc.zip file.
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.cdt.doc.user/build.properties4
-rw-r--r--doc/org.eclipse.cdt.doc.user/build.xml75
-rw-r--r--doc/org.eclipse.cdt.doc.user/doc.zipbin210835 -> 0 bytes
3 files changed, 76 insertions, 3 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/build.properties b/doc/org.eclipse.cdt.doc.user/build.properties
index 24d515fea00..c2d54723b2c 100644
--- a/doc/org.eclipse.cdt.doc.user/build.properties
+++ b/doc/org.eclipse.cdt.doc.user/build.properties
@@ -8,6 +8,4 @@
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
-bin.includes = plugin.properties,\
- *.xml,\
- doc.zip \ No newline at end of file
+custom=true \ No newline at end of file
diff --git a/doc/org.eclipse.cdt.doc.user/build.xml b/doc/org.eclipse.cdt.doc.user/build.xml
new file mode 100644
index 00000000000..4b02894a4fc
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/build.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.eclipse.jdt.doc.user" default="build.jars" basedir=".">
+
+ <target name="init">
+ <property name="plugin" value="org.eclipse.cdt.doc.user"/>
+ <property name="version.suffix" value="_2.0.0"/>
+ <property name="full.name" value="${plugin}${version.suffix}"/>
+ <property name="temp.folder" value="${basedir}/temp.folder"/>
+ <property name="plugin.destination" value="${basedir}"/>
+ <property name="build.result.folder" value="${basedir}"/>
+ </target>
+
+ <target name="build.update.jar" depends="init">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <zip zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
+ <mkdir dir="${destination.temp.folder}/${full.name}"/>
+ <zip zipfile="${destination.temp.folder}/${full.name}/doc.zip"
+ basedir="${basedir}"
+ includes="*.css, hglegal.htm, ngibmcpy.gif, concepts/**, getting_started/**, images/**, reference/**, tasks/**, tips/**, whatsNew/** "
+ />
+ <copy todir="${destination.temp.folder}/${full.name}">
+ <fileset dir="${basedir}" includes="*.properties,*.xml,*.zip,*.html,*.htm,*.gif,*.css" excludes="build.properties,build.xml"/>
+ </copy>
+ </target>
+
+ <target name="build.jars" depends="init">
+ </target>
+
+ <target name="gather.sources" depends="init" if="destination.temp.folder">
+ </target>
+
+ <target name="build.sources" depends="init">
+ </target>
+
+ <target name="gather.logs" depends="init" if="destination.temp.folder">
+ </target>
+
+ <target name="clean" depends="init">
+ <delete file="${plugin.destination}/${full.name}.jar"/>
+ <delete file="${plugin.destination}/${full.name}.zip"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="refresh" depends="init" if="eclipse.running">
+ <eclipse.refreshLocal resource="${plugin}" depth="infinite"/>
+ </target>
+
+ <target name="zip.plugin" depends="init">
+ <delete dir="${temp.folder}"/>
+ <mkdir dir="${temp.folder}"/>
+ <antcall target="build.jars"/>
+ <antcall target="build.sources"/>
+ <antcall target="gather.bin.parts">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <antcall target="gather.sources">
+ <param name="destination.temp.folder" value="${temp.folder}/"/>
+ </antcall>
+ <delete>
+ <fileset dir="${temp.folder}" includes="**/*.bin.log"/>
+ </delete>
+ <zip zipfile="${plugin.destination}/${full.name}.zip" basedir="${temp.folder}" filesonly="true"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+</project> \ No newline at end of file
diff --git a/doc/org.eclipse.cdt.doc.user/doc.zip b/doc/org.eclipse.cdt.doc.user/doc.zip
deleted file mode 100644
index 1674f7b3a28..00000000000
--- a/doc/org.eclipse.cdt.doc.user/doc.zip
+++ /dev/null
Binary files differ

Back to the top