1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
Commit graph

977 commits

Author SHA1 Message Date
Jonah Graham
2bc9836f68 Bump cdt-baseline sequence number
When the baseline was changed to CDT 9.3, the sequence number was not
changed. That means that Eclipse PDE does not "see" the change to the
content and therefore while it appears that the baseline is 9.3, it will
continue to actually be 9.2, leading to lots of API errors.

Change-Id: Ie4103f24fe28afcadd8722b0da463febe372bdd8
2017-11-08 14:11:39 +00:00
Jesper Eskilson
ceeac1865a CDT.setup fixes
* Remove unnecessary version range on bouncycastle
* Replaced
http://download.eclipse.org/eclipse/updates/4.7milestones
with
http://download.eclipse.org/eclipse/updates/4.7
to match cdt.target.

Change-Id: I5b15768d1478666f89d7cbd0ae6c8828674fe6f1
Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
2017-11-02 12:44:59 -04:00
Chin Huat Ang
a974ba9c9e Bug 525591: autotools: Initial core build implementation
Add core, UI and feature plugins for the new autotools project which
uses template wizard and core build.

The template wizard currently supports generating a simple autotools
project as described using a template manifest. 

The project generator sets new autotools nature associated with new
autotools build config provider.

The generated autotools project has been tested to compile fine with gcc
(x86_64-linux-gnu-gcc) toolchain.

Change-Id: I8349999d551bb693725a246340cf46266150fadc
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2017-10-30 14:33:06 -04:00
Nathan Ridge
a20fb38223 Update cdt.target file to point to '4.7' instead of '4.7milestones',
since the latter has been removed

Change-Id: I247c708a4e8f6948824a4a72a1e14e99fa565b60
2017-10-11 14:15:15 -04:00
Doug Schaefer
11dcec43f2 Add UI tests plugin for CMake. Fix a couple of bugs it found.
Also restructures the pom.xmls to put the modules in the top level
so we can order them to have the test plugins build after them.

Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-10-06 16:36:51 -04:00
Jeff Johnston
f849b09679 Add some missing feature pom.xml files for Sonar job to work
- org.eclipse.cdt and org.eclipse.cdt.sdk features have same
  name as plug-ins so we need a pom.xml to distinguish the
  groupid for Sonar job to work

Change-Id: I7098021d40fec66ee5a6dc093bd12c3ee896c4f7
2017-09-20 13:39:05 -04:00
Jeff Johnston
ef5147a046 Reinstate commit 709689b36e
- This commit is still needed to allow CDT Sonar job to run
  so that features that have same name as plug-ins
  will be distinguishable by Sonar job

Change-Id: I3eb3f3cf94d5f4338d72c5d19d0baf2f7506c388
2017-09-19 15:33:21 -04:00
Doug Schaefer
d8cc0751ae Update feature versions to CDT 9.4.
Also remove remaining pom.xmls for feature projects.

Change-Id: I78d6335f92d70ad2699b8a25801ff72d2935aefe
2017-09-11 11:18:42 -04:00
Doug Schaefer
c3f3da9f25 Core Build - add support for Generic target
Adapts to LaunchBar's new Build Tab extension.

Change-Id: Icad41a7083f4389a546234d2835a9c4b60fa0eae
2017-09-07 15:52:28 -04:00
Jonah Graham
9913afd1eb Update target platform to Release repo for Orbit
The S builds have been removed.

Change-Id: I53616d38ba497097d55605f73b45d7c2f36c357b
2017-08-15 11:51:43 +01:00
Doug Schaefer
0880413e98 Bug 516836 Terminal support for Arduino.
Add Arduino Serial Monitor as a Terminal Connector type. It uses the
Terminal's new cdtserial connector for communication and adds a
config panel that lets you pick the Arduino remote connection to
auto select the serial port. Also switched the Arduino launch
to fetch the serial port out of the global registry to pause and
resume the port while launching. The Terminal does not use the
remote connection to get the serial port.

Note: also adding the terminal as a dependency for builds. Yes,
further adds to our build cycle, but we're dealing with it so far
with o.e.remote.

