1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00
Commit graph

966 commits

Author SHA1 Message Date
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
Marc Khouzam
f38cbb85c3 Remove old .cvsignore files
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-30 09:58:00 -04:00
Marc Khouzam
45b1ecd1c3 Update baseline to point to final release of 9.0
Change-Id: I962afe208f6bd7203a54c8b914a0d77610ee6721
2016-06-27 15:59:09 -04:00
Marc Khouzam
3e2d6a4c7f Updating target to RC4 until release is ready
Change-Id: I9ce789260f997279044f2f54bc03dbd8a561f1e8
2016-06-20 09:15:07 -04:00
Marc Khouzam
ffbc33fa54 Add script to change java version
The script is quite basic.  It does not even take parameters.
However, considering it will be run probably once every three
years, I felt it was sufficient.

Change-Id: Ic2b533758529f393d6e37c010f0a5cb666e84b53
2016-06-20 09:13:36 -04:00
Marc Khouzam
7b0d10e510 Update p2.inf for 9.1 release
Change-Id: I86b0295b33ced43028dd066c7611b2adc04da9a3
2016-06-07 13:10:58 -04:00
Marc Khouzam
cc2e7dc5b0 Update Orbit for Neon
Change-Id: I631d0e768bc17890a2147b16138b5a57152947d1
2016-06-06 15:49:29 -04:00
Marc Khouzam
cdbf45f53c Update baseline to 9.0 RC3 until the final release
Change-Id: I35d7ba3ce676aacf960c9a83e2cb3f8cd4a7f482
2016-06-03 12:42:32 -04:00
Alvaro Sanchez-Leon
0b93e8116e Bug 452356 - C/C++ remote launch uses o.e.remote - explicit dependency at feature level
Adding an explicit dependency to o.e.remote at feature level,
so the dependecies are loaded at the installation of the
launch remote feature

Change-Id: I90f6bd29cd1b6f2efc46e241520621bbd256ffef
2016-04-29 17:46:25 -04:00
Marc-Andre Laperle
c5c2770c93 Remove Solaris Sparc support
Solaris Sparc support was removed in SWT therefore it cannot be
supported by CDT anymore.

Change-Id: Ic40f55632023fd77fd164d3e48b5ca06835c3a31
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-29 14:40:54 -04:00
Doug Schaefer
7ca2032810 Add templates.core to target. 2016-04-28 14:16:30 -04:00
Doug Schaefer
7139dc2f1e Modernize Arduino plug-ins. Adjust APIs to suite.
Change-Id: Ic877c8f0992874e647d4b464502165d7bd3ebe0e
2016-04-28 11:14:07 -04:00