Skip to main content
summaryrefslogblamecommitdiffstats
blob: 9f9b1e6c0ff3537273cdc493bb2ff3703e47016b (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                                 
                                                                      



                                                            
                                                                        









                                                                                              
                                      
                   

                                                      
                                              
                                 



                                                                 


                  
<!-- Export a jar of .class files for the org.eclipse.debug.core Eclipse plugin
     along with other important plugin files to the "plugin-export" subdirectory
     of the target Eclipse installation -->
<project name="org.eclipse.debug.core" default="export" basedir="..">

	<!-- Set the timestamp and important properties -->
	<target name="init">
		<tstamp/>
		<property name="destdir" value="../../plugin-export" />
		<property name="dest"  value="${destdir}/org.eclipse.debug.core" />
	</target>

	<!-- Create the jar of .class files, and copy other important files to export dir -->
	<target name="export" depends="init">
		<mkdir dir="${destdir}" />
		<delete dir="${dest}" />
		<mkdir dir="${dest}" />
		<jar 
			jarfile="${dest}/dtcore.jar"
			basedir="bin"
		/>
		<!-- Create the source zip -->
		<zip zipfile="${dest}/dtcoresrc.zip">
			<fileset dir="core"/>
		</zip>		
		<copy file="plugin.xml" todir="${dest}"/>
		<copy file="plugin.properties" todir="${dest}"/>
		<copy file=".classpath" todir="${dest}"/>
		<copy file=".options" todir="${dest}"/>
	</target>
	
</project>

Back to the top