Change-Id: I5a7cc9ffbf8ae60cd86e0e5440547d12202acbac
2017-05-23 16:41:00 -04:00
Marc-Andre Laperle
a06ad70d0a Bring back some pom.xml from features
Those features have the exact same id and groupid than a plugin
which throws off SonarQube with:
"Two modules have the same id: 'org.eclipse.cdt:org.eclipse.cdt.util'.
Each module must have a unique id."

In the pom.xml, we can specify a different groupid which resolves the
problem. Alternatively, the feature id could have been changed but that
would break upgrades.

Change-Id: Ib2912ad854a3af431b96f89a6ead1bcb6d06ba60
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-04-18 22:49:39 -04:00
Marc-Andre Laperle
a0098bb2c7 Adjust path exclusion when deleting repo so that it doesn't delete rcp
There was an attempt to not delete the rcp*/ folders when deleting the
repository folder but it left the folders empty. The updated pattern
seems to work correctly.

Change-Id: Ibb0e399044d87ad2374fe2f0f96e1f7eaf70bcd0
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-03-19 19:48:13 -04:00
Marc Khouzam
4fe701bcf7 Don't delete the rcp and rcp-repository directories
When building o.e.cdt.repo we used to delete the
entire directory in which we put the build result.  However, it is
possible that the Standalone debugger was built before o.e.cdt.repo and
already put the valid rcp and rcp-repository directories in that
location.  We therefore should not delete those.

Change-Id: I5d1608bceb48633f2205af8f8282e884ff223351
2017-03-16 13:29:50 -04:00
Marc Khouzam
0d62978ce7 Update some target dependencies
Change-Id: Ib0b8ae4f5be2538edc1a7be37a356b415042d578
2017-03-15 05:15:09 -04:00
Marc-Andre Laperle
793955eb12 Fix script permissions to executable
Change-Id: I13b869f0f3d2a8a7696732e3827bc53e159cb41f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-15 10:05:18 -04:00
Alexander Kurtakov
3744029d4e Update Maven build machinery.
* Build helper maven plugin 1.12 -> 3.0.0
* Jacoco 0.7.7 -> 0.7.9
* Resources plugin 3.0.1 -> 3.0.2
* PMD pugin 3.6 -> 3.7

Change-Id: Ia98aaa4e7d4d9edb7ff27435da8fb1c8811ecd0c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-02-14 10:54:17 +02:00
Marc-Andre Laperle
0046099052 releng: Make use of Tycho POM-less functionality
This removes a lot of pom.xml from the source tree. This is using the
"POM-less" Tycho functionality.
See
https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds

One advantage of this is that you do not need to update the version in
the pom.xml when you change it in the MANIFEST.MF because the pom.xml is
automatically generated. This also reduces a lot of the duplicated
information and pom.xml repetition.

- Maven 3.3 and up is required.
- Only eclipse-plugins and eclipse-features can be pom-less.
Repositories, target and others still have pom.xml.
- New parent poms are added because a parent is necessary directly one
level above the plug-in/feature that will have its pom generated
- Some test plug-ins had to be renamed .test -> .tests because it's
required so that it detects that it's a test plug-in
- Some suites were renamed so that they all use the same consistent name
"AutomatedIntegrationSuite"
- Profiles were added for the more common test configurations. They are
activated by the presence of simple .properties files that only serve to
activate the correct profile. The profiles:
  - One for UI tests (UI present and start in UI thread)
  - One for SWTBot tests (UI present and do not start in UI thread)
Other test plug-ins that are too different are kept intact and still
have
a pom.xml
- Fragments are kept intact since they all have different target
platform configurations

Change-Id: I9d73380eb766f547830c552daf08053a30b1845c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-13 23:19:56 -04:00
Marc-Andre Laperle
bd5cec12a8 Remove AIX support
Eclipse 4.7 removed AIX support so CDT should also remove it.

Change-Id: I9ed50a4c47e7b861eb2adeb86e857d2a78b4834b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-05 21:16:48 -05:00
Marc Khouzam
d45c67967a Update orbit for M5 build.
Change-Id: I5217680ff4a692fb2493218fe742d31c6c39d0d2
2017-01-30 11:53:05 -04:00
Marc Khouzam
8d0a0717e2 Auto-generate source features using tycho.
This commit removes explicit source features and has tycho create them
automatically, along with all other source features that were not
previously defined.  The logic to auto-generate is in the root pom.xml

