Skip to content

Commit 93ce442

Browse files
committed
#428 Split Java code between core & UI plug-ins
Extract "org.eclipse.embedcdt.debug.gdbjtag.core" bundle. Signed-off-by: Alexander Fedorov <[email protected]>
1 parent 0732a67 commit 93ce442

File tree

89 files changed

+214
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+214
-54
lines changed

features/org.eclipse.embedcdt.debug.gdbjtag-feature/feature.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@
5050
version="0.0.0"
5151
unpack="false"/>
5252

53+
<plugin
54+
id="org.eclipse.embedcdt.debug.gdbjtag.core"
55+
download-size="0"
56+
install-size="0"
57+
version="0.0.0"
58+
unpack="false"/>
59+
5360
<plugin
5461
id="org.eclipse.embedcdt.debug.gdbjtag.ui"
5562
download-size="0"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry kind="src" path="src/"/>
6+
<classpathentry kind="output" path="target/classes"/>
7+
</classpath>

plugins/org.eclipse.embedcdt.debug.gdbjtag/.options renamed to plugins/org.eclipse.embedcdt.debug.gdbjtag.core/.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
###############################################################################
1414

1515
# Control if trace messages are shown.
16-
org.eclipse.embedcdt.debug.gdbjtag/debug=false
16+
org.eclipse.embedcdt.debug.gdbjtag.core/debug=false
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.embedcdt.debug.gdbjtag.core</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>org.eclipse.m2e.core.maven2Builder</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
</buildSpec>
34+
<natures>
35+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
36+
<nature>org.eclipse.pde.PluginNature</nature>
37+
<nature>org.eclipse.jdt.core.javanature</nature>
38+
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
39+
</natures>
40+
</projectDescription>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: %bundle.name
4+
Bundle-SymbolicName: org.eclipse.embedcdt.debug.gdbjtag.core;singleton:=true
5+
Bundle-Version: 5.0.0.qualifier
6+
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.Activator
7+
Require-Bundle: org.eclipse.embedcdt.core;bundle-version="6.0.0",
8+
org.eclipse.embedcdt.debug.core,
9+
org.eclipse.embedcdt.packs.core;bundle-version="3.0.0",
10+
org.eclipse.cdt.debug.gdbjtag.core;bundle-version="10.0.0",
11+
org.eclipse.cdt.managedbuilder.core;bundle-version="9.0.0",
12+
org.eclipse.cdt.core;bundle-version="7.0.0",
13+
org.eclipse.cdt.debug.core;bundle-version="8.5.0",
14+
org.eclipse.cdt.dsf;bundle-version="2.9.0",
15+
org.eclipse.cdt.dsf.gdb;bundle-version="6.0.0",
16+
org.eclipse.cdt.launch;bundle-version="10.0.0",
17+
org.eclipse.core.runtime;bundle-version="3.19.0",
18+
org.eclipse.core.variables;bundle-version="3.4.800",
19+
org.eclipse.debug.core;bundle-version="3.14.600"
20+
Bundle-RequiredExecutionEnvironment: JavaSE-11
21+
Bundle-Vendor: %bundle.vendor
22+
Bundle-ActivationPolicy: lazy
23+
Bundle-Localization: plugin
24+
Export-Package: org.eclipse.embedcdt.debug.gdbjtag,
25+
org.eclipse.embedcdt.debug.gdbjtag.core.preferences,
26+
org.eclipse.embedcdt.debug.gdbjtag.data,
27+
org.eclipse.embedcdt.debug.gdbjtag.datamodel,
28+
org.eclipse.embedcdt.debug.gdbjtag.dsf,
29+
org.eclipse.embedcdt.debug.gdbjtag.memory,
30+
org.eclipse.embedcdt.debug.gdbjtag.properties,
31+
org.eclipse.embedcdt.debug.gdbjtag.services,
32+
org.eclipse.embedcdt.debug.gdbjtag.viewmodel.peripheral
33+
Import-Package: org.eclipse.embedcdt.packs.data.xcdl
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
<html xmlns="http://www.w3.org/1999/xhtml">
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6+
<title>About</title>
7+
</head>
8+
<body lang="EN-US">
9+
<h2>About This Content</h2>
10+
11+
<p>November 30, 2017</p>
12+
<h3>License</h3>
13+
14+
<p>
15+
The Eclipse Foundation makes available all content in this plug-in
16+
(&quot;Content&quot;). Unless otherwise indicated below, the Content
17+
is provided to you under the terms and conditions of the Eclipse
18+
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
19+
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
20+
For purposes of the EPL, &quot;Program&quot; will mean the Content.
21+
</p>
22+
23+
<p>
24+
If you did not receive this Content directly from the Eclipse
25+
Foundation, the Content is being redistributed by another party
26+
(&quot;Redistributor&quot;) and different terms and conditions may
27+
apply to your use of any object code in the Content. Check the
28+
Redistributor's license that was provided with the Content. If no such
29+
license exists, contact the Redistributor. Unless otherwise indicated
30+
below, the terms and conditions of the EPL still apply to any source
31+
code in the Content and such source code may be obtained at <a
32+
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
33+
</p>
34+
35+
</body>
36+
</html>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
###############################################################################
2+
# Copyright (c) 2014, 2020 Liviu Ionescu and others.
3+
#
4+
# This program and the accompanying materials
5+
# are made available under the terms of the Eclipse Public License 2.0
6+
# which accompanies this distribution, and is available at
7+
# https://www.eclipse.org/legal/epl-2.0/
8+
#
9+
# SPDX-License-Identifier: EPL-2.0
10+
#
11+
# Contributors:
12+
# Liviu Ionescu - Arm version
13+
# Alexander Fedorov - normalize content of source bundles
14+
###############################################################################
15+
16+
source.. = src/
17+
output.. = target/classes
18+
bin.includes = META-INF/,\
19+
.,\
20+
plugin.properties,\
21+
.options,\
22+
preferences.ini,\
23+
about.html
24+
src.includes = about.html
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
###############################################################################
2+
# Copyright (c) 2014 Liviu Ionescu.
3+
#
4+
# This program and the accompanying materials
5+
# are made available under the terms of the Eclipse Public License 2.0
6+
# which accompanies this distribution, and is available at
7+
# https://www.eclipse.org/legal/epl-2.0/
8+
#
9+
# SPDX-License-Identifier: EPL-2.0
10+
#
11+
# Contributors:
12+
# Liviu Ionescu - Arm version
13+
###############################################################################
14+
15+
bundle.name=Embedded C/C++ Debugging GDB Core Plug-in (incubation)
16+
bundle.vendor=Eclipse Embedded CDT

