Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 7e4684ff72f6271484829712175d9537f19a8fdb (plain) (tree)




























                                                                                       
<project name="Export Workbench Text Editor Fragment" default="export" basedir="..">
	<target name="init">
		<tstamp/>
		<property name="destdir" value="../../plugin-export" />
		<property name="plugin"  value="org.eclipse.ui.workbench.texteditor" />
		<property name="version"  value="_2.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}/texteditor.jar"
			basedir="bin"
		/>
		<copy file="fragment.xml" todir="${dest}"/>
		<copy file="fragment.properties" todir="${dest}"/>
		<zip zipfile="${dest}/texteditorsrc.jar">
		    <fileset dir="src" />
  		</zip>				
	</target>

</project>

Back to the top