summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2009-02-12 13:48:51 (EST)
committerpschonbac2009-02-12 13:48:51 (EST)
commitd3823838c0c456989a43ec9b8a3e5f73a3b357ee (patch)
tree7b19aba57d2488116f303c49670996ac93e089a7
parentdc5644991858d2387ea46d5e54eb34334673eaf4 (diff)
downloadorg.eclipse.xpand-d3823838c0c456989a43ec9b8a3e5f73a3b357ee.zip
org.eclipse.xpand-d3823838c0c456989a43ec9b8a3e5f73a3b357ee.tar.gz
org.eclipse.xpand-d3823838c0c456989a43ec9b8a3e5f73a3b357ee.tar.bz2
Missing targets added
-rw-r--r--doc/org.eclipse.xpand.doc/build.xml37
1 files changed, 36 insertions, 1 deletions
diff --git a/doc/org.eclipse.xpand.doc/build.xml b/doc/org.eclipse.xpand.doc/build.xml
index 8d72b1b..941b67f 100644
--- a/doc/org.eclipse.xpand.doc/build.xml
+++ b/doc/org.eclipse.xpand.doc/build.xml
@@ -61,7 +61,42 @@
<available file="${jai.dir}" property="jai.exists"/>
<antcall target="notifyJAI"/>
</target>
-
+
+ <target name="build.update.jar" depends="init"
+ description="Build the plug-in: ${plugin} for an update site.">
+ <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 destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.jar"
+ basedir="${temp.folder}/${docPlugin}_${pluginVersion}" filesonly="false"
+ whenempty="skip" update="false"/>
+ <delete dir="${temp.folder}"/>
+ </target>
+
+ <target name="build.jars" depends="init"
+ description="Build all the jars for the plug-in: ${docPlugin}.">
+
+ <!-- Execute a shell script that will create an ant javadoc script and then run it for us -->
+ <exec executable="sh">
+ <arg value="build/antJavadoc.sh"/>
+ <arg value="${eclipse.home}/../eclipse"/>
+ </exec>
+
+ <antcall target="build.index"/>
+
+ </target>
+
+ <target name="build.index" depends="init"
+ description="Builds search index for the plug-in" if="eclipse.running">
+ <help.buildHelpIndex manifest="plugin.xml" destination="."/>
+ </target>
+
+ <target name="build.sources" depends="init">
+ </target>
+
<target name="notifyJAI" unless="jai.exists">
<echo message="The Java Advanced Imaging (JAI) library is not available."/>
<echo message="JAI is required if you want to use PNG images in your article."/>