plugins/org.eclipse.embedcdt.debug.gdbjtag.jlink/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 5.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.jlink.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.debug.gdbjtag.ui;bundle-version="5.0.0",
1111
org.eclipse.embedcdt.managedbuild.cross,
1212
org.eclipse.embedcdt.ui;bundle-version="6.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.jumper/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 2.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.jumper.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.debug.gdbjtag.ui;bundle-version="5.0.0",
1111
org.eclipse.embedcdt.ui;bundle-version="6.0.0",
1212
org.eclipse.cdt.core;bundle-version="7.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.openocd/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 5.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.openocd.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.debug.gdbjtag.ui;bundle-version="5.0.0",
1111
org.eclipse.embedcdt.managedbuild.cross,
1212
org.eclipse.embedcdt.ui;bundle-version="6.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.pyocd/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 2.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.pyocd.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.debug.gdbjtag.ui;bundle-version="5.0.0",
1111
org.eclipse.embedcdt.managedbuild.cross,
1212
org.eclipse.embedcdt.ui;bundle-version="6.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.qemu/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 4.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.qemu.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.debug.gdbjtag.ui;bundle-version="5.0.0",
1111
org.eclipse.embedcdt.managedbuild.cross,
1212
org.eclipse.embedcdt.ui;bundle-version="6.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.restart/build.properties

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,5 @@ bin.includes = META-INF/,\
2727
plugin.xml,\
2828
icons/,\
2929
.options,\
30-
GME-32.png,\
31-
about.html,\
32-
about.ini,\
33-
about.mappings
30+
about.html
3431
src.includes = about.html

plugins/org.eclipse.embedcdt.debug.gdbjtag.ui/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Bundle-Version: 5.0.0.qualifier
66
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.ui.Activator
77
Require-Bundle: org.eclipse.embedcdt.core,
88
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.debug.gdbjtag;bundle-version="5.0.0",
9+
org.eclipse.embedcdt.debug.gdbjtag.core;bundle-version="5.0.0",
1010
org.eclipse.embedcdt.packs.core;bundle-version="3.0.0",
1111
org.eclipse.embedcdt.ui;bundle-version="6.0.0",
1212
org.eclipse.cdt.debug.gdbjtag.core;bundle-version="10.0.0",

