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

1286 commits

Author SHA1 Message Date
Jonah Graham
1fbd271b0c [releng] Use final locations for Platform build
This is the last part of finishing up 11.0.0 release, the Platform
I-Builds will be deleted soon so we point to the same versions
of those dependencies in their permanent locations.

Part of #77
2022-12-07 15:55:29 -05:00
Jonah Graham
fb081b9975 Fixup "CDT 11.0 p2 composites on download.eclipse.org"
This file wasn't saved in my editor before I pushed the
original commit
2022-12-07 14:59:21 -05:00
Jonah Graham
028eabcaa1 CDT 11.0 p2 composites on download.eclipse.org 2022-12-07 14:34:20 -05:00
Jonah Graham
74f321cbca Migrate run-dash-licenses from cdt-infra to main CDT repo 2022-11-29 14:15:25 -05:00
Jonah Graham
9ab0f2f256 [releng] 2022-12 RC2 dependency versions
Part of #77
2022-11-29 08:09:57 -05:00
Jonah Graham
1b19ba20c2 Update to latest Eclipse Platform and Orbit
Includes logging changes/simplification brought on by
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/588
2022-11-21 19:05:08 -05:00
Jonah Graham
3f682d7b00 Update to latest Orbit which means new mockito version
Note that FileBasedErrorParserTests had to change because of some
Tycho incompatibility with JUnit's ParameterizedTest. It works
in the IDE, but not in maven.

