Commit graph

126 commits

Author SHA1 Message Date
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
8c02478e71 Update to Tycho 1.0.0
useProjectSettings is now true by default so it can be removed.

See https://wiki.eclipse.org/Tycho/Release_Notes/1.0.0

Change-Id: I63256423942d11b94acb2eba11afe76eb62a9b91
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-13 15:04:49 -04:00
Marc-Andre Laperle
95e05f485d Remove profiles that helped skip ppc64le
Those profiles were useful when keeping compatibility with Eclipse 4.5
but this is not required anymore.

Change-Id: Ic9ef7beecee1b5bd072ec192048ab409b19844c9
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-02-08 09:51:43 -05: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
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 Khouzam
8cf5ed53f2 Update version to 9.3.0
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15 20:32:51 -05:00
Marc Khouzam
334777eb6e Update version to 9.2.0
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-11-14 23:50:05 -05:00
Dominic Scharfe
56c496ba5a Bug 507148. Fixed opening/switching to editor.
- Reuse the TU from the open editor if present, otherwise load it from
workspace
- Added test plugin org.eclipse.cdt.codan.checkers.ui.test

Change-Id: I725b7b8e462ffba39dd6c9a828ab72dd58f86b1f
Signed-off-by: Dominic Scharfe <dominic.scharfe@coseda-tech.com>
2016-11-11 11:18:55 +01:00
Alvaro Sanchez-Leon
c0d53c2cc9 Removing stand alone swtbot test module from build
This hanging needs to be investigated/fix before re-enabling
this needs to be done as it impacts every single verification build

Change-Id: I66d5e46773c4f816dd09268fdd55a7495755375e
2016-11-02 12:49:17 -04:00
Alexander Kurtakov
310a13309b releng: Build with Tycho 0.26.
Move build to Tycho 0.26 which uses Neon final bits.

Change-Id: Ic28684beab2c2c6d7fa5892248bd6c39daf384ff
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-08-23 16:22:28 -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
Marc-Andre Laperle
5e32334aa0 LLDB: Add support for local debugging of new processes
This commit adds support for debugging new processes launched locally
using the LLDB debugger (lldb-mi). The minimum version supported is
LLDB 3.8.

Preliminary documentation on how to set it up is available here:
https://github.com/MarkZ3/Eclipse-CDT-WIP/issues/9#issuecomment-236483223

Bug: 405670
Change-Id: If46543e974e2f19c45ab3bba088eab35fe737077
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-08-18 10:47:33 -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
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
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00
Marc-Andre Laperle
e18d408cb3 Sign the stand-alone debugger on Mac
The mac signing has to happen between materialize-products and
archive-products goals. Because we only want to do it when the
production profile is enabled (eclipse.org server), we have to duplicate
some xml to fit the macsigner between the two. I did extract some
variables in order to make the duplication less error prone.

Change-Id: I523c287c0e1dff15026e1007fa2831af6d14003a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-06-01 23:13:56 -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
Marc-Andre Laperle
d608db2e7a Update outdated maven plugins
See
https://hudson.eclipse.org/cdt/job/cdt-check-maven-plugin-updates/61/console

Change-Id: I81ebfc67e86d5ea851bdc026769976c54c371202
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-24 13:55:41 -04:00
Marc-Andre Laperle
869801b95b Upgrade to Tycho 0.25.0
See https://wiki.eclipse.org/Tycho/Release_Notes/0.25

Change-Id: I6c4c7dd82c2786fe6acd01bbcdca19cc2f2c84ae
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-20 14:55:52 -04:00
Doug Schaefer
6e1b9b408d Tighter integration of new build system with cdt.core.
Move the new build system to cdt.core and remove the previous
plugins. Hook the new system into scanner info and environment
variable manager.

Clean up API in preparation for Neon and API lockdown. Hook up
Qt to the new APIs.

Add discovery of MSYS2's toolchain and Qt and Qt's MinGW toolchain.

Change-Id: I85b1a91da4a44e86f0e9da9310f8106c894623e0
2016-04-14 16:19:37 -04:00
Marc Khouzam
d11328fb9c Remove p2 plugin
Change-Id: I5a2dcb281c8d3596aca97c0df0f2cc76997a39fa
2016-03-14 10:19:21 -05:00
Jonah Graham
ff7f25b94d Bug 484900: Remove Majority of CDI classes
This is the first change to remove CDI from CDT. The CDI model
implementation is removed along with everything that directly
depends upon the implementation.

This commit does not include refactoring or moving classes. The few
insertions are the minimum necessary.

Change-Id: I80274e1a0d77bc7bb00a2afe4babc00c4f7613ae
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-03-08 19:18:05 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Marc-Andre Laperle
0d52c4ab82 Clean-up and use a single target file
Old targets were not working anymore. Also, rename the 4.6 target to
just cdt.target because there is only one that is primarily used.
This should be less confusing to new-comers.

Change-Id: Iaa45fbc5d91cfb47e7e60e549469e74dc5ffe369
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-01-06 20:36:15 -05:00
Doug Schaefer
6f36a51b5b Bug 174176 - initial contrib of CMake support.
Change-Id: I7f0417bd92415aa9abb24ebabe849d9e4f75cea5
2015-12-04 20:30:44 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Alexander Kurtakov
e0616d97b0 Stop setting MaxPermSize.
Ignored on Java 8 which is min required version.

Change-Id: Ib133bdeaccd56512e87958ec18c0865d50a9f8d7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-13 15:02:49 -05:00
Alexander Kurtakov
85bb1512f9 autotools: Drop old Linux Tools compat bundle.
People that would have migrated did it in the last 4 years it is no
longer even known whether this is of any use anymore so better to drop
it now that there is major release on the horizon.