plugins/org.eclipse.embedcdt.debug.gdbjtag.ui/src/org/eclipse/embedcdt/debug/gdbjtag/ui/Activator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Activator extends AbstractUIActivator {
2626
// ------------------------------------------------------------------------
2727

2828
// The plug-in ID
29-
public static final String PLUGIN_ID = "org.eclipse.embedcdt.debug.gdbjtag"; //$NON-NLS-1$
29+
public static final String PLUGIN_ID = "org.eclipse.embedcdt.debug.gdbjtag.ui"; //$NON-NLS-1$
3030

3131
@Override
3232
public String getBundleId() {
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
4-
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5-
<classpathentry kind="src" path="src/"/>
6-
<classpathentry kind="output" path="target/classes"/>
7-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry kind="output" path="target/classes"/>
6+
</classpath>

plugins/org.eclipse.embedcdt.debug.gdbjtag/META-INF/MANIFEST.MF

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,8 @@ Bundle-ManifestVersion: 2
33
Bundle-Name: %bundle.name
44
Bundle-SymbolicName: org.eclipse.embedcdt.debug.gdbjtag;singleton:=true
55
Bundle-Version: 5.0.0.qualifier
6-
Bundle-Activator: org.eclipse.embedcdt.debug.gdbjtag.Activator
7-
Require-Bundle: org.eclipse.embedcdt.core;bundle-version="6.0.0",
8-
org.eclipse.embedcdt.debug.core,
9-
org.eclipse.embedcdt.packs.core;bundle-version="3.0.0",
10-
org.eclipse.cdt.debug.gdbjtag.core;bundle-version="10.0.0",
11-
org.eclipse.cdt.managedbuilder.core;bundle-version="9.0.0",
12-
org.eclipse.cdt.core;bundle-version="7.0.0",
13-
org.eclipse.cdt.debug.core;bundle-version="8.5.0",
14-
org.eclipse.cdt.dsf;bundle-version="2.9.0",
15-
org.eclipse.cdt.dsf.gdb;bundle-version="6.0.0",
16-
org.eclipse.cdt.launch;bundle-version="10.0.0",
17-
org.eclipse.core.runtime;bundle-version="3.19.0",
18-
org.eclipse.core.variables;bundle-version="3.4.800",
19-
org.eclipse.debug.core;bundle-version="3.14.600"
206
Bundle-RequiredExecutionEnvironment: JavaSE-11
217
Bundle-Vendor: %bundle.vendor
228
Bundle-ActivationPolicy: lazy
239
Bundle-Localization: plugin
24-
Export-Package: org.eclipse.embedcdt.debug.gdbjtag,
25-
org.eclipse.embedcdt.debug.gdbjtag.core.preferences,
26-
org.eclipse.embedcdt.debug.gdbjtag.data,
27-
org.eclipse.embedcdt.debug.gdbjtag.datamodel,
28-
org.eclipse.embedcdt.debug.gdbjtag.dsf,
29-
org.eclipse.embedcdt.debug.gdbjtag.memory,
30-
org.eclipse.embedcdt.debug.gdbjtag.properties,
31-
org.eclipse.embedcdt.debug.gdbjtag.services,
32-
org.eclipse.embedcdt.debug.gdbjtag.viewmodel.peripheral
3310
Import-Package: org.eclipse.embedcdt.packs.data.xcdl
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
###############################################################################
2+
# Copyright (c) 2002, 2009 Wind River Systems and others.
3+
#
4+
# This program and the accompanying materials
5+
# are made available under the terms of the Eclipse Public License 2.0
6+
# which accompanies this distribution, and is available at
7+
# https://www.eclipse.org/legal/epl-2.0/
8+
#
9+
# SPDX-License-Identifier: EPL-2.0
10+
#
11+
# Contributors:
12+
# Wind River Systems - initial API and implementation
13+
# Liviu Ionescu - Arm version
14+
###############################################################################
15+
# about.properties
16+
# contains externalized strings for about.ini
17+
# java.io.Properties file (ISO 8859-1 with "\" escapes)
18+
# fill-ins are supplied by about.mappings
19+
# This file should be translated.
20+
# NOTE TO TRANSLATOR: Please do not translate the featureVersion variable.
21+
22+
blurb=Embedded C/C++ JTAG Debugging\n\
23+
\n\
24+
Version: {featureVersion}\n\
25+
\n\
26+
Copyright (c) Liviu Ionescu 2009-2020.\n\
27+
\n\
28+
This plug-in is part of the Eclipse Embedded CDT project.\n\
29+
For more details, visit <https://eclipse-embed-cdt.github.io>.\n\
30+
For updates, use <https://download.eclipse.org/embed-cdt/updates/v6/>.

plugins/org.eclipse.embedcdt.debug.gdbjtag/build.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# Alexander Fedorov - normalize content of source bundles
1414
###############################################################################
1515

16-
source.. = src/
17-
output.. = target/classes
1816
bin.includes = META-INF/,\
1917
.,\
2018
plugin.properties,\
21-
.options,\
22-
preferences.ini,\
23-
about.html
19+
about.html,\
20+
GME-32.png,\
21+
about.ini,\
22+
about.mappings,\
23+
about.properties
2424
src.includes = about.html

plugins/org.eclipse.embedcdt.debug.gdbjtag/plugin.properties

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,3 @@
1414

1515
bundle.name=Embedded C/C++ Debugging GDB Plug-in (incubation)
1616
bundle.vendor=Eclipse Embedded CDT
17-
18-
views.peripheral.name=Peripherals
19-
20-
preferences.peripherals=MCU Peripherals Views
21-
22-
properties.svd.tab.name=SVD Path
23-
properties.svd.page.name=SVD Path

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<module>plugins/org.eclipse.embedcdt.debug.core</module>
5454
<module>plugins/org.eclipse.embedcdt.debug.packs</module>
5555
<module>plugins/org.eclipse.embedcdt.debug.gdbjtag</module>
56+
<module>plugins/org.eclipse.embedcdt.debug.gdbjtag.core</module>
5657
<module>plugins/org.eclipse.embedcdt.debug.gdbjtag.ui</module>
5758
<module>plugins/org.eclipse.embedcdt.debug.gdbjtag.restart</module>
5859
<module>features/org.eclipse.embedcdt.debug.gdbjtag-feature</module>

0 commit comments

Comments
 (0)