Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2006-05-26 20:10:10 +0000
committerPascal Rapicault2006-05-26 20:10:10 +0000
commit4e161d3f9416a1bc260c34ba11322bf8eca3da0a (patch)
tree1d91a0dbc0f8e7023e6ad798e5a5c42fe00e186c
parent6d8c7c8a790906d68b859a5650c2dc858cc3e917 (diff)
downloadeclipse.pde.build-4e161d3f9416a1bc260c34ba11322bf8eca3da0a.tar.gz
eclipse.pde.build-4e161d3f9416a1bc260c34ba11322bf8eca3da0a.tar.xz
eclipse.pde.build-4e161d3f9416a1bc260c34ba11322bf8eca3da0a.zip
Bug 133820 - [doc] Packager template files are missingv20060601
-rw-r--r--org.eclipse.pde.build/templates/packager/customTargets.xml81
-rw-r--r--org.eclipse.pde.build/templates/packager/packager.properties99
-rw-r--r--org.eclipse.pde.build/templates/packager/packaging.properties28
3 files changed, 208 insertions, 0 deletions
diff --git a/org.eclipse.pde.build/templates/packager/customTargets.xml b/org.eclipse.pde.build/templates/packager/customTargets.xml
new file mode 100644
index 00000000..eac9576f
--- /dev/null
+++ b/org.eclipse.pde.build/templates/packager/customTargets.xml
@@ -0,0 +1,81 @@
+<project name="Custom Targets MyTest" default="noDefault">
+
+ <target name="noDefault" />
+
+ <!-- This goal of this target is to get the packaging map files of the things you care for
+ The files must be fetched into the downloadDirectory folder -->
+ <target name="getMapFiles" unless="localMaps">
+ <get src="${packagerMapURL}" dest="${downloadDirectory}/initial.map" usetimestamp="true"/>
+ </target>
+
+ <target name="init">
+ <property name="archiveNamePrefix" value="${buildId}"/>
+ </target>
+
+ <target name="assemble.win32.win32.x86.xml" depends="init">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-win32.win32.win32.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.linux.gtk.x86.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.linux.gtk.ppc.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.ppc.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.linux.gtk.x86_64.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.linux.motif.x86.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-linux.motif.x86.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.solaris.motif.sparc.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.motif.sparc.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.solaris.gtk.sparc.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.gtk.sparc.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.aix.motif.ppc.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-aix.motif.ppc.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.hpux.motif.PA_RISC.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-hpux.motif.PA_RISC.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.macosx.carbon.ppc.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.ppc.zip"/>
+ </ant>
+ </target>
+
+ <target name="assemble.macosx.carbon.x86.xml">
+ <ant antfile="${assembleScriptName}" >
+ <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.x86.zip"/>
+ </ant>
+ </target>
+
+</project>
diff --git a/org.eclipse.pde.build/templates/packager/packager.properties b/org.eclipse.pde.build/templates/packager/packager.properties
new file mode 100644
index 00000000..8e4ff7f2
--- /dev/null
+++ b/org.eclipse.pde.build/templates/packager/packager.properties
@@ -0,0 +1,99 @@
+
+#The directory used as a base for the all process
+baseDirectory = d:/tmp/MyProduct/
+
+# A comma separated list of feature ids that will be part of the archive.
+featureList = org.eclipse.platform
+#, org.eclipse.emf, org.eclipse.cdt, org.eclipse.hyades, org.eclipse.ve, org.eclipse.uml2
+
+# A comma seperated list of the component from which the features listed in featureList can be found
+# This is used as a optimization to avoid unnecessary downloads.
+# * should be specified if you don't know
+componentFilter=eclipse
+#, emf, cdt, hyades, ve, uml2
+
+# filter to optimize the download of archives
+contentFilter=sdk
+
+# The list of {os, ws, arch} configurations to build. This
+# value is a '&' separated list of ',' separate triples.
+# By default the value is *,*,* which is platform independant
+#config=win32, win32, x86 & \
+# linux, gtk, ppc &\
+# linux, gtk, x86 & \
+# linux, gtk, x86_64 & \
+# linux, motif, x86 & \
+# solaris, motif, sparc & \
+# solaris, gtk, sparc & \
+# aix, motif, ppc & \
+# hpux, motif, PA_RISC & \
+# macosx, carbon, ppc
+
+#Don't download packager map files, they should already exist in ${downloadDirectory}
+#comment out this property to download the map file from packagerMapURL
+localMaps = true
+#The URL from which to download the packager map file
+#packagerMapURL =
+
+
+################ FOLDERS ############################
+# The place in which all the scripts will be contained
+workingDirectory = ${baseDirectory}/workingPlace
+buildDirectory = ${workingDirectory}
+
+# The folder in which all the zips will be downloaded
+downloadDirectory = ${baseDirectory}/toPackage
+
+# The folder where all the operations are being done
+tempDirectory = ${baseDirectory}/temp
+
+# The place in which the zips are located
+sourceFolder = ${downloadDirectory}
+
+################# SOURCES ###########################
+# The name of the root of the archives downloaded. Features and plug-ins will be looked for
+# in ${tempDirectory}/${featurePaths}/features and ${tempDirectory}/${featurePaths}/plugins
+# It is possible to specify a list of roots, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=143854 for details.
+featurePaths = eclipse
+
+
+################## MISC ##########################
+# This controls the build id in the default name of the archive
+buildId=MyProduct
+
+# Type of build. Used in naming the build output. Typically this value is
+# one of I, N, M, S, ...
+buildType=I
+
+#Set the name of the archive that will result from the product build.
+#archiveNamePrefix =
+
+# Label for the build. Used in naming the build output
+buildLabel=${buildType}.${buildId}
+
+#The format of the archive. By default a zip is created using antZip.
+#archivesFormat=win32, win32, x86 - antZip& \
+# linux, gtk, ppc - antZip &\
+# linux, gtk, x86 - antZip& \
+# linux, gtk, x86_64 - antZip& \
+# linux, motif, x86 - antZip& \
+# solaris, motif, sparc - antZip& \
+# solaris, gtk, sparc - antZip& \
+# aix, motif, ppc - antZip& \
+# hpux, motif, PA_RISC - antZip& \
+# macosx, carbon, ppc - antZip
+
+# extra arguments to be passed to zip / unzip (-y is usually used on unix for zip)
+zipargs=
+unzipArgs=
+
+# the prefix in the archive
+archivePrefix=eclipse
+
+# the folder in which the files that will be added to the archive will be placed
+collectingFolder=eclipse
+
+
+############### PACKAGING.PROPERTIES #############################
+# a relative path to the file containing the properties for element to package
+packagingProperties = packaging.properties
diff --git a/org.eclipse.pde.build/templates/packager/packaging.properties b/org.eclipse.pde.build/templates/packager/packaging.properties
new file mode 100644
index 00000000..4c719459
--- /dev/null
+++ b/org.eclipse.pde.build/templates/packager/packaging.properties
@@ -0,0 +1,28 @@
+###############################################################################
+# Copyright (c) 2006 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
+###############################################################################
+# The chmod and links must indicate a path relative to the root directory.
+
+# List the files and folders to be copied into the root of eclipse for all platform
+# configurations
+root=epl-v10.html, notice.html, configuration/, startup.jar, .eclipseproduct, eclipse.ini, readme/
+root.permissions.755=eclipse,*.so*
+root.macosx.carbon.ppc.permissions.755=Eclipse.app/Contents/MacOS/eclipse
+
+root.win32.win32.x86=eclipse.exe
+root.linux.motif.x86=eclipse,libcairo-swt.so,libXm.so.2,about_files/,about.html,icon.xpm
+root.linux.gtk.x86=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+root.linux.gtk.x86_64=eclipse,libcairo-swt.so,about_files/,about.html,icon.xpm
+root.linux.gtk.ppc=eclipse
+root.macosx.carbon.ppc=eclipse,Eclipse.app/
+root.macosx.carbon.ppc.link=Eclipse.app/Contents/MacOS/eclipse,eclipse,../../../MacOS,Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS
+root.aix.motif.ppc=eclipse
+root.hpux.motif.PA_RISC=eclipse
+root.solaris.gtk.sparc=eclipse,Eclipse.l.pm,Eclipse.m.pm,Eclipse.s.pm,Eclipse.t.pm

Back to the top