diff options
author | Kim Moir | 2007-11-14 20:17:54 +0000 |
---|---|---|
committer | Kim Moir | 2007-11-14 20:17:54 +0000 |
commit | 97a99e3e6d583bd7067db0f2e86aefb01253e0f1 (patch) | |
tree | 5d0a89e89583c00a24c9b9a9115b36b3e91a1dd5 | |
parent | 8daca60202d625b86042357e7335c7aec83e9a68 (diff) | |
download | eclipse.platform.releng-releng_kim.tar.gz eclipse.platform.releng-releng_kim.tar.xz eclipse.platform.releng-releng_kim.zip |
Bug 208821 Change SDK to use individual source bundlesreleng_kim
-rw-r--r-- | bundles/org.eclipse.cvs/build.properties | 7 | ||||
-rw-r--r-- | bundles/org.eclipse.cvs/customBuildCallbacks.xml | 161 | ||||
-rw-r--r-- | bundles/org.eclipse.cvs/sourceTemplate/about.properties | 24 | ||||
-rw-r--r-- | bundles/org.eclipse.cvs/sourceTemplate/plugin.properties | 12 | ||||
-rw-r--r-- | bundles/org.eclipse.rcp/build.properties | 9 | ||||
-rw-r--r-- | bundles/org.eclipse.rcp/customBuildCallbacks.xml | 161 | ||||
-rw-r--r-- | features/org.eclipse.sdk/build.properties | 8 |
7 files changed, 378 insertions, 4 deletions
diff --git a/bundles/org.eclipse.cvs/build.properties b/bundles/org.eclipse.cvs/build.properties index f3c03905..5927b48b 100644 --- a/bundles/org.eclipse.cvs/build.properties +++ b/bundles/org.eclipse.cvs/build.properties @@ -15,4 +15,9 @@ bin.includes = about.html,\ eclipse32.gif,\ eclipse32.png,\ plugin.properties,META-INF/ - +src.includes = about.html,\ + about.ini,\ + about.mappings,\ + eclipse32.gif,\ + eclipse32.png +customBuildCallbacks=customBuildCallbacks.xml diff --git a/bundles/org.eclipse.cvs/customBuildCallbacks.xml b/bundles/org.eclipse.cvs/customBuildCallbacks.xml new file mode 100644 index 00000000..417f6521 --- /dev/null +++ b/bundles/org.eclipse.cvs/customBuildCallbacks.xml @@ -0,0 +1,161 @@ +<!-- ===================================================================== --> +<!-- Custom targets called from a project's generated build.xml --> +<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.--> +<!-- ===================================================================== --> +<project name="Build specific targets and properties" default="noDefault"> + + <!-- ===================================================================== --> + <!-- Default target --> + <!-- ===================================================================== --> + <target name="noDefault"> + <echo message="This file must be called with explicit targets" /> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the compilation target <name> --> + <!-- Substitute "name" with the name of the compilation target, eg @dot --> + <!-- Available parameters : --> + <!-- source.foldern : n = 1 ... N, the source folders --> + <!-- target.folder : where the results of the compilation go --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="pre.name"> + </target> + + <target name="pre.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do during the compilation target <name>, after the compile --> + <!-- but before jaring. Substitute "name" with the name of the compilation--> + <!-- target, eg @dot --> + <!-- Available parameters : --> + <!-- source.foldern : n = 1 ... N, the source folders --> + <!-- target.folder : where the results of the compilation go --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="post.compile.name"> + </target> + + <target name="post.compile.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the compilation target <name> --> + <!-- Substitute "name" with the name of the compilation target, eg @dot --> + <!-- Available parameters : --> + <!-- jar.location - the location of the compilation results --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="post.name"> + </target> + + <target name="post.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.bin.parts --> + <!-- Available parameters : --> + <!-- build.result.folder - folder containing the build results --> + <!-- target.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.bin.parts"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.bin.parts --> + <!-- Available parameters : --> + <!-- build.result.folder - folder containing the build results --> + <!-- target.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.bin.parts"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.sources" > + <copy todir="${target.folder}" > + <fileset dir="${basedir}/sourceTemplate" /> + </copy> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target clean --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.clean"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target clean --> + <!-- Available parameters : --> + <!-- plugin.destination - final destination of the build --> + <!-- build.result.folder - results of the compilation --> + <!-- temp.folder - temporary folder --> + <!-- ===================================================================== --> + <target name="post.clean"> + </target> +</project> diff --git a/bundles/org.eclipse.cvs/sourceTemplate/about.properties b/bundles/org.eclipse.cvs/sourceTemplate/about.properties new file mode 100644 index 00000000..e89b360c --- /dev/null +++ b/bundles/org.eclipse.cvs/sourceTemplate/about.properties @@ -0,0 +1,24 @@ +############################################################################### +# Copyright (c) 2000, 2005 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 +############################################################################### +# about.properties +# contains externalized strings for about.ini +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# fill-ins are supplied by about.mappings +# This file should be translated. + +blurb=Eclipse CVS Client\n\ +\n\ +Version: {featureVersion}\n\ +Build id: {0}\n\ +\n\ +(c) Copyright Eclipse contributors and others 2000, 2007. All rights reserved.\n\ +Visit http://www.eclipse.org/eclipse/platform-cvs/ + diff --git a/bundles/org.eclipse.cvs/sourceTemplate/plugin.properties b/bundles/org.eclipse.cvs/sourceTemplate/plugin.properties new file mode 100644 index 00000000..3b3e6bfd --- /dev/null +++ b/bundles/org.eclipse.cvs/sourceTemplate/plugin.properties @@ -0,0 +1,12 @@ +############################################################################### +# Copyright (c) 2000, 2007 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 +############################################################################### +pluginName=Eclipse CVS Client SDK +providerName=Eclipse.org diff --git a/bundles/org.eclipse.rcp/build.properties b/bundles/org.eclipse.rcp/build.properties index f3c03905..b7ac29bf 100644 --- a/bundles/org.eclipse.rcp/build.properties +++ b/bundles/org.eclipse.rcp/build.properties @@ -15,4 +15,13 @@ bin.includes = about.html,\ eclipse32.gif,\ eclipse32.png,\ plugin.properties,META-INF/ + +# files to include in the generated .soure bundle +src.includes = eclipse32.png,\ + eclipse32.gif,\ + about.html,\ + about.ini,\ + about.mappings +#custom targets to copy additional source files +customBuildCallbacks=customBuildCallbacks.xml
\ No newline at end of file diff --git a/bundles/org.eclipse.rcp/customBuildCallbacks.xml b/bundles/org.eclipse.rcp/customBuildCallbacks.xml new file mode 100644 index 00000000..417f6521 --- /dev/null +++ b/bundles/org.eclipse.rcp/customBuildCallbacks.xml @@ -0,0 +1,161 @@ +<!-- ===================================================================== --> +<!-- Custom targets called from a project's generated build.xml --> +<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.--> +<!-- ===================================================================== --> +<project name="Build specific targets and properties" default="noDefault"> + + <!-- ===================================================================== --> + <!-- Default target --> + <!-- ===================================================================== --> + <target name="noDefault"> + <echo message="This file must be called with explicit targets" /> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.jars --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.jars"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="pre.build.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target build.sources --> + <!-- Available parameters : --> + <!-- build.result.folder - folder to contain the build results --> + <!-- ===================================================================== --> + <target name="post.build.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the compilation target <name> --> + <!-- Substitute "name" with the name of the compilation target, eg @dot --> + <!-- Available parameters : --> + <!-- source.foldern : n = 1 ... N, the source folders --> + <!-- target.folder : where the results of the compilation go --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="pre.name"> + </target> + + <target name="pre.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do during the compilation target <name>, after the compile --> + <!-- but before jaring. Substitute "name" with the name of the compilation--> + <!-- target, eg @dot --> + <!-- Available parameters : --> + <!-- source.foldern : n = 1 ... N, the source folders --> + <!-- target.folder : where the results of the compilation go --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="post.compile.name"> + </target> + + <target name="post.compile.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the compilation target <name> --> + <!-- Substitute "name" with the name of the compilation target, eg @dot --> + <!-- Available parameters : --> + <!-- jar.location - the location of the compilation results --> + <!-- <name>.classpath : name = name of the compilation target. A --> + <!-- reference to the classpath structure. --> + <!-- ===================================================================== --> + <target name="post.name"> + </target> + + <target name="post.@dot"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.bin.parts --> + <!-- Available parameters : --> + <!-- build.result.folder - folder containing the build results --> + <!-- target.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.bin.parts"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.bin.parts --> + <!-- Available parameters : --> + <!-- build.result.folder - folder containing the build results --> + <!-- target.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.bin.parts"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.sources"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.sources --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.sources" > + <copy todir="${target.folder}" > + <fileset dir="${basedir}/sourceTemplate" /> + </copy> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target gather.logs --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="post.gather.logs"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do before the target clean --> + <!-- Available parameters : --> + <!-- destination.temp.folder - destination folder --> + <!-- ===================================================================== --> + <target name="pre.clean"> + </target> + + <!-- ===================================================================== --> + <!-- Steps to do after the target clean --> + <!-- Available parameters : --> + <!-- plugin.destination - final destination of the build --> + <!-- build.result.folder - results of the compilation --> + <!-- temp.folder - temporary folder --> + <!-- ===================================================================== --> + <target name="post.clean"> + </target> +</project> diff --git a/features/org.eclipse.sdk/build.properties b/features/org.eclipse.sdk/build.properties index 674e8dfa..1b37b6b8 100644 --- a/features/org.eclipse.sdk/build.properties +++ b/features/org.eclipse.sdk/build.properties @@ -19,11 +19,13 @@ generate.feature@org.eclipse.platform.source=org.eclipse.platform,feature@org.ec plugin@org.apache.ant.source;version=1.7.0.qualifier;unpack="true",\ plugin@org.apache.lucene.source;version=1.9.1.qualifier;unpack="true",\ plugin@org.apache.lucene.analysis.source;version=1.9.1.qualifier;unpack="true",\ - plugin@org.mortbay.jetty.source;version=5.1.11.qualifier;unpack="true" + plugin@org.mortbay.jetty.source;version=5.1.11.qualifier;unpack="true",\ + exclude@org.eclipse.platform.doc.user generate.feature@org.eclipse.jdt.source=org.eclipse.jdt, plugin@org.eclipse.jdt.doc.isv;unpack="false",\ -plugin@org.junit.source;version=3.8.2.qualifier;unpack="true" -generate.feature@org.eclipse.pde.source=org.eclipse.pde +plugin@org.junit.source;version=3.8.2.qualifier;unpack="true",\ +exclude@org.eclipse.jdt.doc.user +generate.feature@org.eclipse.pde.source=org.eclipse.pde,exclude@org.eclipse.pde.doc.user generate.feature@org.eclipse.cvs.source=org.eclipse.cvs #configuration directories for SDK |