Change-Id: Ic68606582b426be10125fe6a6de345358fc57755
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-11-13 19:27:39 +02:00
Doug Schaefer
67f78c8094 Remove the ANTLR based QML parser. We're planning on tern.js instead.
The prototyping of a tern.js based QML parser and semantic analyzer
is working out well. We are proceeding with that for now and are
removing the ANTLR based QML parser we were thinking of to clean
things up.

Change-Id: I5b9894ade1904d017709542ef23d1f80c4886e45
2015-11-06 15:26:37 -05:00
Marc-Andre Laperle
5eaf1129a5 Upgrade to Tycho 0.24.0
See https://wiki.eclipse.org/Tycho/Release_Notes/0.24

Change-Id: I643c3e47ebc74b8cae468bf4d913566dc79e7bf7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-11-03 15:51:03 -05:00
Doug Schaefer
7cf2a14cc9 Move QML stuff to qt.core plug-in. Add deps for ANTLR, FreeMarker.
Moves to the cdt 4.6 platform where the new ANTLR and Freemarker deps
will be. Also properly names the qt test plug-ins.

Change-Id: I026873583c6e6ca7602cb983ab04f99acd700a4b
2015-09-30 08:22:59 -04:00
Marc-Andre Laperle
a4d67b9eaa Update Tycho to 0.23.1
See
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#Milestone_0.23.1

Change-Id: I63a7204ab5f79194c24c69783da44a046f50d81c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-24 13:34:41 -04:00
Marc-Andre Laperle
f97822d433 Update tycho-eclipserun to use Eclipse 4.5 instead of 4.4
That way we have less dependencies to download at build time.

Change-Id: I2caf9e7dfb98578ef376673bf2db749622d42289
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-23 17:11:26 -04:00
Marc-Andre Laperle
0246be9a04 Bug 478074 - Maven builds don't show same error as Eclipse
Change-Id: I48d1cae2d0b4a386cb805259218046c175d2c7c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-22 16:45:47 -04:00
Colin Leitner
23833f697e Bug 472767 - Add support for Test Anything Protocol test runner
Change-Id: I3da84f0bdf46ca5082638ec7a6540df82f2cda63
Signed-off-by: Colin Leitner <colin.leitner@gmail.com>
2015-07-20 20:42:26 -04:00
Marc-Andre Laperle
6730366662 Upgrade to Tycho 0.23.0
Change-Id: If46a379b55d533eb2d963f626ebadab6addd5135
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-07 13:43:47 -04:00
Thomas Corbat
f52f4494e9 Bug 470361 - Remove 32 Bit MacOS X Environment from Build
Change-Id: I19654cff05b011ae13404d0d52c3b5fc1ab73a37
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-06-17 10:10:30 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc-Andre Laperle
3a3557f65d Upgrade jarsigner to final 1.1.2 release
Change-Id: Ia68714d4e8dd75512d6ade2f6015c1fe4be7e2d3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-06-04 09:58:36 -04:00
Marc-Andre Laperle
45abca9bdb Bug 460167 - RCP for the Stand-alone debugger
This patch creates a product so that the stand-alone can be downloaded
without
the rest of the C/C++ EPP. It also makes it easier to use because the
user only
has to launch the executable, just like a regular Eclipse instead of
finding
the script.

To try the RCP:

mvn clean package -Pbuild-standalone-debugger-rcp

The result (tar.gz) is available under
debug/org.eclipse.cdt.debug.application.product/target/products
Once extracted, it can be started just like the normal script:
./cdtdebug -e myexecutable

Change-Id: Ifb849af8a8f2ec03abcae57cf43d57cde2333759
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-05-19 14:29:06 -04:00
Jeff Johnston
56032058d2 Add Docker launching support
- use the new docker tooling plug-ins to launch and debug
  CDT C/C++ applications in docker containers

Change-Id: I30689255a3443ce6d49f937f5e2506d86452915b
2015-05-19 13:53:27 -04:00
Marc Khouzam
682cca6717 Revert "Point cdt_8_7 build to its own location"
This reverts commit 4714a3bf59.
2015-05-11 15:57:08 -04:00
Marc Khouzam
4714a3bf59 Point cdt_8_7 build to its own location
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-11 15:56:40 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Doug Schaefer
076e141b69 Bug 466209 - Initial commit of Arduino plugins.
Includes freemarker jar which we have CQ approval for.

Change-Id: I8f36cd7f4539497bab5f106f84216f75a25da3a0
2015-05-04 16:34:10 -04:00
Marc-Andre Laperle
0ad4b3660a Upgrade eclipse-jarsigner-plugin to 1.1.2-SNAPSHOT to fix build failures
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=464947

Change-Id: I1945de8de4f7ea62949743d919f0db0a73635e2a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-04-28 11:05:14 -04:00
Marc Dumais
9cc312e1fe Bug 462353 - [visualizer] Add support for persistent List<T> and
Map<String,T> parameters in PersistentSettingsManager

Change-Id: I77fc411e7484e41a9b66bf388a4120bc51a78549
2015-04-17 14:59:36 -04:00
Doug Schaefer
6993415180 Bug 459971 - Move serial port to it's own plug-in. Starting with Mac.
There are a number of requests to support serial port independent of
CDT and independent of Eclipse. Putting the serial port into it's
own plug-in so it's jar can be loaded into pure Java apps.

Change-Id: I9b35d9bedeee0a0b1c16ad1c884830894320a726
2015-04-06 19:39:30 -04:00