1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

bug 260292 - adding DSF plugins to CDT build

This commit is contained in:
Vivian Kong 2009-01-28 00:13:31 +00:00
parent e00d42b4d6
commit 2682e96f7a
10 changed files with 326 additions and 39 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.cdt.examples.dsf-feature</name>
<name>org.eclipse.cdt.gnu.dsf-feature</name>
<comment></comment>
<projects>
</projects>

View file

@ -15,7 +15,7 @@
# This file should be translated.
# "featureName" property - name of the feature
featureName=CDT Debugger Services Framework (DSF) Examples
featureName=GDB DSF Debugger Integration
# "providerName" property - name of the company that provides the feature
providerName=Eclipse.org
@ -24,7 +24,7 @@ providerName=Eclipse.org
updateSiteName=Eclipse CDT Update Site
# "description" property - description of the feature
description=Examples for using the Debugger Services Framework (DSF), including basic tutorial examples and a PDA example debugger.
description=GDB DSF Debugger Integration
# copyright
copyright=\

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.cdt.examples.dsf"
id="org.eclipse.cdt.gnu.dsf"
label="%featureName"
version="5.1.0.qualifier"
provider-name="%providerName">
@ -22,37 +22,31 @@
</url>
<requires>
<import plugin="org.eclipse.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.core" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.dsf"/>
<import plugin="org.eclipse.cdt.dsf.ui"/>
<import plugin="org.eclipse.core.resources" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.core" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.debug.core" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.core.variables" version="3.1.100" match="compatible"/>
<import plugin="org.eclipse.jface.text" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.debug.ui" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.ui" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.ui.ide" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.core" version="5.0.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.expressions" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.dsf"/>
<import plugin="org.eclipse.jface"/>
<import plugin="org.eclipse.cdt.dsf.ui"/>
</requires>
<plugin
id="org.eclipse.cdt.examples.dsf"
id="org.eclipse.cdt.dsf.gdb"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.cdt.examples.dsf.pda"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.cdt.examples.dsf.pda.ui"
id="org.eclipse.cdt.dsf.gdb.ui"
download-size="0"
install-size="0"
version="0.0.0"

View file

@ -15,7 +15,7 @@
# This file should be translated.
# "featureName" property - name of the feature
featureName=CDT GNU Toolchain Debug Support
featureName=CDT Debugger Services Framework (DSF) Examples
# "providerName" property - name of the company that provides the feature
providerName=Eclipse.org
@ -24,7 +24,7 @@ providerName=Eclipse.org
updateSiteName=Eclipse CDT Update Site
# "description" property - description of the feature
description=GNU Toolchain Debug Support for CDT
description=DSF Examples including basic framework feature tutorial examples and the PDA debugger integration.
# copyright
copyright=\

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.cdt.gnu.debug"
id="org.eclipse.cdt.examples.dsf"
label="%featureName"
version="5.1.0.qualifier"
provider-name="%providerName">
@ -22,32 +22,37 @@
</url>
<requires>
<import plugin="org.eclipse.core.resources" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.core" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.core" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.debug.ui" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.console" version="3.1.100" match="compatible"/>
<import plugin="org.eclipse.jface.text" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.ide" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.expressions" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.cdt.dsf"/>
<import plugin="org.eclipse.cdt.dsf.ui"/>
<import plugin="org.eclipse.core.resources" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.variables" version="3.1.100" match="compatible"/>
<import plugin="org.eclipse.cdt.core" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.ui" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.debug.core" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.debug.mi.core" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.debug.ui" version="5.0.0" match="compatible"/>
<import plugin="org.eclipse.cdt.core" version="5.0.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.jface.text" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.ui.ide" version="3.2.0" match="compatible"/>
</requires>
<plugin
id="org.eclipse.cdt.dsf.gdb"
id="org.eclipse.cdt.examples.dsf"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.cdt.dsf.gdb.ui"
id="org.eclipse.cdt.examples.dsf.pda"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.eclipse.cdt.examples.dsf.pda.ui"
download-size="0"
install-size="0"
version="0.0.0"

View file

