| <project name="org.eclipse.search" default="export" basedir="."> | |
| <target name="init"> | |
| <tstamp/> | |
| <property name="destdir" value="../../plugin-export" /> | |
| <property name="plugin" value="org.eclipse.jdt.ui.examples.projects" /> | |
| <property name="dest" value="${destdir}/${plugin}" /> | |
| </target> | |
| <target name="build" depends="init"> | |
| <incremental project="${plugin}" kind="incr"/> | |
| </target> | |
| <target name="export" depends="build"> | |
| <mkdir dir="${destdir}" /> | |
| <delete dir="${dest}" /> | |
| <mkdir dir="${dest}" /> | |
| <jar | |
| jarfile="${dest}/jdtexamples.jar" | |
| basedir="bin" | |
| /> | |
| <copy file="plugin.xml" todir="${dest}"/> | |
| <copy file="plugin.properties" todir="${dest}"/> | |
| <copy file="plugin.jars" todir="${dest}"/> | |
| <copy todir="${dest}/icons"> | |
| <fileset dir="icons" /> | |
| </copy> | |
| <copy todir="${dest}/archive"> | |
| <fileset dir="archive" /> | |
| </copy> | |
| <copy todir="${dest}/doc-html"> | |
| <fileset dir="doc-html" /> | |
| </copy> | |
| </target> | |
| </project> |