mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00

- add org.eclipse.cdt.debug.application plugin which supports running CDT debugger as Eclipse application - add org.eclipse.cdt.debug.application.docs plugin which is the modified CDT docs - add org.eclipse.cdt.debug.standalone-feature which bundles the two aforementioned plugins - add org.eclipse.cdt.debug.standlone.source-feature Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13 Reviewed-on: https://git.eclipse.org/r/25845 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
32 lines
1.4 KiB
Bash
Executable file
32 lines
1.4 KiB
Bash
Executable file
#!/bin/sh
|
|
###############################################################################
|
|
# Copyright (c) 2014 Red Hat, Inc. 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:
|
|
# Red Hat Inc. - initial API and implementation
|
|
###############################################################################
|
|
if [ ! -d $HOME/cdtdebugger ]; then
|
|
mkdir -p $HOME/cdtdebugger
|
|
cp config.ini $HOME/cdtdebugger
|
|
cp dev.properties $HOME/cdtdebugger
|
|
fi
|
|
pushd ../.. >/dev/null
|
|
OSGI_JAR=`ls org.eclipse.osgi_*.jar`
|
|
SWT_JAR=`ls org.eclipse.swt.*.jar`
|
|
SWT_PLUGIN=`echo $SWT_JAR | sed -e "s/_[0-9]*\..*.jar//"`
|
|
FS_JAR=`ls org.eclipse.core.filesystem.*.jar`
|
|
FS_PLUGIN=`echo $FS_JAR | sed -e "s/_[0-9]*\..*.jar//"`
|
|
LINUX_JAR=`ls org.eclipse.cdt.core.linux.*.jar`
|
|
LINUX_PLUGIN=`echo $LINUX_JAR | sed -e "s/_[0-9]*\..*.jar//"`
|
|
cd ..; ECLIPSE_HOME=`pwd`
|
|
popd >/dev/null
|
|
$ECLIPSE_HOME/eclipse -clean -product org.eclipse.cdt.debug.application.product \
|
|
-data $HOME/workspace-gdbstandlone -configuration file\:$HOME/cdtdebugger \
|
|
-dev file\:$HOME/cdtdebugger/dev.properties $@ \
|
|
-vmargs -Dosgi.jar=$OSGI_JAR -Dswt.plugin=$SWT_PLUGIN -Dfs.plugin=$FS_PLUGIN \
|
|
-Dlinux.plugin=$LINUX_PLUGIN -Declipse.home=$ECLIPSE_HOME
|
|
|