@ -81,6 +81,9 @@
<ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild">
<property name="builder" value="${basedir}/util"/>
</ant>
<ant antfile="build.xml" dir="${pde.build.scripts}" target="preBuild">
<property name="builder" value="${basedir}/dsfgdb"/>
</ant>
<ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
<property name="builder" value="${basedir}/platform"/>
</ant>
@ -111,6 +114,9 @@
<ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
<property name="builder" value="${basedir}/util"/>
</ant>
<ant antfile="build.xml" dir="${pde.build.scripts}" target="fetch">
<property name="builder" value="${basedir}/dsfgdb"/>
</ant>
</target>
<target name="unzip" depends="init" unless="dontUnzip">
@ -490,5 +496,38 @@
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/releng/org.eclipse.cdt.master"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.dsf"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf.pda"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf.pda.ui"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.tests.dsf"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf-feature"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb"/>
</antcall>
<antcall target="tagone">
<param name="tagmodule" value="org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.gnu.dsf-feature"/>
</antcall>
</target>
</project>

View file

@ -48,4 +48,10 @@
<feature id="org.eclipse.cdt.platform" url="features/org.eclipse.cdt.platform_5.1.0.@timeStamp@.jar" version="5.1.0.@timeStamp@">
<category name="CDT Optional Features"/>
</feature>
<feature id="org.eclipse.cdt.gnu.dsf" url="features/org.eclipse.cdt.gnu.dsf_5.1.0@timeStamp@.jar" version="5.1.0@timeStamp@">
<category name="CDT Optional Features"/>
</feature>
<feature id="org.eclipse.cdt.examples.dsf" url="features/org.eclipse.examples.dsf_5.1.0@timeStamp@.jar" version="5.1.0@timeStamp@">
<category name="CDT Optional Features"/>
</feature>
</site>

View file

@ -0,0 +1,95 @@
###############################################################################
# Copyright (c) 2005, 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
# Markus Schorn (Wind River Systems)
###############################################################################
#####################
# Parameters describing how and where to execute the build.
# Typical users need only update the following properties:
# baseLocation - where things you are building against are installed
# bootclasspath - The base jars to compile against (typicaly rt.jar)
# configs - the list of {os, ws, arch} configurations to build.
#
# Of course any of the settings here can be overridden by spec'ing
# them on the command line (e.g., -DbaseLocation=d:/eclipse
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
# The CVS tag to use when fetching elements to build. By default the
# builder will use whatever is in the maps. Use this value to override
# for example, when doing a nightly build out of HEAD
# fetchTag=HEAD
cdtTag=HEAD
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place. buildDirectory and install should be the same
# value.
buildDirectory=build
# Type of build. Used in naming the build output. Typically this value is
# one of I, N, M, S, ...
buildType=I
# ID of the build. Used in naming the build output.
buildId=TestBuild
# Label for the build. Used in naming the build output
buildLabel=${buildType}.${buildId}
# Timestamp for the build. Used in naming the build output
timestamp=007
# Base location for anything the build needs to compile against. For example,
# when building GEF, the baseLocation should be the location of a previously
# installed Eclipse against which the GEF code will be compiled.
baseLocation=
#Os/Ws/Arch/nl of the eclipse specified by baseLocation
#baseos
#basews
#basearch
#basenl
# The location underwhich all of the build output will be collected. This will be
# the root path in the resultant zip file.
collPlace=eclipse
# The directory in which to execute zip of the ${collPlace} directory
collBase=.
# The list of {os, ws, arch} configurations to build. This
# value is a '&' separated list of ',' separate triples. For example,
# configs=win32,win32,x86 & linux,motif,x86
# By default the value is *,*,*
configs=*,*,*
archivesFormat=*,*,*-zip
#Arguments to send to the zip executable
zipargs=
############# JAVA COMPILER OPTIONS ##############
# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar
# Whether or not to include debug info in the output jars
javacDebugInfo=on
# Whether or not to fail the build if there are compiler errors
javacfailonerror=true
# The version of the source code
javacSource=1.5
# The version of the byte code targeted
javacTarget=1.5

View file

