Skip to main content
summaryrefslogtreecommitdiffstats
blob: 20b186dc362af387e731f40d251cd6b02488fb69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<project name="Export Text" default="export" basedir="..">
	<target name="init">
		<tstamp/>
		<property name="destdir" value="../../plugin-export" />
		<property name="plugin"  value="org.eclipse.text" />
		<property name="plugin_version"  value="_3.1.0" />
		<property name="dest"  value="${destdir}/${plugin}${plugin_version}" />
		<property name="destjar"  value="${destdir}/${plugin}${plugin_version}.jar" />
	</target>

	<target name="build" depends="init">
    	<eclipse.incrementalBuild project="${plugin}" kind="incr"/>
	</target>

	<target name="export" depends="build">
		<mkdir dir="${destdir}" />
		<delete file="${destjar}" />
		<zip zipfile="${destjar}">
			<fileset dir=".">
			  <include name="plugin.xml" />
			  <include name="plugin.properties" />
			  <include name="META-INF/**" />
			  <include name="src/**" />
			</fileset>
			<fileset dir="bin" />
			<zipfileset dir="projection" prefix="src" />
		</zip>
	</target>
</project>

Back to the top