Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogblamecommitdiffstats
blob: 1d06b9b9be726e423b8f88034c210153cb9c3a9b (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                                      



                                                                                         


























                                                                                                                                                  








                                                                              







                                                                                                                      


                                                                      
                       
                                                                                                                       
                 
        






                                                                                                                         
                                                                                                                          

                 






                                                                                                                       
                                                                                                                        

                        

                                                                                



                                                                                                                     
                       
                                                                                                                     

                 



                                                                                                                        

                                                                                                                            
                                                                                                                                                




                                                                                                                        

                                                                                                                            
                                                                                                                                                
                 





                                                                                                                           
                                                                                                                                               






                                                                                                                           
                                                                                                                                               
                 





                                                                                                                              
                                                                                                                                                  
                 




                                                                                                                    
                       
                                                                                                                 




                                                                                                                        

                                                                                                          
                       
                                                                                                                
                                                                                                                       



                                                                                                                      

                                                                                                          
                       
                                                                                                                   
                 







                                                                                                                    







                                                                                                                  




                                                                                                                       
                       
                                                                                                                    




                                                                                                                           
                       
                                                                                                                  
                 















                                                                                                                      




                                                                                                                      

                                                                                                                                     
                                                                                                                   




                                                                                                                        
                       
                                                                                                                     
                 




                                                                                                                      
                                                                                                                   
                 




                                                                                                                          
                                                                                                                       
                 



                                                                                                                    
                       
                                                                                                                 




                                                                                                                         
                       
                                                                                                                      



                                                                                                                      
                       
                                                                                                                   



                                                                                                                         
                                                                                                          
                       
                                                                                                                      
                 






                                                                                                                       



                                                                                                                     
                       
                                                                                                                  


                                                            
                                                          

                                                               

                                                              

                                                             




                                                             
                                                            

                                                              
                                                            
                                                                
                                                          
                                                          
                                                        


                                                               
                                                             
























                                                                                                                                                                            
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.eclipse.platform.launchers" default="build.update.jar" basedir=".">

	<target name="init">
		<property name="feature.destination" value="${basedir}"/>
		<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
		<condition property="p2.publish.parts" value="true"		>
			<istrue value="${p2.gathering}"/>
		</condition>
	</target>

	<target name="all.plugins" depends="init">
	</target>
	<target name="all.features" depends="init">
	</target>
	<target name="update.feature" depends="init">
	</target>

	<target name="all.children" depends="init,all.features,all.plugins,update.feature">
	</target>

	<target name="children" if="include.children">
		<antcall target="all.children"/>
	</target>

	<target name="build.jars" depends="init" description="Build all the jars for the feature: org.eclipse.platform.launchers.">
	</target>

	<target name="build.sources" depends="init">
	</target>

	<target name="build.zips" depends="init">
	</target>

	<target name="build.update.jar" depends="init" description="Build the feature jar of: org.eclipse.platform.launchers for an update site.">
	</target>
	
	<target name="publish.bin.parts" depends="init" if="p2.publish.parts">
		<eclipse.gatherFeature 
		   metadataRepository="${p2.build.repo}"
		   artifactRepository="${p2.build.repo}"
		   buildResultFolder="${basedir}"
		   baseDirectory="${basedir}"
		/>
	</target>

	<target name="gather.bin.parts" depends="init" if="feature.base">
		<subant target="rootFiles${os}_${ws}_${arch}" buildpath="." failonerror="false" inheritall="true"/>
	</target>
	
	<target name="rootFileswin32_win32_x86">
		<mkdir dir="${feature.base}/win32.win32.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/win32.win32.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/win32/win32/x86">
				<include name="launcher.exe"/>
			</fileset>
		</copy>
		<chmod perm="755" dir="${feature.base}/win32.win32.x86/${collectingFolder}" includes="launcher.exe" /> 
	</target>
	
	<target name="rootFileswin32_win32_x86_64">
		<mkdir dir="${feature.base}/win32.win32.x86_64/${collectingFolder}"/>
		<copy todir="${feature.base}/win32.win32.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/win32/win32/x86_64">
				<include name="launcher.exe"/>
			</fileset>
		</copy>
		<chmod perm="755" dir="${feature.base}/win32.win32.x86_64/${collectingFolder}" includes="launcher.exe" /> 
	</target>
	
	<target name="rootFileswin32_win32_ia64">
		<mkdir dir="${feature.base}/win32.win32.ia64/${collectingFolder}"/>
		<copy todir="${feature.base}/win32.win32.ia64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/contributed/win32/win32/ia64">
				<include name="launcher.exe"/>
			</fileset>
		</copy>
		<chmod perm="755" dir="${feature.base}/win32.win32.ia64/${collectingFolder}" includes="launcher.exe" /> 
	</target>
			
	<target name="rootFileswin32_wpf_x86">
		<mkdir dir="${feature.base}/win32.wpf.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/win32.wpf.x86/${collectingFolder}/" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/wpf/win32/x86">
				<include name="launcher.exe"/>
			</fileset>
		</copy>
		<chmod perm="755" dir="${feature.base}/win32.wpf.x86/${collectingFolder}" includes="launcher.exe" /> 
	</target>
		
	<target name="rootFilesmacosx_carbon_ppc">
		<mkdir dir="${feature.base}/macosx.carbon.ppc/${collectingFolder}"/>
		<copy todir="${feature.base}/macosx.carbon.ppc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/carbon/macosx/ppc" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/macosx.carbon.ppc/${collectingFolder}" includes="${launcherName}" /> 
		<chmod perm="755" dir="${feature.base}/macosx.carbon.ppc/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" /> 
	</target>
	<target name="rootFilesmacosx_carbon_x86">
		<mkdir dir="${feature.base}/macosx.carbon.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/macosx.carbon.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/carbon/macosx/x86" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/macosx.carbon.x86/${collectingFolder}" includes="${launcherName}" /> 
		<chmod perm="755" dir="${feature.base}/macosx.carbon.x86/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" /> 
	</target>
	<target name="rootFilesmacosx_cocoa_ppc">
		<mkdir dir="${feature.base}/macosx.cocoa.ppc/${collectingFolder}"/>
		<copy todir="${feature.base}/macosx.cocoa.ppc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/cocoa/macosx/ppc" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.ppc/${collectingFolder}" includes="${launcherName}" /> 
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.ppc/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" /> 
	</target>
	<target name="rootFilesmacosx_cocoa_x86">
		<mkdir dir="${feature.base}/macosx.cocoa.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/macosx.cocoa.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/cocoa/macosx/x86" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.x86/${collectingFolder}" includes="${launcherName}" /> 
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.x86/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" /> 
	</target>
	<target name="rootFilesmacosx_cocoa_x86_64">
		<mkdir dir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}"/>
		<copy todir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/cocoa/macosx/x86_64" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}" includes="${launcherName}" /> 
		<chmod perm="755" dir="${feature.base}/macosx.cocoa.x86_64/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" /> 
	</target>
	<target name="rootFileslinux_gtk_x86">
		<mkdir dir="${feature.base}/linux.gtk.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/linux/x86" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="launcher" /> 
		<chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="libcairo-swt.so" /> 
	</target>
	<target name="rootFileslinux_gtk_ppc">
		<mkdir dir="${feature.base}/linux.gtk.ppc/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.ppc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/linux/ppc" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.ppc/${collectingFolder}" includes="launcher" />
		<chmod perm="755" dir="${feature.base}/linux.gtk.x86/${collectingFolder}" includes="libcairo-swt.so" />
	</target>
	<target name="rootFileslinux_gtk_ppc64">
		<mkdir dir="${feature.base}/linux.gtk.ppc64/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.ppc64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/linux/ppc64" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.ppc64/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilesaix_gtk_ppc64">
		<mkdir dir="${feature.base}/aix.gtk.ppc64/${collectingFolder}"/>
		<copy todir="${feature.base}/aix.gtk.ppc64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/aix/ppc64" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/aix.gtk.ppc64/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilesaix_gtk_ppc">
		<mkdir dir="${feature.base}/aix.gtk.ppc/${collectingFolder}"/>
		<copy todir="${feature.base}/aix.gtk.ppc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/aix/ppc" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/aix.gtk.ppc/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileslinux_gtk_x86_64">
		<mkdir dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/linux/x86_64" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="launcher" /> 
		<chmod perm="755" dir="${feature.base}/linux.gtk.x86_64/${collectingFolder}" includes="libcairo-swt.so" /> 
	</target>
	<target name="rootFileslinux_gtk_ia64">
		<mkdir dir="${feature.base}/linux.gtk.ia64/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.ia64/${collectingFolder}" failonerror="true" overwrite="true">
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.ia64/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileslinux_gtk_s390x">
		<mkdir dir="${feature.base}/linux.gtk.s390x/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.s390x/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/contributed/gtk/linux/s390x" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.s390x/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileslinux_gtk_s390">
		<mkdir dir="${feature.base}/linux.gtk.s390/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.gtk.s390/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/contributed/gtk/linux/s390" includes="**"			/>
			<fileset dir="${basedir}/gtk_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.gtk.s390/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileslinux_motif_x86">
		<mkdir dir="${feature.base}/linux.motif.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/linux.motif.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/motif/linux/x86" includes="**"			/>
			<fileset dir="${basedir}/motif_root" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/linux.motif.x86/${collectingFolder}" includes="libXm.so.2,libcairo-swt.so" /> 
		<chmod perm="755" dir="${feature.base}/linux.motif.x86/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilessolaris_gtk_sparc">
		<mkdir dir="${feature.base}/solaris.gtk.sparc/${collectingFolder}"/>
		<copy todir="${feature.base}/solaris.gtk.sparc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/solaris/sparc" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/solaris.gtk.sparc/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilessolaris_gtk_x86">
		<mkdir dir="${feature.base}/solaris.gtk.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/solaris.gtk.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/solaris/x86" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/solaris.gtk.x86/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilessolaris_motif_sparc">
		<mkdir dir="${feature.base}/solaris.motif.sparc/${collectingFolder}"/>
		<copy todir="${feature.base}/solaris.motif.sparc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/contributed/motif/solaris/sparc" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/solaris.motif.sparc/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilesaix_motif_ppc">
		<mkdir dir="${feature.base}/aix.motif.ppc/${collectingFolder}"/>
		<copy todir="${feature.base}/aix.motif.ppc/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/motif/aix/ppc" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/aix.motif.ppc/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileshpux_motif_PA_RISC">
		<mkdir dir="${feature.base}/hpux.motif.PA_RISC/${collectingFolder}"/>
		<copy todir="${feature.base}/hpux.motif.PA_RISC/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/motif/hpux/PA_RISC" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/hpux.motif.PA_RISC/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileshpux_motif_ia64">
		<mkdir dir="${feature.base}/hpux.motif.ia64/${collectingFolder}"/>
		<copy todir="${feature.base}/hpux.motif.ia64/${collectingFolder}" failonerror="true" overwrite="true">
		</copy>
		<chmod perm="755" dir="${feature.base}/hpux.motif.ia64/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileshpux_motif_ia64_32">
		<mkdir dir="${feature.base}/hpux.motif.ia64_32/${collectingFolder}"/>
		<copy todir="${feature.base}/hpux.motif.ia64_32/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/motif/hpux/ia64_32" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/hpux.motif.ia64_32/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFileshpux_gtk_ia64_32">
		<mkdir dir="${feature.base}/hpux.gtk.ia64_32/${collectingFolder}"/>
		<copy todir="${feature.base}/hpux.gtk.ia64_32/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/gtk/hpux/ia64_32" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/hpux.gtk.ia64_32/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilesqnx_photon_x86">
		<mkdir dir="${feature.base}/qnx.photon.x86/${collectingFolder}"/>
		<copy todir="${feature.base}/qnx.photon.x86/${collectingFolder}" failonerror="true" overwrite="true">
			<fileset dir="${basedir}/bin/photon/qnx/x86" includes="**"			/>
		</copy>
		<chmod perm="755" dir="${feature.base}/qnx.photon.x86/${collectingFolder}" includes="launcher" /> 
	</target>
	<target name="rootFilesgroup_group_group">
		<antcall target="rootFileswin32_win32_x86"/>
		<antcall target="rootFileswin32_wpf_x86"/>
		<antcall target="rootFileswin32_win32_x86_64"/>
		<antcall target="rootFileswin32_win32_ia64"/>
		<antcall target="rootFilesmacosx_carbon_ppc"/>
		<antcall target="rootFilesmacosx_carbon_x86"/>
		<antcall target="rootFilesmacosx_cocoa_ppc"/>
		<antcall target="rootFilesmacosx_cocoa_x86"/>
		<antcall target="rootFileslinux_gtk_x86"/>
		<antcall target="rootFileslinux_gtk_ppc"/>
		<antcall target="rootFileslinux_gtk_ppc64"/>
		<antcall target="rootFileslinux_gtk_x86_64"/>
		<antcall target="rootFileslinux_gtk_ia64"/>
		<antcall target="rootFileslinux_gtk_s390x"/>
		<antcall target="rootFileslinux_motif_x86"/>
		<antcall target="rootFilessolaris_gtk_sparc"/>
		<antcall target="rootFilessolaris_gtk_x86"/>
		<antcall target="rootFilessolaris_motif_sparc"/>
		<antcall target="rootFilesaix_motif_ppc"/>
		<antcall target="rootFilesaix_gtk_ppc64"/>
		<antcall target="rootFilesaix_gtk_ppc"/>
		<antcall target="rootFileshpux_motif_PA_RISC"/>
		<antcall target="rootFileshpux_motif_ia64"/>
		<antcall target="rootFileshpux_motif_ia64_32"/>
		<antcall target="rootFileshpux_gtk_ia64_32"/>
		<antcall target="rootFilesqnx_photon_x86"/>
	</target>

	<target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.eclipse.platform.launchers.">
	</target>

	<target name="zip.sources" depends="init">
	</target>

	<target name="zip.logs" depends="init">
	</target>

	<target name="clean" depends="init" description="Clean the feature: org.eclipse.platform.launchers of all the zips, jars and logs created.">
	</target>

	<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
	</target>
	
	<target name="gather.sources">
	</target>

	<target name="gather.logs" depends="init">
	</target>

</project>

Back to the top