Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ce29b0b4f04e93a4e1daed3b12c2fa33115423cb (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
30
31
32
<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="version"  value="_3.1.0" />
		<property name="dest"  value="${destdir}/${plugin}${version}" />
	</target>

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

	<target name="export" depends="build">
		<mkdir dir="${destdir}" />
		<delete dir="${dest}" />
		<mkdir dir="${dest}" />
		<jar 
			jarfile="${dest}/text.jar"
			basedir="bin"
		/>
		<copy file="plugin.xml" todir="${dest}"/>
		<copy file="plugin.properties" todir="${dest}"/>
		<copy todir= "${dest}/META-INF">
			<fileset dir="META-INF"/>
		</copy>		
		<zip zipfile="${dest}/textsrc.zip">
		    <fileset dir="src" />
		    <fileset dir="projection"/>
  		</zip>				
	</target>
</project>

Back to the top