For all pre-existing source feature, the name presented to the user has
been changed to use the default name used by Tycho, which is "Developer
Resources".  This will provide a more standard user-experience with
respect to other source features built by Tycho.

Existing SDK features are kept for backwards compatibility.

All the names of the auto-generated source features that replace an
existing source feature have stayed the same except for the
'testsrunner' feature; for that one name change, a p2.inf file is added
to allow upgrading from the old named feature to the new named feature.

Change-Id: Ie632e798c93898fd828f88df4983fc43e2749d22
2017-01-25 16:14:03 -04:00
Marc-Andre Laperle
d9fd9df16e releng: Update outdated maven plugins. Add script to check for outdated
Change-Id: I6acd451596824584a5c4a29cab72e6eb127d4123
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-24 16:38:38 -04:00
Marc-Andre Laperle
fa86617aec Use Oxygen by default in Oomph setup
Change-Id: I38526b951ac9b7350391e133512cb08c7c075449
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-23 12:48:11 -05:00
Marc-Andre Laperle
23772b2dde Update Oomph setup for Oxygen
Change-Id: I66e71fc2b5963f864e2c3f80b5b2de0d749d3c1a
2017-01-23 12:57:24 -04:00
Marc Khouzam
dfcc0962d3 Updating baseline for CDT 9.2 (RC4)
Change-Id: Ic76e7e567b69901e93c80634413df23449257138
2016-12-14 13:46:46 -05:00
Marc Khouzam
cf2e9fe3c8 Remove dependency to cdt-master from CDT's target file.
The CDT does not need to depend on itself.
I believe this dependency was added while troubleshooting another
problem.

Change-Id: Ic79cc8c00c67f323198bb49d1596e4d254bbd924
2016-12-09 09:57:10 -05:00
Marc Khouzam
17ed6bead8 Update target platform to point to oxygen
Change-Id: Ia5a817e77c128802bf6274e061ff8798a3e1a2cc
2016-12-08 12:56:28 -05:00
Doug Schaefer
5ba9115c5d Put the Arduino and CMake features into the extra categories.
Change-Id: If371f6bc05aba1ac54221153ec0223a5dde11c56
(cherry picked from commit e88f5d7321)
2016-11-17 19:01:29 -04:00
Marc Khouzam
a39620356c Update p2.inf for 9.3 release
Change-Id: Ia9447fb5845f63da345af084e6cf191eeafc7d6f
2016-11-15 20:50:11 -05:00
Marc Khouzam
8cf5ed53f2 Update version to 9.3.0
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15 20:32:51 -05:00
Marc Khouzam
d7b8286b69 Update p2.inf for 9.2 release
Change-Id: I6d458a1598d21d1cc7f25aa13479f8f30e16adfb
2016-11-15 21:05:18 -04:00
Marc Khouzam
334777eb6e Update version to 9.2.0
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-11-14 23:50:05 -05:00
Roland Grunberg
5d6f8c3b2b Bug 507078 - o.e.cdt.launch.remote.source should be in separate feature.
The org.eclipse.cdt.launch.remote feature is the only non-source,
non-sdk feature to include the corresponding source plugin for it's main
provided plugin. An org.eclipse.cdt.launch.remote source-feature should
be created to provide the source plugin.

Change-Id: I2e396270f0d19f023e75452c316da0e4eda495b1
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
2016-11-04 14:58:12 -04:00
Marc Khouzam
23f68c6c35 Update cdt-baseline to point to final release of 9.1
Change-Id: I728b2a869c9a5e7fe62b6f08578b17c924296a66
2016-10-12 15:22:47 -04:00
Marc-Andre Laperle
04e31e3fae releng: Use composite Orbit repo to get all orbit dependencies
This allows us to get the dependencies from one place and also this
update site is more stable as it is not updated very frequently.