@ -0,0 +1,133 @@
<project name="Build specific targets and properties" default="noDefault" >
<property name="basews" value="gtk" />
<property name="baseos" value="linux" />
<property name="basearch" value="x86" />
<property name="basenl" value="en_US" />
<!-- ===================================================================== -->
<!-- Run a given ${target} on all elements being built -->
<!-- Add on <ant> task for each top level element being built. -->
<!-- ===================================================================== -->
<target name="allElements">
<ant antfile="${genericTargets}" target="${target}" >
<property name="type" value="feature" />
<property name="id" value="org.eclipse.cdt.gnu.dsf" />
</ant>
</target>
<!-- ===================================================================== -->
<!-- Targets to assemble the built elements for particular configurations -->
<!-- These generally call the generated assemble scripts (named in -->
<!-- ${assembleScriptName}) but may also add pre and post processing -->
<!-- Add one target for each root element and each configuration -->
<!-- ===================================================================== -->
<target name="assemble.org.eclipse.cdt.gnu.dsf">
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
<property name="archiveName" value="cdt-gnu-dsf-${branchVersion}-${buildId}.zip"/>
</ant>
</target>
<!-- ===================================================================== -->
<!-- Check out map files from correct repository -->
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
<!-- ===================================================================== -->
<target name="getMapFiles">
<copy file="${builder}/../maps/cdt.map" todir="${buildDirectory}/maps"/>
<replace file="${buildDirectory}/maps/cdt.map">
<replacefilter token="@cdtTag@" value="${cdtTag}"/>
</replace>
</target>
<!-- ===================================================================== -->
<!-- Steps to do before setup -->
<!-- ===================================================================== -->
<target name="preSetup">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after setup but before starting the build proper -->
<!-- ===================================================================== -->
<target name="postSetup">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before fetching the build elements -->
<!-- ===================================================================== -->
<target name="preFetch">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after fetching the build elements -->
<!-- ===================================================================== -->
<target name="postFetch">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before generating the build scripts. -->
<!-- ===================================================================== -->
<target name="preGenerate">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after generating the build scripts. -->
<!-- ===================================================================== -->
<target name="postGenerate">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="preProcess">
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
<include name="**/about.mappings" />
</replace>
</target>
<!-- ===================================================================== -->
<!-- Steps to do after running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="postProcess">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before running assemble. -->
<!-- ===================================================================== -->
<target name="preAssemble">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after running assemble. -->
<!-- ===================================================================== -->
<target name="postAssemble">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after the build is done. -->
<!-- ===================================================================== -->
<target name="postBuild">
</target>
<!-- ===================================================================== -->
<!-- Steps to do to test the build results -->
<!-- ===================================================================== -->
<target name="test">
</target>
<!-- ===================================================================== -->
<!-- Steps to do to publish the build results -->
<!-- ===================================================================== -->
<target name="publish">
</target>
<!-- ===================================================================== -->
<!-- Default target -->
<!-- ===================================================================== -->
<target name="noDefault">
<echo message="You must specify a target when invoking this file" />
</target>
</project>

View file

@ -98,3 +98,18 @@ feature@org.eclipse.cdt.util=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroo
plugin@org.eclipse.cdt.mylyn=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/mylyn/org.eclipse.cdt.mylyn
plugin@org.eclipse.cdt.mylyn.ui=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/mylyn/org.eclipse.cdt.mylyn.ui
feature@org.eclipse.cdt.mylyn=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/mylyn/org.eclipse.cdt.mylyn-feature
! DSF
plugin@org.eclipse.cdt.dsf=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.dsf
plugin@org.eclipse.cdt.dsf.ui=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui
plugin@org.eclipse.cdt.examples.dsf=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf
plugin@org.eclipse.cdt.examples.dsf.pda=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf.pda
plugin@org.eclipse.cdt.examples.dsf.pda.ui=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf.pda.ui
plugin@org.eclipse.cdt.tests.dsf=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.tests.dsf
feature@org.eclipse.cdt.examples.dsf=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.examples.dsf-feature
! DSF-GDB Integration
plugin@org.eclipse.cdt.dsf.gdb=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.gdb
plugin@org.eclipse.cdt.dsf.gdb.ui=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.gdb.ui
plugin@org.eclipse.cdt.tests.dsf.gdb=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.tests.dsf.gdb
feature@org.eclipse.cdt.gnu.dsf=@cdtTag@,:pserver:anonymous@dev.eclipse.org:/cvsroot/tools,,org.eclipse.cdt/dsf/org.eclipse.cdt.gnu.dsf-feature