diff options
author | Paul Webster | 2013-03-25 14:39:56 +0000 |
---|---|---|
committer | Thomas Watson | 2013-03-25 14:41:51 +0000 |
commit | 878a62e15fa0ba0800cbfda11892b75e4122826d (patch) | |
tree | 7f23ff59ab8731e349b40f0ef1f514494dbc5e7f /features/org.eclipse.equinox.executable.feature/resources | |
parent | 434cc30b833ee769659608b25acda9b046bc7cf4 (diff) | |
download | rt.equinox.framework-878a62e15fa0ba0800cbfda11892b75e4122826d.tar.gz rt.equinox.framework-878a62e15fa0ba0800cbfda11892b75e4122826d.tar.xz rt.equinox.framework-878a62e15fa0ba0800cbfda11892b75e4122826d.zip |
Bug 402343 - [CBI] Delta pack missing required build.properties and
build.xml
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/resources')
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/resources/build.properties | 58 | ||||
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/resources/build.xml | 322 |
2 files changed, 380 insertions, 0 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/resources/build.properties b/features/org.eclipse.equinox.executable.feature/resources/build.properties new file mode 100644 index 000000000..0b507b865 --- /dev/null +++ b/features/org.eclipse.equinox.executable.feature/resources/build.properties @@ -0,0 +1,58 @@ +############################################################################### +# Copyright (c) 2000, 2010 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### + +custom = true + +####Even though marked as custom, the content of the build.properties needs to be updated to ensure correctness of RCP app exported +root.permissions.755=${launcherName} + +root.win32.win32.x86=file:bin/win32/win32/x86/launcher.exe +root.win32.win32.x86.permissions.755=launcher.exe +root.win32.win32.x86_64=file:bin/win32/win32/x86_64/launcher.exe +root.win32.win32.x86_64.permissions.755=launcher.exe + +root.linux.gtk.x86=bin/gtk/linux/x86,gtk_root +root.linux.gtk.x86.permissions.755=launcher,libcairo-swt.so + +root.linux.gtk.ppc=bin/gtk/linux/ppc,gtk_root +root.linux.gtk.ppc.permissions.755=launcher + +root.linux.gtk.ppc64=bin/gtk/linux/ppc64,gtk_root +root.linux.gtk.ppc64.permissions.755=launcher + +root.macosx.cocoa.x86=bin/cocoa/macosx/x86 +root.macosx.cocoa.x86.permissions.755=Eclipse.app/Contents/MacOS/launcher + +root.macosx.cocoa.x86_64=bin/cocoa/macosx/x86_64 +root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/launcher + +root.aix.gtk.ppc64=bin/gtk/aix/ppc64 +root.aix.gtk.ppc64.permissions.755=launcher +root.aix.gtk.ppc=bin/gtk/aix/ppc +root.aix.gtk.ppc.permissions.755=launcher + +root.hpux.gtk.ia64=bin/gtk/hpux/ia64 +root.hpux.gtk.ia64.permissions.755=launcher + +root.solaris.gtk.x86=bin/gtk/solaris/x86 +root.solaris.gtk.x86.permissions.755=launcher +root.solaris.gtk.sparc=bin/gtk/solaris/sparc +root.solaris.gtk.sparc.permissions.755=launcher + +root.linux.gtk.x86_64=bin/gtk/linux/x86_64,gtk_root +root.linux.gtk.x86_64.permissions.755=libcairo-swt.so + +root.linux.gtk.s390x=contributed/gtk/linux/s390x,gtk_root +root.linux.gtk.s390x.permissions.755=launcher +root.linux.gtk.s390=contributed/gtk/linux/s390,gtk_root +root.linux.gtk.s390.permissions.755=launcher + + diff --git a/features/org.eclipse.equinox.executable.feature/resources/build.xml b/features/org.eclipse.equinox.executable.feature/resources/build.xml new file mode 100644 index 000000000..cdded03fe --- /dev/null +++ b/features/org.eclipse.equinox.executable.feature/resources/build.xml @@ -0,0 +1,322 @@ +<?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" /> + </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" /> + </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" /> + </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" /> + <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>
\ No newline at end of file |