Change-Id: I40de8fd0535270959ccad7b02c9d57aae765bc79
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-06 12:13:43 -04:00
Marc Khouzam
158bff7ed4 Updating baseline for CDT 9.1 (RC4)
Change-Id: I80176f433cac1796a62b4cf7ad5ffdeeb2f45c4f
2016-09-19 15:22:31 -04:00
Marc Khouzam
10381a74e4 Bug 303808: Remove dependency on o.e.tm.view.*
The streams connector provided by TM was located in the o.e.tm.view.*
plugins which bring in the terminals view.  This patch implements our
own streams connector so that we don't have this extra dependency.

Change-Id: If2a8bdfbdd87eb9ec5c42180a372634e322ba1c1
2016-09-13 13:30:57 -04:00
Marc Khouzam
0caa750ef0 Bug 303808: Support for full GDB console
This patch provides a full GDB console in the standard Console view.
The full console is disabled for Windows due to PTY limitations.

The new console will be triggered automatically when using GDB 7.12 (or
its pre-release) and running on Linux.

Known issues with this patch:
- Cloning the console view breaks the console
- Pinning the console view is not supported
- Interrupting execution in all-stop mode fails with the new console
- Pagination causes some events to be lost (all-stop only)

Change-Id: Iee6ef5228ca17bd829eb743cb41a142afe6714dc
2016-09-07 15:23:47 -04:00
Marc-Andre Laperle
cd563c3d00 Update build-helper-maven-plugin to lastest version
Just keeping up with the latest.

Change-Id: I72a42b8190067a5ad25576552fb408d2aea4212c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-28 22:33:00 -04:00
Marc-Andre Laperle
84a7eefeb2 LLDB: Add LLDB feature and add it to update site
Bug: 405670
Change-Id: Iee51790de4450c823e3ce773360dc92bd0189c6b
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-19 10:29:03 -04:00
Doug Schaefer
4afa9e24da CMake updates. Clean, error parsers, add to category.xml.
Make CMake public with the change to category.xml. It's getting close
to being usable in 9.1.

Change-Id: If3e80aa5d5314cb42bbf0d253157d7ecb7d13046
2016-08-17 15:30:45 -04:00
Marc Khouzam
cd559dafaf Update version to 9.1.0
This commit used the script releng/scripts/ChangeFeaturesVersion.sh

Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-17 10:11:57 -04:00
Doug Schaefer
9982b67c76 Add GSON to our p2 repo.
We should redistribute our dependencies from Orbit. GSON was missing.

Change-Id: I6818ea3d9990bcdee03cadf33d815c186b6127b4
2016-08-11 15:06:23 -04:00
Alvaro Sanchez-Leon
035520ee89 Add org.eclipse.cdt.testing.feature.source
Change-Id: I4b7b50129fadc6471d484c9ca970a246da0fe9b6
2016-07-28 15:11:15 -04:00
Marc-Andre Laperle
8f2799fa91 Update outdated Maven plugins
Change-Id: I182e129efb5c464520c83fb5fb9de1df2ec6e857
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-25 00:36:22 -04:00
Doug Schaefer
29303b6a20 Set API baseline to point to /r build. Add templates framework. 2016-07-18 14:27:57 -04:00
Eduard Scheske
ce79667a65 Bug 498019 - Oomph setup fails
Change-Id: Ib5f77bd710054b6408ec48c0c4f23c9af9a03884
Signed-off-by: Eduard Scheske <eduard.scheske@googlemail.com>
2016-07-18 11:14:31 +02:00
Marc-Andre Laperle
19d7a44ada Add o.e.ui.trace to Oomph setup
So that it can find the org.eclipse.ui.trace.traceComponents
extension point.

Change-Id: Iad5916a39551a543e76604efbe9b73d30b5a89c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-15 14:56:46 -04:00
Alexander Kurtakov
18f13d204e releng: Move target file to Platform 4.6 final from milestones
Change-Id: Ifcfed06701c1a4a3f7da08104b5654e16785d35d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-11 02:02:05 -04:00
Marc-Andre Laperle
492fc0a164 Update Oomph setup for Neon release
Update API baseline and update targlet.

Change-Id: Ie693f5401f226d4d9a679b75f0c105d4542c54a6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-06 10:17:06 -04:00