The correct fix is to resolve the tycho settings, see Bug 569949
for a previous example. It may also be simply resolved by updating
to Tycho 3.0.0. However I want to get this change in as
at the moment CDT.setup is broken and that is impeding developers.
2022-11-14 16:04:19 -05:00
Moritz 'Morty' Strübe
848ce9c10b cleanliness.sh: Exit if stash is needed 2022-11-11 11:34:04 -05:00
Moritz 'Morty' Strübe
76fe5e6e2d Make running code cleanliness less painfull
* Only check for modifications in tracked files
* Tell the user to stash stuff, before running
2022-11-11 10:41:08 -05:00
John Dallaway
fa14e99ff8
Workaround EASE 0.9.0 headless startup issue (#156)
We register org.eclipse.cdt.codan.internal.ui.cxx.Startup with EASE to
avoid triggering bug 580960.
2022-11-10 19:37:21 +00:00
Jonah Graham
1893069eb5 Remove unmaintained LSP and DAP support from CDT
Fixes #139
2022-11-09 19:47:22 -05:00
Jonah Graham
a3a6682faa Lower build.properties errors to warnings for some projects
Some projects build some of their bin includes with maven
build, so remove the error in those cases.

fixup for 6eaaf714cc
2022-11-07 23:13:26 -05:00
Jonah Graham
6eaaf714cc Upgrade build.properties warnings to errors
Warning in build.properties will be errors when they run
in the tycho build, like this:

```
Error:  Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.7.5:package-plugin
(default-package-plugin) on project org.eclipse.cdt.core.tests:
/home/runner/work/cdt/cdt/core/org.eclipse.cdt.core.tests/build.properties:
bin.includes value(s) [test.xml] do not match any files. -> [Help 1]
```

So make them errors in the workspace so that the issue is
detected before push.

Some build.properties issues don't affect the build, but
are still indicative of a problem.
2022-11-06 18:29:28 -05:00
Jonah Graham
8ab702fec8 Lower missing PDE unknown-identifier to warning for this bundle
Because the reference is to a TCF defined identifier, make
this just a warning because CDT does not have TCF in its
target platform.
2022-11-04 08:19:23 -04:00
Jonah Graham
211bdec58e Remove old, non-universal welcome screen content
Fixup for 8fd15a66d1
2022-11-04 08:19:23 -04:00
Jonah Graham
1f19cff227 Make missing identifiers and classes in plugin.xml errors
Subsequent commits fix the errors
2022-11-04 08:19:23 -04:00
Jonah Graham
75c779fc1d Remove non-functioning Qt plug-ins
Fixes #123
2022-10-29 18:56:47 -04:00
Alexander Fedorov
fd256d59d5
Merge pull request #107 from eclipse-cdt/setup_workspace_fix
CDT.setup working set definitions: fix swapped LSP and LLVM
2022-10-25 19:41:19 +03:00
Alexander Fedorov
6610de9e66
Merge pull request #106 from eclipse-cdt/setup_add_shortcut_to_configuration
org.eclipse.cdt.target should have shortcut for CDTConfiguration.setup
2022-10-25 19:36:40 +03:00
Moritz 'Morty' Strübe
a60fc2b1b4 Add sanity checking and doc to do_format_code.sh
This should lower the hurdle to make the CI happy.
2022-10-19 12:15:21 -04:00
Alexander Fedorov
4887cd3bc6 CDT.setup working set definitions: fix swapped LSP and LLVM
Fix working set predicate patterns for "CDT LLVM" and "CDT LSP"
2022-10-18 10:05:31 +03:00
Alexander Fedorov
bb00ccad08 org.eclipse.cdt.target should have shortcut for CDTConfiguration.setup
Added shortcut to CDTConfiguration.setup in order to resolve validation
problems in CDT.setup
2022-10-18 09:42:56 +03:00
Jonah Graham
06c8b01d83 GitHub Action for Code Cleanliness Check
This commit runs GitHub actions for code cleanliness.
Because this includes compare and replace build,
this verifies that the commit is buildable and
clean.

The natives are not rebuilt here (yet) because
the GitHub actions runner does not have the
cross compiler tools installed.

Part of migration to GitHub - Issue #32
2022-10-09 12:14:53 -04:00
Ed Merks
34bdc2def1 Fix broken working set references in the CDT.setup.
The previous "Remove double blanks from working set names" broken the
references because there a space is encoded as %20.
2022-10-06 08:59:55 -04:00
Michael Keppler
bd870d0c49 Remove double blanks from working set names 2022-10-04 06:56:04 -04:00
Jonah Graham
bbf3baa71a Roll back platform to avoid Job scheduling issue
The 2022-12 M1 build from Platform may have a regression that is causing
CDT build to fail more often due to deadlock in the indexer.

This commit uses 2022-09 R build of Platform to avoid the problem.

Note that this won't resolve the issue in Platform, but will allow
CDT to be built.

Fixes #81
2022-10-03 20:41:12 -04:00
Jonah Graham
7ca0dfd031 Add projects missing from API baseline to the baseline 2022-10-03 12:42:37 -04:00
Jonah Graham
ab3b819156 Remove API tooling from projects that are not part of our release 2022-10-03 12:42:37 -04:00
Jonah Graham
487dfc7163 Move check-maven-plugin-updates job to main CDT repo 2022-10-03 12:42:37 -04:00
Jonah Graham
110ac149c2 [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
Jonah Graham
e204bee657 [releng] Update to 2022-12 M1 target platform 2022-10-03 12:42:37 -04:00
Jonah Graham
e47a150db8 Remove old m2e connectors
With m2e upgrading to 2.0 in 2022-09, the old m2e connectors
don't work anymore and generally aren't needed either.
2022-09-26 14:31:13 -04:00
Jonah Graham
45f7fd7079 Correct path to promote script 2022-08-22 19:31:40 -04:00
Jonah Graham
8b0ea1fd07 Default to not publish standalone
As we don't publish it anymore normally, make that the default
2022-08-22 18:10:12 -04:00
Jonah Graham
4d41a5df89 Use standard filename extension for releng template
This file is hardly (if ever) used anymore, but lets make it
fit in well with the rest of CDT
2022-08-22 18:09:22 -04:00
Jonah Graham
10dbee9110 Make shell scripts executable 2022-08-22 17:55:50 -04:00
Jonah Graham
5d40878d1b [releng] Prepare for CDT 10.7.1 downloads 2022-08-22 17:43:40 -04:00
Jonah Graham
b334b94bae [releng] Migrate promote build releng to main CDT repo 2022-08-22 17:43:40 -04:00
Ed Merks
ccdd9b2c99
Simplify the API baseline target (#42)
Also simplify the corresponding API baseline targlet in the setup

https://github.com/eclipse-cdt/cdt/issues/39
2022-08-22 11:54:05 -04:00
Ed Merks
4e40dda89f Improve CDT's setup
Include a configuration, simplify the targlet for the target platform,
and enhance the working sets based on folder structure.

https://github.com/eclipse-cdt/cdt/issues/39
2022-08-12 12:04:56 +02:00
Jonah Graham
511a920e01
Add org.apache.commons.io to CDT's p2 site (#25)
See https://github.com/eclipse-cdt/cdt/issues/21
2022-08-11 17:08:54 -04:00
Ed Merks
5481522e1f
Bug 580505 - Fix and improve CDT.setup (#34)
Don't install org.eclipse.pde.api.tools.ee.feature.feature.group because
it's no longer in the latest update site, and that causes problems like
this one as noticed by a user:

https://www.eclipse.org/forums/index.php?t=msg&th=1111320&goto=1854139&#msg_1854139

Move all the tasks up to the project level.

Include a * requirement on the CDT targlet so that all projects are
imported by the targlet task with no need for a separate import task.
Probably many of the explicitly listed requirements are no longer needed
because all requirements of all projects in the clone are resolved now
automatically.  Also ensure that all platforms are resolved so that all
of CDT fragments are imported.

Move the Git clone task before the modular targlet task so that the
clone is available during the first resolution.

Add an EclipseIni task so that the CDT.setup is redirected into the
local clone's version such that you can modify that setup and test it
locally via Help -> Perform Setup tasks (and so that Navigate -> Open
Setup -> CDT opens the editable workspace version).

https://bugs.eclipse.org/bugs/show_bug.cgi?id=580505
2022-08-11 12:07:53 -04:00
Jonah Graham
1c8c96c239 Move the disable intro ini out of root of repo
The root files in GitHub are a bit more prominent, so keep
that area clean and move this special ini to a subdir.

Change-Id: I12d95727e9dad29ebe4f50d47faa9e98753a52bc
2022-08-04 12:23:12 -04:00
John Dallaway
cb8a85596c [releng] WWD releases now require Java17, downgrade WWD version
Change-Id: I6476d206252fbbb7de38a1a302d3544ab41bb40a
2022-07-12 15:13:02 +01:00
Jonah Graham
b803ce0a3d [releng] Docker snapshots now require Java17, downgrade Docker version
Change-Id: I14df686bc1a601187b77184fb402a48cd32d040f
2022-06-26 21:17:41 -04:00
Jonah Graham
793af86603 [releng] Released dependencies of 2022-06
Change-Id: Ia6a0c10c60075d9c7e5ef878db51bd767e5656de
2022-06-15 09:38:59 -04:00
Jonah Graham
b9dd4673a7 [releng] Update to 2022-06 RC2 dependencies
Change-Id: Idcd66f7e250790e904ccc7d3f0bc10aaf1eea093
2022-06-08 13:02:42 -04:00
Jonah Graham
a60ea13d40 [releng] WWD snapshots now require Java17, downgrade WWD version
Change-Id: If312d62984fd0560a691f6fbcea975123073bad1
2022-06-03 08:52:36 -04:00
Jonah Graham
450dbf0d57 [releng] Update to 2022-06 RC1 dependencies
Change-Id: Iad4f44060d3b913a648a598a9067ba47e8f19f48
2022-05-30 18:28:28 -04:00
Jonah Graham
9b05a213eb [releng] Update to 2022-06 M3 dependencies
Change-Id: I138dccb36f84975f38b2f8123e24d5ad1714e9f1
2022-05-24 13:58:13 -04:00