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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
<?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_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="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="rootFilesmacosx_cocoa_aarch64">
<mkdir dir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}"/>
<copy todir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/cocoa/macosx/aarch64" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}" includes="${launcherName}" />
<chmod perm="755" dir="${feature.base}/macosx.cocoa.aarch64/${collectingFolder}" includes="Eclipse.app/Contents/MacOS/launcher" />
</target>
<target name="rootFileslinux_gtk_ppc64le">
<mkdir dir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}"/>
<copy todir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/linux/ppc64le" includes="**" />
<fileset dir="${basedir}/gtk_root" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/linux.gtk.ppc64le/${collectingFolder}" includes="launcher" />
</target>
<target name="rootFileslinux_gtk_aarch64">
<mkdir dir="${feature.base}/linux.gtk.aarch64/${collectingFolder}"/>
<copy todir="${feature.base}/linux.gtk.aarch64/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/linux/aarch64" includes="**" />
<fileset dir="${basedir}/gtk_root" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/linux.gtk.aarch64/${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" />
</target>
<target name="rootFileslinux_gtk_loongarch64">
<mkdir dir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}"/>
<copy todir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/linux/loongarch64" includes="**" />
<fileset dir="${basedir}/gtk_root" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/linux.gtk.loongarch64/${collectingFolder}" includes="launcher" />
</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="rootFilessolaris_gtk_x86_64">
<mkdir dir="${feature.base}/solaris.gtk.x86_64/${collectingFolder}"/>
<copy todir="${feature.base}/solaris.gtk.x86_64/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/solaris/x86_64" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/solaris.gtk.x86_64/${collectingFolder}" includes="launcher" />
</target>
<target name="rootFilessolaris_gtk_sparcv9">
<mkdir dir="${feature.base}/solaris.gtk.sparcv9/${collectingFolder}"/>
<copy todir="${feature.base}/solaris.gtk.sparcv9/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/solaris/sparcv9" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/solaris.gtk.sparcv9/${collectingFolder}" includes="launcher" />
</target>
<target name="rootFileshpux_gtk_ia64">
<mkdir dir="${feature.base}/hpux.gtk.ia64/${collectingFolder}"/>
<copy todir="${feature.base}/hpux.gtk.ia64/${collectingFolder}" failonerror="true" overwrite="true">
<fileset dir="${basedir}/bin/gtk/hpux/ia64" includes="**" />
</copy>
<chmod perm="755" dir="${feature.base}/hpux.gtk.ia64/${collectingFolder}" includes="launcher" />
</target>
<target name="rootFilesgroup_group_group">
<antcall target="rootFileswin32_win32_x86_64"/>
<antcall target="rootFilesmacosx_cocoa_x86_64"/>
<antcall target="rootFileslinux_gtk_ppc64le"/>
<antcall target="rootFileslinux_gtk_aarch64"/>
<antcall target="rootFileslinux_gtk_x86_64"/>
</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>
|